Page 6 of 7

Posted: Mon Sep 14, 2009 7:05 am
by leave
Thank you very much for your response.expectant. :D

Posted: Mon Sep 14, 2009 8:26 am
by leave
you said:Sirrf v0.2.1 requires Irrlicht svn 2656+
what is irrlicht svn 2656+?
Aug-05-2009 Irrlicht 1.5.1 Released?
Dec-15-2008 Irrlicht 1.5 Released?
i used Irrlicht 1.5.1,sirrf builded bad.

Posted: Mon Sep 14, 2009 12:43 pm
by Jake-GR
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

Posted: Mon Sep 14, 2009 9:37 pm
by FuzzYspo0N
The 1.6 version should be out soon, this should work as expected with sirrf

How about that?

Posted: Tue Sep 22, 2009 2:08 am
by leave
------ 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?

it is ok!

Posted: Tue Sep 22, 2009 2:41 am
by leave
whit irrlicht 1.6,it is ok!
but build with release model ,show wrong :\src\assets\TextureProcessor.cpp(60) : error C2228: left of '.c_str' must have class/struct/union
type is 'const irr::c8 *'

WHAT IS WRONG?

Posted: Wed Sep 23, 2009 5:14 am
by leave
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.

Posted: Sat Sep 26, 2009 7:12 pm
by ZCCdark203
I'm not exactly sure what's wrong; I don't use MSVC. I'll ask FuzzYspo0N if he knows what's wrong.

By the way, why are you compiling Sirrf as a library? Sirrf is meant to be build as an executable.

Posted: Sun Sep 27, 2009 1:30 am
by leave
I did not build SIRRF as LIB. I joined the ANGELSCRIPT compiler does not . Note before resuming. I am waiting for your tutorial a long time. You write well. Straightforward. I hope you write fast. :D

Posted: Sun Sep 27, 2009 5:32 pm
by FuzzYspo0N
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.

Posted: Mon Sep 28, 2009 2:53 am
by leave
My Additional dependencies:
irrlicht.lib angelscript.lib sfml-audio.lib sfml-system.lib

building: sfml is ok,irrlicht is ok,angelscript is bad.
my anglescript version:angelscript_2.17.0
plz tell me why.

Posted: Fri Oct 16, 2009 1:20 am
by christianclavet
Hi,
There are currently only a few tutorials, 0.3.0 promises to have all new tutorials, examples as well as the full website and better documentation
Do you have news about the new tutorials and examples?

Posted: Sun Oct 18, 2009 12:54 pm
by ZCCdark203
christianclavet wrote:Do you have news about the new tutorials and examples?
Hi,

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.

Posted: Mon Oct 19, 2009 4:20 am
by FuzzYspo0N
The asteroids type clone is still being worked on by me though.. And shouldn't be long away.

And the above post is not to worry! We are still working on this actively, just not as vigorously as before (since life is life).

Expect a sample project soon!

Posted: Sun Nov 01, 2009 9:18 pm
by christianclavet
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)
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é ==========