View unanswered posts | View active topics It is currently Mon Apr 06, 2020 1:24 am



Reply to topic  [ 4 posts ] 
 Errors in #include directives 
Author Message

Joined: Tue Apr 19, 2011 3:35 pm
Posts: 5
Location: Bremen, Germany
Post Errors in #include directives
Hi again,

some of the include directives in /usr/local/include/GLC_lib/ are faulty:
Code:
/usr/local/include/GLC_lib$ grep "#include <.*/.*.h>" *
GLC_Octree:#include <sceneGraph/glc_octree.h>
GLC_OctreeNode:#include <sceneGraph/glc_octreenode.h>
GLC_SpacePartitioning:#include <sceneGraph/glc_spacepertitionning.h>
GLC_StructInstance:#include <sceneGraph/glc_structinstance.h>
GLC_StructOccurence:#include <sceneGraph/glc_structoccurence.h>
GLC_StructReference:#include <sceneGraph/glc_structreference.h>


Instead of the pointy braces it should be quotes:
Code:
#include <sceneGraph/glc_structoccurence.h>
should become
Code:
#include "sceneGraph/glc_structoccurence.h"

All the other files in this directory use quotes.

Thanks,
Frederic


Sun May 01, 2011 3:54 pm
Profile WWW
Site Admin

Joined: Sun Jan 03, 2010 4:27 pm
Posts: 390
Post Re: Errors in #include directives
Thanks a lot to contribute to GLC_lib project. :D

You are a great tester !

@+


Wed May 04, 2011 7:39 pm
Profile

Joined: Thu Jan 06, 2011 12:55 pm
Posts: 6
Location: Sophia-Antipolis, France
Post Re: Errors in #include directives
Also related to includes: there is a typo in glc_light.cpp:
Code:
#include <QGlContext>

should be:
Code:
#include <QGLContext>

(uppercase L in GL).

Windows and MacOSX have no problem but Linux is fully case-sensitive.

--
Jerome


Wed Jul 27, 2011 9:34 am
Profile
Site Admin

Joined: Sun Jan 03, 2010 4:27 pm
Posts: 390
Post Re: Errors in #include directives
Thank you Jerome,
The problem is fixed.

@+


Thu Jul 28, 2011 8:07 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.