GLC_lib & GLC_Player Forums

Errors in #include directives
Page 1 of 1

Author:  Frederic [ Sun May 01, 2011 3:54 pm ]
Post subject:  Errors in #include directives

Hi again,

some of the include directives in /usr/local/include/GLC_lib/ are faulty:
/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:
#include <sceneGraph/glc_structoccurence.h>
should become
#include "sceneGraph/glc_structoccurence.h"

All the other files in this directory use quotes.


Author:  laumaya [ Wed May 04, 2011 7:39 pm ]
Post subject:  Re: Errors in #include directives

Thanks a lot to contribute to GLC_lib project. :D

You are a great tester !


Author:  jeromef [ Wed Jul 27, 2011 9:34 am ]
Post subject:  Re: Errors in #include directives

Also related to includes: there is a typo in glc_light.cpp:
#include <QGlContext>

should be:
#include <QGLContext>

(uppercase L in GL).

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


Author:  laumaya [ Thu Jul 28, 2011 8:07 am ]
Post subject:  Re: Errors in #include directives

Thank you Jerome,
The problem is fixed.


Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group