Load it as a library if I'm not mistaken, there is some LoadLibrary function.
----- Original Message -----
From: Thomas Teufel
To: CS developers and users list
Sent: Thursday, December 28, 2006 3:07 PM
Subject: [CsMain] How to load teapot.lib?
Hello all !!
I was on the way to load teapot.lib (the mesh factory) from the archive
teapot.zip which is within the directory: [cs]/data
Here is the c++ code, that I used to load the mesh factory:
csPtr<iMeshFactoryWrapper> pot =
this->loader->LoadMeshObjectFactory("/lib/teapot/teapot.lib");
Compiling this works fine. But at executing the application this error
appears:
crystalspace.maploader.parse.map: File '/lib/thdata/teapot.lib' does not seem
to contain a 'meshfact'!
BUT! ... If you look at the content of teapot.lib in teapot.zip ... there is
a tag called <meshfact>
Could you be so kind and teach me, where my problem is?
Thank you in advance!
------------------------------------------------------------------------------
-------------------------------------------------------------------------
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
------------------------------------------------------------------------------
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]
-------------------------------------------------------------------------
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
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]