Hello Frederik,
Frederik Didden wrote:
> Hi, i'm using opensg 1.6.0 on a windows system with vs 2005 as IDE. I
> get an
> error when I try to run example 05geometry on line:
>
> for(UInt32 i = 0; i < pos->getSize(); i++)
>
> I get a similar error when I call ->clear() | ->getSize() on a
> GeoPositions3fPtr in a personal project.
>
> Does anyone know what's causing these problems?
hm, you are not saying what errors you get, but I guess it is some sort
of segfault ?
There are a couple of things you might want to check:
1) In the past all sorts of weird problems have arisen, when linking
debug libs with optimized programs or the other way around, so please
check if something like this might be the case.
2) Set the environment variable OSG_LOG_LEVEL to DEBUG and look the
output, if there is anything that might indicate an error.
3) Add some checks for NullFC's to your code, maybe a call to dcast did
not succeed ?
Hope it helps,
Carsten
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users