#268 Missing ../libstage/stage_internal.hh

trunk
closed-fixed
stage (111)
5
2009-01-26
2009-01-24
Anonymous
No

Compiling from trunk on OS X (with player trunk as well) yielded the following error:

...
...
...
Scanning dependencies of target stageplugin
[ 83%] Building CXX object libstageplugin/CMakeFiles/stageplugin.dir/p_driver.o
In file included from /Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.cc:152:
/Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.h:10:41: error: ../libstage/stage_internal.hh: No such file or directory
/Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.h:42: error: ISO C++ forbids declaration of ‘WorldGui’ with no type
/Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.h:42: error: expected ‘;’ before ‘*’ token
/Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.h:47: error: ISO C++ forbids declaration of ‘Model’ with no type
/Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.h:47: error: expected ‘;’ before ‘*’ token
/Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.h:54: error: ISO C++ forbids declaration of ‘GPtrArray’ with no type
...
...
...

I compiled with VERBOSE=1 make and found that the error occurred here:

cd /Users/asymingt/Source/Tarballs/stage-svn/libstageplugin && /opt/local/bin/c++ -Dstageplugin_EXPORTS -fPIC -I/opt/local/include -I/Users/asymingt/Source/Tarballs/stage-svn/. -I/Users/asymingt/Source/Tarballs/stage-svn/libstage -I/Users/asymingt/Source/Tarballs/stage-svn/replace -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libpng12 -I/Users/asymingt/Source/Toolchains/skynet/player/include/player-2.1 -I/opt/local/include -O2 -D_THREAD_SAFE -D_REENTRANT -o CMakeFiles/stageplugin.dir/p_driver.o -c /Users/asymingt/Source/Tarballs/stage-svn/libstageplugin/p_driver.cc

./libstageplugin/p_driver.h was looking for ./libstage/stage_internal.hh which appears to have been deleted from the trunk on transition to version 3.0. I'm not sure whether or not this was purposefully done.

However, placing the attached file (taken from a past SVN version) in ./libstage/ resulted in the make process continuing as expected.

Andrew

Discussion

  • ./libstage/stage_internal.hh

     
    Attachments
    • status: open --> closed-fixed
     
  • fixed in trunk. Thanks for the report.