[osg-submissions] API configurations in a seperate Config include file
Bob Kuehne
rpk at blue-newt.com
Fri Jun 20 12:30:14 PDT 2008
hm. mostly. osg builds fine - i deleted my old out-of-source install,
and began anew.
but then i tried building one of my projects with it. did the same
procedure, remove the
entirety of the old install, and build my new project files again vi
cmake. cmake builds
the make system fine, but then at build:
% make
[ 1%] Building CXX object src/CMakeFiles/CeloVerus.dir/bnAmbientLight.o
In file included from /Users/rpk/projects/osg/svn/OpenSceneGraph/
include/osg/Referenced:33,
from /Users/rpk/projects/osg/svn/OpenSceneGraph/
include/osg/Object:17,
from /Users/rpk/projects/celoverus/repo/include/
bnDeferredLight.h:4,
from /Users/rpk/projects/celoverus/repo/include/
bnAmbientLight.h:5,
from /Users/rpk/projects/celoverus/repo/src/
bnAmbientLight.cpp:1:
/Users/rpk/projects/osg/svn/OpenSceneGraph/include/OpenThreads/Atomic:
17:30: error: OpenThreads/Config: No such file or directory
clearly because it's looking in the source for the headers, and the
build for the bin, but
the actual Config lives in built directory tree, not the source tree.
how to fix? haven't figured that out yet, as i don't yet grok the
intention of Config... but i'll
dig.
b
On Jun 20, 2008, at 3:01 PM, Bob Kuehne wrote:
> this latest changed fixed it for me.
>
> bob
>
> On Jun 20, 2008, at 2:47 PM, Robert Osfield wrote:
>
>> Hi J-S,
>>
>> On Fri, Jun 20, 2008 at 7:19 PM, Robert Osfield
>> <robert.osfield at gmail.com> wrote:
>>> I'm just trying out setting the header definitions to use
>>> ${OPENSCENEGRAPH_CONFIG_HEADER} instead of ${HEADER_DIR}/Config, so
>>> far so good. If everything builds cleanly I'll check this in.
>>
>> This seems to have worked, could you do an svn update and see how
>> you get on.
>>
>> Cheers,
>> Robert.
>> _______________________________________________
>> osg-submissions mailing list
>> osg-submissions at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
More information about the osg-submissions
mailing list