Finally I solved it!

I linked with last version in Spark SVN  
(https://svn.code.sf.net/p/sparkengine/code/), using SPARK Engine CORE DLL.lib 
and SPARK Engine GL DLL.lib.

The problem were in:

- osgspark.cpp (line 50)  ===>   //SPK::randomSeed = static_cast<unsigned int>( 
time(NULL) ); I had to comment this line.

- SparkDrawable.cpp ===> SPK::NO_ID not found. So, I replace SPK::NO_ID with 0 
in:
       ### SparkDrawable.h (line 60) bool isValid() const { return 
getBaseSystemID()!=SPK::NO_ID && _protoSystem!=NULL; }
       ### SparkDrawable.cpp - Constructor (line 25) _baseSystemID(SPK::NO_ID)

Finally, I have Spark Engine working with OSG :)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59458#59458





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

Reply via email to