Allen Bierbaum wrote:
Chad Austin wrote:

Allen Bierbaum wrote:

Chad Austin wrote:

Hi Allen,

Are you using SCons CVS? SCons' internals drastically changed. In my tree I have modified the build so it works, but I haven't committed that because 0.97 hasn't yet been released... Hopefully that happens soon. :|

Since it will be needed long term anyway, can you commit your change now with some code that will check the current version and select the appropriate thing to do? You will probably need code like this anyway to keep the build working with old versions of scons once the new version is released.

I thought about that, but I don't really have time to do that right now. I can send you my diffs if you'd like to do that work. (But I'm not worried about scons compatibility just yet -- it's still not 1.0 and not many people use SCons to build OpenSG anyway)

-Allen

Chad




Yes. But the problems don't seem to be Scons related (unless I am missing something). It looks like some paths aren't being added to the include path correctly.



Yeah, it has to do with a node change. I forget the specifics, but the gist is that you used to be able to add a Node to the CPPPATH and the node and its srcpath would be added to the command line. Now it only does that for strings, iirc.

What changes to scons have caused the build to need changed in a way that is not backwards compatible? (I ask because I have been using CVS scons on a number of projects at the same time as other people are using the latest release).



Mostly the Glob function, which reached deep into SCons internals. :) You should be okay. The SCons changelog makes these things pretty explicit, fortunately.

Cheers,
Chad

-Allen


Allen Bierbaum wrote:

Is the scons build for OpenSG supposed to work on linux?

With default options I get an error on the first file it tries to build:

g++ -ansi -use_readonly_const -ftemplate-depth-100 -O2 -DOSG_WITH_GLUT -DOSG_WITH_JPG -DOSG_WITH_TIF -DOSG_WITH_PNG -DOSG_WITH_GIF -D_GNU_SOURCE -D_OSG_HAVE_CONFIGURED_H_ -DFCD_TERM -DOSG_BUILD_DLL -IBuild/linux-gcc/Source/Base -IBuild/linux-gcc/Tools/fcdEdit -IBuild/linux-gcc/Tools/fcdEdit/opt -IBuild/linux-gcc/installed/include -c -o Build/linux-gcc/Tools/fcdEdit/opt/FieldContainer.o Tools/fcdEdit/FieldContainer.cpp Tools/fcdEdit/FieldContainer.cpp:9:29: OpenSG/OSGXmlpp.h: No such file or directory Tools/fcdEdit/FieldContainer.cpp:12: error: expected namespace-name before ';' token Tools/fcdEdit/FieldContainer.cpp:12: error: `<type error>' is not a namespace


On a related note, what is the recommended build method on Linux? I use scons on a number of other projects and generally like the results. Thus I would like to use it with OpenSG, but if this is not recommended I will stick with autoconf/gmake instead.

Thanks,
Allen


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensg-users






-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensg-users




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensg-users




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensg-users




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Opensg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to