Page 7 of 7

Posted: Mon Nov 02, 2009 5:12 am
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

Posted: Fri Jan 15, 2010 7:35 am
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

Posted: Sun Mar 28, 2010 4:20 pm
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!