Sirrf version 0.2.1 released! (30/08/2009)
Irrlicht svn 2656+...
means it requires revision number 2656 or higher from the svn (subversion) repository for irrlicht
its actually beyond the pre-built sdk versions found on the download page
subversion access can be found on the FAQ page http://irrlicht.sourceforge.net/faq.html#subversion
means it requires revision number 2656 or higher from the svn (subversion) repository for irrlicht
its actually beyond the pre-built sdk versions found on the download page
subversion access can be found on the FAQ page http://irrlicht.sourceforge.net/faq.html#subversion
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
How about that?
------ Build started: Project: sirrf project, Configuration: Debug Win32 ------
Compiling...
ImageComponent.cpp
d:\sirrf\src\components\scene\imagecomponent.cpp(243) : error C2664: 'void irr::video::IVideoDriver::draw2DImage(const irr::video::ITexture *,const irr::core::position2d<T> &,const irr::core::rect<T> &,const irr::core::rect<T> *,irr::video::SColor,bool)' : cannot convert parameter 2 from 'irr::core::vector2di' to 'const irr::core::position2d<T> &'
with
[
T=irr::s32
]
Reason: cannot convert from 'irr::core::vector2di' to 'const irr::core::position2d<T>'
with
[
T=irr::s32
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
OctTreeComponent.cpp
d:\sirrf\src\components\scene\octtreecomponent.cpp(76) : error C2440: '=' : cannot convert from 'irr::scene::ISceneNode *' to 'irr::scene::IMeshSceneNode *'
Cast from base to derived requires dynamic_cast or static_cast
SkyDomeComponent.cpp
d:\sirrf\src\components\scene\skydomecomponent.cpp(66) : error C2660: 'irr::scene::ISceneManager::addSkyDomeSceneNode' : function does not take 8 arguments
TerrainComponent.cpp
d:\sirrf\src\components\scene\terraincomponent.cpp(64) : error C2668: 'irr::scene::ISceneManager::addTerrainSceneNode' : ambiguous call to overloaded function
d:\irrlicht-1.5.1\include\iscenemanager.h(797): could be 'irr::scene::ITerrainSceneNode *irr::scene::ISceneManager::addTerrainSceneNode(irr::io::IReadFile *,irr::scene::ISceneNode *,irr::s32,const irr::core::vector3df &,const irr::core::vector3df &,const irr::core::vector3df &,irr::video::SColor,irr::s32,irr::scene::E_TERRAIN_PATCH_SIZE,irr::s32,bool)'
d:\irrlicht-1.5.1\include\iscenemanager.h(759): or 'irr::scene::ITerrainSceneNode *irr::scene::ISceneManager::addTerrainSceneNode(const irr::c8 *,irr::scene::ISceneNode *,irr::s32,const irr::core::vector3df &,const irr::core::vector3df &,const irr::core::vector3df &,irr::video::SColor,irr::s32,irr::scene::E_TERRAIN_PATCH_SIZE,irr::s32,bool)'
while trying to match the argument list '(int, int, irr::u32, const irr::core::vector3df, const irr::core::vector3df, const irr::core::vector3df, const irr::video::SColor, irr::s32, irr::scene::E_TERRAIN_PATCH_SIZE, irr::s32, bool)'
GameManager.cpp
d:\sirrf\src\core\gamemanager.cpp(64) : error C2664: 'irr::createDevice' : cannot convert parameter 2 from 'irr::core::dimension2d<T>' to 'const irr::core::dimension2d<T> &'
with
[
T=irr::u32
]
and
[
T=irr::s32
]
Reason: cannot convert from 'irr::core::dimension2d<T>' to 'const irr::core::dimension2d<T>'
with
[
T=irr::u32
]
and
[
T=irr::s32
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
ScriptManager.cpp
EntityProcessor.cpp
d:\sirrf\src\assets\entityprocessor.cpp(146) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'
d:\sirrf\src\assets\entityprocessor.cpp(219) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'
d:\sirrf\src\assets\entityprocessor.cpp(233) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'
build it ,show that . what is wrong?
Compiling...
ImageComponent.cpp
d:\sirrf\src\components\scene\imagecomponent.cpp(243) : error C2664: 'void irr::video::IVideoDriver::draw2DImage(const irr::video::ITexture *,const irr::core::position2d<T> &,const irr::core::rect<T> &,const irr::core::rect<T> *,irr::video::SColor,bool)' : cannot convert parameter 2 from 'irr::core::vector2di' to 'const irr::core::position2d<T> &'
with
[
T=irr::s32
]
Reason: cannot convert from 'irr::core::vector2di' to 'const irr::core::position2d<T>'
with
[
T=irr::s32
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
OctTreeComponent.cpp
d:\sirrf\src\components\scene\octtreecomponent.cpp(76) : error C2440: '=' : cannot convert from 'irr::scene::ISceneNode *' to 'irr::scene::IMeshSceneNode *'
Cast from base to derived requires dynamic_cast or static_cast
SkyDomeComponent.cpp
d:\sirrf\src\components\scene\skydomecomponent.cpp(66) : error C2660: 'irr::scene::ISceneManager::addSkyDomeSceneNode' : function does not take 8 arguments
TerrainComponent.cpp
d:\sirrf\src\components\scene\terraincomponent.cpp(64) : error C2668: 'irr::scene::ISceneManager::addTerrainSceneNode' : ambiguous call to overloaded function
d:\irrlicht-1.5.1\include\iscenemanager.h(797): could be 'irr::scene::ITerrainSceneNode *irr::scene::ISceneManager::addTerrainSceneNode(irr::io::IReadFile *,irr::scene::ISceneNode *,irr::s32,const irr::core::vector3df &,const irr::core::vector3df &,const irr::core::vector3df &,irr::video::SColor,irr::s32,irr::scene::E_TERRAIN_PATCH_SIZE,irr::s32,bool)'
d:\irrlicht-1.5.1\include\iscenemanager.h(759): or 'irr::scene::ITerrainSceneNode *irr::scene::ISceneManager::addTerrainSceneNode(const irr::c8 *,irr::scene::ISceneNode *,irr::s32,const irr::core::vector3df &,const irr::core::vector3df &,const irr::core::vector3df &,irr::video::SColor,irr::s32,irr::scene::E_TERRAIN_PATCH_SIZE,irr::s32,bool)'
while trying to match the argument list '(int, int, irr::u32, const irr::core::vector3df, const irr::core::vector3df, const irr::core::vector3df, const irr::video::SColor, irr::s32, irr::scene::E_TERRAIN_PATCH_SIZE, irr::s32, bool)'
GameManager.cpp
d:\sirrf\src\core\gamemanager.cpp(64) : error C2664: 'irr::createDevice' : cannot convert parameter 2 from 'irr::core::dimension2d<T>' to 'const irr::core::dimension2d<T> &'
with
[
T=irr::u32
]
and
[
T=irr::s32
]
Reason: cannot convert from 'irr::core::dimension2d<T>' to 'const irr::core::dimension2d<T>'
with
[
T=irr::u32
]
and
[
T=irr::s32
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
ScriptManager.cpp
EntityProcessor.cpp
d:\sirrf\src\assets\entityprocessor.cpp(146) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'
d:\sirrf\src\assets\entityprocessor.cpp(219) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'
d:\sirrf\src\assets\entityprocessor.cpp(233) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'
build it ,show that . what is wrong?
WHAT IS WRONG?
Generating Code...
Linking...
Creating library ../../bin/sirrf project_debug.lib and object ../../bin/sirrf project_debug.exp
asAssetGroup.obj : error LNK2019: unresolved external symbol "void __cdecl disconnectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?disconnectEventSignal@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z) referenced in function "void __cdecl bindHasEventsBase<class AssetGroup>(class asIScriptEngine *,char const *)" (??$bindHasEventsBase@VAssetGroup@@@@YAXPAVasIScriptEngine@@PBD@Z)
asEntity.obj : error LNK2001: unresolved external symbol "void __cdecl disconnectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?disconnectEventSignal@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z)
asAssetGroup.obj : error LNK2019: unresolved external symbol "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z) referenced in function "void __cdecl bindHasEventsBase<class AssetGroup>(class asIScriptEngine *,char const *)" (??$bindHasEventsBase@VAssetGroup@@@@YAXPAVasIScriptEngine@@PBD@Z)
asEntity.obj : error LNK2001: unresolved external symbol "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z)
asEventManager.obj : error LNK2019: unresolved external symbol "public: void __thiscall ScriptedEvent::onDisconnect(void *)" (?onDisconnect@ScriptedEvent@@QAEXPAX@Z) referenced in function "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class EventManager *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVasIScriptObject@@0PAVEventManager@@@Z)
asEventManager.obj : error LNK2019: unresolved external symbol "public: void __thiscall ScriptedEvent::onEvent(void *)" (?onEvent@ScriptedEvent@@QAEXPAX@Z) referenced in function "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class EventManager *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVasIScriptObject@@0PAVEventManager@@@Z)
asEventManager.obj : error LNK2019: unresolved external symbol "public: __thiscall ScriptedEvent::ScriptedEvent(class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0ScriptedEvent@@QAE@PAVasIScriptObject@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class EventManager *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVasIScriptObject@@0PAVEventManager@@@Z)
../../bin/sirrf project_debug.exe : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://e:\vc2008en\sirrf\build\msvc2008\Debug\BuildLog.htm"
sirrf project - 8 error(s), 15 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
angelscript?do not build as,it is ok.
Linking...
Creating library ../../bin/sirrf project_debug.lib and object ../../bin/sirrf project_debug.exp
asAssetGroup.obj : error LNK2019: unresolved external symbol "void __cdecl disconnectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?disconnectEventSignal@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z) referenced in function "void __cdecl bindHasEventsBase<class AssetGroup>(class asIScriptEngine *,char const *)" (??$bindHasEventsBase@VAssetGroup@@@@YAXPAVasIScriptEngine@@PBD@Z)
asEntity.obj : error LNK2001: unresolved external symbol "void __cdecl disconnectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?disconnectEventSignal@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z)
asAssetGroup.obj : error LNK2019: unresolved external symbol "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z) referenced in function "void __cdecl bindHasEventsBase<class AssetGroup>(class asIScriptEngine *,char const *)" (??$bindHasEventsBase@VAssetGroup@@@@YAXPAVasIScriptEngine@@PBD@Z)
asEntity.obj : error LNK2001: unresolved external symbol "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z)
asEventManager.obj : error LNK2019: unresolved external symbol "public: void __thiscall ScriptedEvent::onDisconnect(void *)" (?onDisconnect@ScriptedEvent@@QAEXPAX@Z) referenced in function "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class EventManager *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVasIScriptObject@@0PAVEventManager@@@Z)
asEventManager.obj : error LNK2019: unresolved external symbol "public: void __thiscall ScriptedEvent::onEvent(void *)" (?onEvent@ScriptedEvent@@QAEXPAX@Z) referenced in function "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class EventManager *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVasIScriptObject@@0PAVEventManager@@@Z)
asEventManager.obj : error LNK2019: unresolved external symbol "public: __thiscall ScriptedEvent::ScriptedEvent(class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0ScriptedEvent@@QAE@PAVasIScriptObject@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class EventManager *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0PAVasIScriptObject@@0PAVEventManager@@@Z)
../../bin/sirrf project_debug.exe : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://e:\vc2008en\sirrf\build\msvc2008\Debug\BuildLog.htm"
sirrf project - 8 error(s), 15 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
angelscript?do not build as,it is ok.
-
- Posts: 47
- Joined: Fri May 15, 2009 3:26 pm
- Contact:
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
Hi leave,
The trouble seems to be that you dont know the tool you are trying to use. I would suggest reading more on visual studio if you intend to use it a lot (like, the basics at least)
Also,
Are you linking the angelscript.lib?
Are you linking the correct libs?
It says its a linking error, ie : the librarys are not properly linking.
The trouble seems to be that you dont know the tool you are trying to use. I would suggest reading more on visual studio if you intend to use it a lot (like, the basics at least)
Also,
Are you linking the angelscript.lib?
Are you linking the correct libs?
It says its a linking error, ie : the librarys are not properly linking.
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
-
- Posts: 47
- Joined: Fri May 15, 2009 3:26 pm
- Contact:
Hi,christianclavet wrote:Do you have news about the new tutorials and examples?
Unfortunately I don't have a lot of time to work on Sirrf. At the moment there are more important things that require my attention. That means that I can't give an ETA for tutorials, examples or anything else that is supposed to be released alongside 0.3.0.
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
-
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Hi, Tried to compile the project yesterday (with SFML and ANGELSCRIPT enabled). I have Linking errors appearing now.
Saw in the log that the Angelscript library had been changed. So I downloaded the new one and compiled the new .lib (static lib, was configured like this by default).
The linking error still occur (Probably me goofing there, I'm not used to doing this). I've put back the old include, lib file and still give linking errors.
I'm using MSVC, can someone guide me?
Here is the linking error that I'm having (asAssetGroup and asEventManager object seem to want to link with things not present in the lib file)
Saw in the log that the Angelscript library had been changed. So I downloaded the new one and compiled the new .lib (static lib, was configured like this by default).
The linking error still occur (Probably me goofing there, I'm not used to doing this). I've put back the old include, lib file and still give linking errors.
I'm using MSVC, can someone guide me?
Here is the linking error that I'm having (asAssetGroup and asEventManager object seem to want to link with things not present in the lib file)
asAssetGroup.obj : error LNK2001: symbole externe non résolu "bool __cdecl connectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?connectEventSignal@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z)
1>asAssetGroup.obj : error LNK2001: symbole externe non résolu "void __cdecl disconnectEventSignal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class HasEvents *)" (?disconnectEventSignal@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVasIScriptObject@@0PAVHasEvents@@@Z)
1>asEventManager.obj : error LNK2001: symbole externe non résolu "public: void __thiscall ScriptedEvent::onDisconnect(void *)" (?onDisconnect@ScriptedEvent@@QAEXPAX@Z)
1>asEventManager.obj : error LNK2001: symbole externe non résolu "public: void __thiscall ScriptedEvent::onEvent(void *)" (?onEvent@ScriptedEvent@@QAEXPAX@Z)
1>asEventManager.obj : error LNK2001: symbole externe non résolu "public: __thiscall ScriptedEvent::ScriptedEvent(class asIScriptObject *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0ScriptedEvent@@QAE@PAVasIScriptObject@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>../../bin/sirrf project.exe : fatal error LNK1120: 5 externes non résolus
1>Le journal de génération a été enregistré à l'emplacement "file://c:\Users\Public\Projets\SirrF\trunk\build\msvc2008\Release\BuildLog.htm"
1>sirrf project - 6 erreur(s), 0 avertissement(s)
========== Génération : 0 a réussi, 1 a échoué, 0 mis à jour, 0 a été ignoré ==========