Hello,
My old computer got a virus, so I
needed to reinstall windows. I lost all my old CrystalSpace build and
Mingw. So I needed to update. Some things aren't updating friendly.
I have two projects I wrote. One is my animation maker tool. It compiled and
loaded up fine!
The other is my shell(the game). The shell has a compile error due to
upgrading to new version of MingW or C++ or something.
The errors are:
simpmap.cpp:1560:96: error: expected primary-expression before ')' token
simpmap.cpp:1560:96: error: 'CS_LOAD_PLUGIN' was not declared in this scope
The code is:
ThingType= (CS_QUERY_PLUGIN_CLASS
(plugin_mgr,"crystalspace.mesh.object.thing",iMeshObjectType));
if (!ThingType)
line
1560:ThingType=CS_LOAD_PLUGIN(plugin_mgr,"crystalspace.mesh.object.thing",iMeshObjectType);
//What do you think my syntax should be here
--------------------------------------------------------------
Question #2:
Which syntax should I use:
1 //csRef<iPluginManager> plugmgr (CS_QUERY_REGISTRY (object_reg,
iPluginManager));
or
2 //csRef<iPluginManager> plugin_mgr = csQueryRegistry<iPluginManager>
(object_reg) ;
I can't get 1 to compile, and 2 is just something I lifted off the web, it
could be old
--------------------------
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe:
mailto:[email protected]?subject=unsubscribe