Author Topic: Cannot compile  (Read 2909 times)

ronxena

  • Hydlaa Resident
  • *
  • Posts: 88
    • View Profile
(No subject)
« Reply #15 on: February 20, 2005, 02:10:05 pm »
Quote
Originally posted by AryHann
From what I can read from that file (http://cvs.sourceforge.net/viewcvs.py/planeshift/planeshift/docs/compiling-mingw32.txt?view=markup) you should have also installed Cal3D under development.. isn\'t it?

Ary

EDIT: I saw afterwards that you solved your problem...


Thx for checking anyhow - the MINGW-docs are very outdated... at least you also need to update binutils to get CS linked correctly without crashing.

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #16 on: February 20, 2005, 02:14:03 pm »
You are welcome, even if I was not helping at all ;-D
Btw, if you think they are out of date, you can update them and send them to acraig, for example.

Ary
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Merlin_777

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #17 on: February 20, 2005, 09:27:43 pm »
Hi, just a quick bump in case anyone else has any ideas about the link errors I\'m getting. Followed the instructions in compiling-visualc.txt to the letter.

------ Build started: Project: appeedit, Configuration: Debug Win32 ------

Linking...
eeditapp.obj : error LNK2019: unresolved external symbol \"public: __thiscall psCal3DCallbackLoader::psCal3DCallbackLoader(struct iObjectRegistry *,class EEditApp *)\" (??0psCal3DCallbackLoader@@QAE@PAUiObjectRegistry@@PAVEEditApp@@@Z) referenced in function \"public: __thiscall EEditApp::EEditApp(struct iObjectRegistry *)\" (??0EEditApp@@QAE@PAUiObjectRegistry@@@Z)
eeditinputboxmanager.obj : error LNK2019: unresolved external symbol \"public: void __thiscall EEditSelectList::Select(class csString *,class EEditInputboxManager::iSelectList *,class csVector2 const &)\" (?Select@EEditSelectList@@QAEXPAVcsString@@PAViSelectList@EEditInputboxManager@@ABVcsVector2@@@Z) referenced in function \"public: void __thiscall EEditInputboxManager::SelectList(class csString *,class EEditInputboxManager::iSelectList *)\" (?SelectList@EEditInputboxManager@@QAEXPAVcsString@@PAViSelectList@1@@Z)
eeditinputboxmanager.obj : error LNK2019: unresolved external symbol \"public: __thiscall EEditSelectList::EEditSelectList(class PawsManager *)\" (??0EEditSelectList@@QAE@PAVPawsManager@@@Z) referenced in function \"public: virtual class pawsWidget * __thiscall EEditSelectListFactory::Create(void)\" (?Create@EEditSelectListFactory@@UAEPAVpawsWidget@@XZ)
psbuild\\appeedit\\eedit.exe : fatal error LNK1120: 3 unresolved externals

Build log was saved at \"file://c:\\CrystalSpace\\planeshift\\mk\\visualc7.1\\psbuild\\debug\\appeedit\\BuildLog.htm\"
appeedit - 4 error(s), 0 warning(s)


------ Build started: Project: apppsclient, Configuration: Debug Win32 ------

Linking...
psengine.obj : error LNK2019: unresolved external symbol \"public: __thiscall psCal3DCallbackLoader::psCal3DCallbackLoader(struct iObjectRegistry *)\" (??0psCal3DCallbackLoader@@QAE@PAUiObjectRegistry@@@Z) referenced in function \"public: __thiscall psEngine::psEngine(struct iObjectRegistry *)\" (??0psEngine@@QAE@PAUiObjectRegistry@@@Z)
psbuild\\debug\\temp\\apppsclient\\psclient.exe : fatal error LNK1120: 1 unresolved externals

Build log was saved at \"file://c:\\CrystalSpace\\planeshift\\mk\\visualc7.1\\psbuild\\debug\\apppsclient\\BuildLog.htm\"
apppsclient - 2 error(s), 0 warning(s)



------ Build started: Project: apppawsedit, Configuration: Debug Win32 ------

Linking...
pawseditorapp.obj : error LNK2019: unresolved external symbol \"public: __thiscall pePawsManager::pePawsManager(struct iObjectRegistry *,char const *)\" (??0pePawsManager@@QAE@PAUiObjectRegistry@@PBD@Z) referenced in function \"public: bool __thiscall PawsEditorApp::Init(void)\" (?Init@PawsEditorApp@@QAE_NXZ)
peMenu.obj : error LNK2019: unresolved external symbol \"public: void __thiscall pePawsManager::ReloadStyles(void)\" (?ReloadStyles@pePawsManager@@QAEXXZ) referenced in function \"public: virtual bool __thiscall peMenu::OnButtonPressed(int,int,class pawsWidget *)\" (?OnButtonPressed@peMenu@@UAE_NHHPAVpawsWidget@@@Z)
psbuild\\apppawsedit\\pawseditor.exe : fatal error LNK1120: 2 unresolved externals

Build log was saved at \"file://c:\\CrystalSpace\\planeshift\\mk\\visualc7.1\\psbuild\\debug\\apppawsedit\\BuildLog.htm\"
apppawsedit - 3 error(s), 0 warning(s)

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #18 on: February 20, 2005, 10:01:45 pm »
For the last one, the one concerning appawsedit, you must change a bit the files in the project, because they are not update.

Both header and source files should be fix, removing all the files with capital letters, and adding all the files in the directory of - if I remember right, because I go by memory since I don\'t have the code here - /src/tools/pawseditor

Ary
PS: for the others, they could have been problems coming with the latest update of this night, I haven\'t work since friday morning with PS code.
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Merlin_777

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #19 on: February 20, 2005, 11:04:49 pm »
Quote
Originally posted by AryHann
For the last one, the one concerning appawsedit, you must change a bit the files in the project, because they are not update.

Both header and source files should be fix, removing all the files with capital letters, and adding all the files in the directory of - if I remember right, because I go by memory since I don\'t have the code here - /src/tools/pawseditor

Ary
PS: for the others, they could have been problems coming with the latest update of this night, I haven\'t work since friday morning with PS code.


Thanks Ary, that\'s fixed the apppawsedit errors at least :)

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #20 on: February 21, 2005, 11:02:48 am »
Ok, as I was suspecting the modifications that occurred from friday till this morning, made
apppsclient
appeedit
not compiling correctly

Using MSVC 7.1 I  get

appeedit error LNK2019: unresolved external symbol \"public: __thiscall EEditSelectList::EEditSelectList(class PawsManager *)\" (??0EEditSelectList@@QAE@PAVPawsManager@@@Z) referenced in function \"public: virtual class pawsWidget * __thiscall EEditSelectListFactory::Create(void)\" (?Create@EEditSelectListFactory@@UAEPAVpawsWidget@@XZ)
apppsclient error LNK2019: unresolved external symbol \"public: __thiscall psCal3DCallbackLoader::psCal3DCallbackLoader(struct iObjectRegistry *)\" (??0psCal3DCallbackLoader@@QAE@PAUiObjectRegistry@@@Z) referenced in function \"public: __thiscall psEngine::psEngine(struct iObjectRegistry *)\" (??0psEngine@@QAE@PAUiObjectRegistry@@@Z)
appeedit error LNK2019: unresolved external symbol \"public: __thiscall psCal3DCallbackLoader::psCal3DCallbackLoader(struct iObjectRegistry *,class EEditApp *)\" (??0psCal3DCallbackLoader@@QAE@PAUiObjectRegistry@@PAVEEditApp@@@Z) referenced in function \"public: __thiscall EEditApp::EEditApp(struct iObjectRegistry *)\" (??0EEditApp@@QAE@PAUiObjectRegistry@@@Z)
appeedit error LNK2019: unresolved external symbol \"public: void __thiscall EEditSelectList::Select(class csString *,class EEditInputboxManager::iSelectList *,class csVector2 const &)\" (?Select@EEditSelectList@@QAEXPAVcsString@@PAViSelectList@EEditInputboxManager@@ABVcsVector2@@@Z) referenced in function \"public: void __thiscall EEditInputboxManager::SelectList(class csString *,class EEditInputboxManager::iSelectList *)\" (?SelectList@EEditInputboxManager@@QAEXPAVcsString@@PAViSelectList@1@@Z)

What did I do for solving it?
It is matter of adding files to the projects, since the project files are not updated at all.

With appeedit, both in header and source files I add:
- src/eedit/eeditselectlist
- src/eedit/pscla3dcallback

With apppsclient, both in header and source files I add:
- src/client/pscal3dcallback



Ary
« Last Edit: February 21, 2005, 11:39:38 am by AryHann »
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess

Merlin_777

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #21 on: February 21, 2005, 11:38:43 am »
Thanks again Ary :).

Ikarsik

  • Hydlaa Resident
  • *
  • Posts: 121
    • View Profile
(No subject)
« Reply #22 on: February 24, 2005, 12:04:24 pm »
was the original problem ever solved? if not then just check that you got sprcal3d.dll built in CS.

wait not original ronxenas one
« Last Edit: February 24, 2005, 12:06:53 pm by Ikarsik »

AryHann

  • Veteran
  • *
  • Posts: 1244
  • WonderWoman
    • View Profile
(No subject)
« Reply #23 on: February 24, 2005, 12:15:16 pm »
Yes, I think that the original problem (mine?) was solved ;-D

Ary
AryHann

http://www.reflex.lth.se/culture/annelov - Virtual Annelöv -
Engine Dep. - One of Talad's Angels - Aka ww & Ahrijani's Goddess