Alberto,

I am able to build osgEphemeris with OSG 2.4.  I only build the osgEphemeris 
library and plugin (That's all I need).  I have a Python build script that 
does the work.  Hopefully, the function calls are descriptive enough.

# Make a small fix for compilation errors
replaceInFile("src/osgEphemerisLib/StarField.cpp", [("= 
cv->getModelViewMatrix()", "= *cv->getModelViewMatrix()")]);
os.environ["OSG_ROOT"] = osgDir;
changeDir(os.path.join(unbundleDir, "VC7", "osgEphemeris"));
runVcbuild("osgEphemeris.vcproj", configs = ["RELEASE", "DEBUG"]);
changeDir(os.path.join(unbundleDir, "VC7", "osgPlugin_ephemeris"));
replaceInFile("osgPlugin_ephemeris.vcproj", 
[("$(OSG_ROOT)\lib\win32", "$(OSG_ROOT)\lib")]);
runVcbuild("osgPlugin_ephemeris.vcproj", configs = ["RELEASE", "DEBUG"]);

Hope This Helps,
Justin

On Tuesday 22 July 2008 00:58:44 Alberto Luaces wrote:
> Did you manage to build osgephemeris with OSG 2.4? A few weeks ago I tried
> to compile it but gave up because it seems it depends on Producer.
>
> I you have a patch available, I think it would be of interest for us osg
> users. Maybe you upload it to the wiki, it would be very useful. Another
> possible place to post it would be on the producer-users mailing list, or
> send it to the osgephemeris project page.
>
> Alberto.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to