On 5/02/13 14:29, om prakash Paliwal wrote:
>     /usr/bin/c++    
> */-I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/OpenThreads
>     -I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/osg
>     -I/home/heart-hacker/OpenSg/build_OpenSceneGraph/include/*    -o
>     CMakeFiles/MyProject.dir/main.cpp.o -c 
> /home/heart-hacker/OpenSg/project/main.cpp
>     /home/heart-hacker/OpenSg/project/main.cpp:2:20: fatal error: osg/Node: 
> No such file
>     or directory
>     compilation terminated.
>     make[2]: *** [CMakeFiles/MyProject.dir/main.cpp.o] Error 1
>     make[2]: Leaving directory `/home/heart-hacker/OpenSg/project'
>     make[1]: *** [CMakeFiles/MyProject.dir/all] Error 2
>     make[1]: Leaving directory `/home/heart-hacker/OpenSg/project'
>     make: *** [all] Error 2
> 
>     And i have highligted the -i flag. it would be easier to see ..... One 
> thing i want to
>     mention , when i browse through my include file earlier i only had two 
> folders namely
>     osg and openthread .. Rest of the header file were not there.. So i had 
> to copy others
>     from source directory .... 
> 
>     Anything i am missing?

The directory you've set in OSG_DIR is the build directory, which only contains 
the
binaries and generated files.  The header files are never supposed to be there.

If you do a 'make install' you'll get the libraries *and* the header files 
installed into
a common location, such as /usr/local.

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to