I was helping a friend create a OS X distribution of a research project
he is working on and I ran in the following problem.
g++ -o main.o -c -Ddarwin -I. -I/opt/local/include/opt
-I/opt/local/include -I/usr/include -I/usr/local/include
-I/opt/local/include main.cpp
In file included from /opt/local/include/OpenSG/OSGGLUT.h:45,
from Feature.h:15,
from FireFountain.h:15,
from main.cpp:1:
/opt/local/include/OpenSG/OSGConfig.h:91:1: warning: "darwin" redefined
<command line>:1:1: warning: this is the location of the previous
definition
main.cpp: In function 'int main(int, char**)':
main.cpp:108: error: 'GLUTWindowPtr' was not declared in this scope
main.cpp:108: error: expected `;' before 'gwin'
main.cpp:109: error: 'gwin' was not declared in this scope
main.cpp:118: error: no matching function for call to
'osg::SimpleSceneManager::setWindow(<type error>)'
/opt/local/include/OpenSG/OSGSimpleSceneManager.h:120: note:
candidates are: virtual void
osg::SimpleSceneManager::setWindow(osg::WindowPtr)
scons: *** [main.o] Error 1
scons: building terminated because of errors.
I believe the error is caused by a lack of definitions given during
compilation. I checked osg-config and I did not get the normal set of
definitions I see when I compile openSG applications on Linux.
Tue September 30 07:35:17 2008
[EMAIL PROTECTED]: ttyp1: 23 files 2384b ~/Desktop/vvolcano ->
osg-config --cflags
-I/opt/local//include
I am running 1.8.0 pulled Sunday from source forge. I compiled it using
on a 10.4 machine.
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1
I am looking for any information on what part of the OpenSG install
might not of been completed to cause this problem.
Steven A White.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users