Build v0.9.0 with VS2005 - linker errors

Subforum for discussion and help with ScummVM's PocketPC/HandheldPC port

Moderator: ScummVM Team

Post Reply
Marc_R
Posts: 9
Joined: Wed Jul 05, 2006 12:54 am

Build v0.9.0 with VS2005 - linker errors

Post by Marc_R »

I've tried to compile PocketSumm v0.9.0 with VS2005 (used WM5 SDK).
All seems ok (some warnings) until it tries linking.

Here is the important "buildlog" part (german english mix :p):

Generating Code...
Ressourcen werden kompiliert...

Verknüpfen...
Bibliothek "bin/ARMV4Rel/PocketSCUMM.lib" und Objekt "bin/ARMV4Rel/PocketSCUMM.exp" werden erstellt.

ThemeNew.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""private: __cdecl Graphics::ImageManager::ImageManager(void)" (??0ImageManager@Graphics@@AAA@XZ)" in Funktion ""public: static class Graphics::ImageManager * __cdecl Common::Singleton::makeInstance(void)" (?makeInstance@?$Singleton@VImageManager@Graphics@@@Common@@SAPAVImageManager@Graphics@@XZ)".

ThemeNew.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""private: static class Graphics::ImageManager * Common::Singleton::_singleton" (?_singleton@?$Singleton@VImageManager@Graphics@@@Common@@0PAVImageManager@Graphics@@A)" in Funktion "__unwind$38961".

ThemeNew.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: bool __cdecl Graphics::ImageManager::addArchive(class Common::String const &)" (?addArchive@ImageManager@Graphics@@QAA_NABVString@Common@@@Z)" in Funktion ""public: __cdecl GUI::ThemeNew::ThemeNew(class OSystem *,class Common::String const &)" (??0ThemeNew@GUI@@QAA@PAVOSystem@@ABVString@Common@@@Z)".

ThemeNew.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: struct Graphics::Surface * __cdecl Graphics::ImageManager::getSurface(class Common::String const &)" (?getSurface@ImageManager@Graphics@@QAAPAUSurface@2@ABVString@Common@@@Z)" in Funktion ""private: void __cdecl GUI::ThemeNew::resetupGuiRenderer(void)" (?resetupGuiRenderer@ThemeNew@GUI@@AAAXXZ)".

ThemeNew.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: bool __cdecl Graphics::ImageManager::registerSurface(class Common::String const &,struct Graphics::Surface *)" (?registerSurface@ImageManager@Graphics@@QAA_NABVString@Common@@PAUSurface@2@@Z)" in Funktion ""private: void __cdecl GUI::ThemeNew::resetupGuiRenderer(void)" (?resetupGuiRenderer@ThemeNew@GUI@@AAAXXZ)".

ThemeNew.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: bool __cdecl Graphics::ImageManager::unregisterSurface(class Common::String const &)" (?unregisterSurface@ImageManager@Graphics@@QAA_NABVString@Common@@@Z)" in Funktion ""private: void __cdecl GUI::ThemeNew::resetupGuiRenderer(void)" (?resetupGuiRenderer@ThemeNew@GUI@@AAAXXZ)".

plugins.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""class PluginRegistrator * g_AGI_PluginReg" (?g_AGI_PluginReg@@3PAVPluginRegistrator@@A)" in Funktion "__unwind$30357".

plugins.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""void __cdecl g_AGI_PluginReg_alloc(void)" (?g_AGI_PluginReg_alloc@@YAXXZ)" in Funktion ""public: void __cdecl PluginManager::loadPlugins(void)" (?loadPlugins@PluginManager@@QAAXXZ)".

plugins.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""class PluginRegistrator * g_CINE_PluginReg" (?g_CINE_PluginReg@@3PAVPluginRegistrator@@A)" in Funktion "__unwind$30357".

plugins.obj : error LNK2019: Verweis auf nicht aufgelöstes externes
Symbol ""void __cdecl g_CINE_PluginReg_alloc(void)" (?g_CINE_PluginReg_alloc@@YAXXZ)" in Funktion ""public: void __cdecl PluginManager::loadPlugins(void)" (?loadPlugins@PluginManager@@QAAXXZ)".

plugins.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""class PluginRegistrator * g_LURE_PluginReg" (?g_LURE_PluginReg@@3PAVPluginRegistrator@@A)" in Funktion "__unwind$30357".

plugins.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""void __cdecl g_LURE_PluginReg_alloc(void)" (?g_LURE_PluginReg_alloc@@YAXXZ)" in Funktion ""public: void __cdecl PluginManager::loadPlugins(void)" (?loadPlugins@PluginManager@@QAAXXZ)".

bin/ARMV4Rel/PocketSCUMM.exe : fatal error LNK1120: 12 nicht aufgelöste externe Verweise.

------------------------------------------------------------------------

Could this be a library or include problem?

btw: I've used knakos include and lib files ("http://users.uoa.gr/~knakos/scummvm/bin ... cc.tar.bz2").
LibTremorCE.lib and libmpeg2.lib were missing so I downloaded them from "http://arisme.free.fr/ports/".

ps: The compiled windows executable works like a charm :oops:
User avatar
sev
ScummVM Lead
Posts: 2276
Joined: Wed Sep 21, 2005 1:06 pm
Contact:

Post by sev »

Seems like outdated project files.


Eugene
Marc_R
Posts: 9
Joined: Wed Jul 05, 2006 12:54 am

Post by Marc_R »

Ok, i'l try the latest SVN...
Marc_R
Posts: 9
Joined: Wed Jul 05, 2006 12:54 am

Post by Marc_R »

The msevc4 workpath is realy ugly and messy!
Wrong paths missing files...
Seems no one cares about it :shock:
Meneguzzi
Posts: 2
Joined: Wed Jul 26, 2006 1:34 pm

Post by Meneguzzi »

I ran into the same type of problem, or kind of worse, because the project files won't even open on my VS 2005, the alternative to that would be to open the project files with a text editor and create new projects from scratch, but this would incur very intensive manual labour.

I wonder if there is an easier way of trying to regenerate projects. Otherwise, we could try and make an effort to re-create VC projects for the community.
mars_3-142
Posts: 7
Joined: Sun Mar 19, 2006 12:33 pm
Location: Berlin, Germany

eVC

Post by mars_3-142 »

I think, the actual PocketScumm is only compiled for PPC2003 and this one is compatible with WM5. That's why nobody has a working VS2005 projectfile.
Post Reply