Mathias Fröhlich wrote:
Ok, then throw away your build to make sure that nothing si left.

I am not sure how many things are cached in what part of the cmake build system. I just want to be sure ...

Then set again the cflags. And better set them to something like -march=pentiumpro. Also do not forget to include -O or -O3 or something like that. Without you do not get any optimizations I guess ...

Then ensure that cmake does not see previous caches ...

Done, but nothing changes

BTW: does anybody know a way to tell cmake that a variable should not be cached?

Are you running with the environment variable OSG_THREAD_SAFE_REF_UNREF
set or unset?
Unset
Can you test with this variable set?

Yes, it crashes the same...

I believe that these thread safety defaults in osg are not good in face of that multithreaded viewer stuff, but I just left them as is.

Robert,
Should we include that ENFORCE_THREADSAFE define in the cmake configuration? And in face of all this threading usage in osg, should the default change to on?

And, yes, I should write a wiki page. I hope to find some time today ...

Greetings

Mathias

Thanks Mathias!
Now I go home for the weekend, maybe Monday things will be better...
Ciao!
        mario

--
Ing. Mario Valle
Data Analysis and Visualization Services         | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS)      | Tel:  +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax:  +41 (91) 610.82.82
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to