Hi Gerrit
Thanks for the answer.
When using this code I get the "syntax error" every time - indepently of using
threads or the SceneFileHandler anywhere.
I didn't have the time yet to take a deeper look at the code but I tried on
several machines (linux, windows) with 3 different versions (different ages)
of the cvs-opensg, always the same outcome.
Still I found a nice workaround for my problem - since it seemed
vrml-dependent to me, I wrote a "vrml2osb"-converter (based on the
scenefilehandler). My original code works perfectly with .osb-files - so the
SceneFileHandler should be ok with threads I think, but the vrml-parser seems
to have problems.
Just drop a note if you want to have more informations or the complete code of
my testapp.
Thanks and best regards
/Stefan
> Hi,
>
> could you try to use the VRML loader directly without the
> SceneFileHandler. The VRML loader itself should be reentrant,
> in combination with the SceneFileHandler this is no longer
> true, plus there are other aspect related issues (at least for
> the old loader).
>
> So could you change printA to
>
> void printA(void *args)
> {
> VRMLFile *pFile = new VRMLFile();
>
> pFile->scanFile("data/test.wrl");
>
> NodePtr result = pFile->getRoot();
>
> delete pFile;
> }
>
> and let me knwo what is happening ?. My current guess is that this
> should work, if not I have to take a look at it.
>
> regards,
> gerrit
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users