Marcus Fritzen schrieb:

Andreas Goebel schrieb:
Marcus Fritzen schrieb:
Hello,

i am a student from koblenz university (germany) and i am new to openscenegraph. I just startet with the tutorial and wanted to compile a simple program which writes an osg-file. I am using Visual Studio.NET. Now I the problem that after compiling I will get the following error: /Error writing file simple.osg: Warning: Could not find plugin to write nodes to file "simple.osg". Failed in osgDB::writeNode()./

I have installed the binary win32 openscenegraph, I have set enviroment variables, I also have registered the include, lib directory and additional libs in VS.net. So perhaps you can help me solving my problem.

Best regards,
Marcus

Hi,

have you added the directory where the dlls are to your PATH? If you have done so, restart Visual C++ so it can read the new PATH.

Also make sure that the binary version is compiled with the same compiler as yours.

Regards,

Andreas

First, thanks for your fast answer!
I have had added the directory where the dll's are to the system variables and there to "path".
The plugins-directory too?
Furthermore I put the osg.dll, OpenThreadsWin32.dll and osgDB.dll in the project directory. So have I forgotten something? The other question is, how can I check if the binary is compiled with the same compiler?
Read the readme of the binary-distribution or the hints at the webpage. I think that the binaries are compiled with Visual-Studio 2003. Do you use the 2005-Version ? Then you will have to compile it yourself.

Regards,

Andreas

Thanks,
Marcus
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to