Sirrf version 0.2.1 released! (30/08/2009)

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
FuzzYspo0N
Posts: 914
Joined: Fri Aug 03, 2007 12:43 pm
Location: South Africa
Contact:

Post by FuzzYspo0N »

Check that the new files (probably the scripting asAssetGroup stuff) is inside the project to be built . Ill check the project later and commit a fixed one asap!

Thanks
huanvn
Posts: 1
Joined: Fri Jan 15, 2010 7:25 am

Post by huanvn »

christianclavet wrote: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é ==========
yesterday I tried to build and got same errors as u.
I found that MSVC solution missed some files. Seem they are newly added.

After adding them manually, I can compile and run as well.

plz check your src folder to get entire list:
- src/core/HasEvent, Serializable,....
- src/scripting/core/asHasEvents, asSerializable,...


---//huanvn
kxiaocai
Posts: 4
Joined: Tue Nov 03, 2009 1:46 pm
Location: Beijing, China

Post by kxiaocai »

huanvn wrote:
yesterday I tried to build and got same errors as u.
I found that MSVC solution missed some files. Seem they are newly added.

After adding them manually, I can compile and run as well.

plz check your src folder to get entire list:
- src/core/HasEvent, Serializable,....
- src/scripting/core/asHasEvents, asSerializable,...


---//huanvn

Hi, Huanvn
I met the same problem too. How do you fix it? Thanks a lot!
Post Reply