Can't build Ryzom.sln with windows

Added by shuawinn over 4 years ago

Hey,
I'm new to the Ryzom project, I'm trying to utilize the server architecture for a project that I'm working on for Graduate school. I'm having a few problems with the compilation of the ryzom.sln file. I am building the project with Visual Studio 2008 Professional 32bit. I get the following error:

Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: class stlpx_std::basic_string<char,class stlpx_std::char_traits<char>,class stlpx_std::allocator<char> > _thiscall QString::toStdString(void)const " (_imp_?toStdString@QString@QBE?AV?$basic_string@DV?$char_traits@D@stlpx_std@V?$allocator@D@2@stlpx_std@XZ) referenced in function "public: virtual class QMenu * __thiscall Core::MenuManager::menu(class QString const &)const " (?menu@MenuManager@Core@UBEPAVQMenu@ABVQString@@@Z) menu_manager.obj

It pops up about 7 times and it looks to me like it doesn't recognize QT's libraries since QString isn't being recognized. I tried to check the linker but I cannot access it in my tool options.

Any help would be appreciated.


Replies (3)

RE: Can't build Ryzom.sln with windows - Added by molator over 4 years ago

Did you follow the wiki ?
http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake

You must use CMake.
The old sln are the legacy build system which is deprecated.

QT is only used by the tools.
If you're using stlport for NeL, you must use QT stlport:
http://dev.ryzom.com/wiki/ryzom/WindowsBinaries

RE: Can't build Ryzom.sln with windows - Added by shuawinn over 4 years ago

I guess I was following the deprecated version:
http://dev.ryzom.com/wiki/ryzom/BuildForWindows
I thought I could still use it. I am using the Cmake tool as well, not linking my libraries by hand.

I will give the new one a try real quick.

I have the QT stlport downloaded and put into my C:QT folder

RE: Can't build Ryzom.sln with windows - Added by molator over 4 years ago

The title of the other wiki is:
Building Ryzom Core on Windows (deprecated) :)

CMake can generate projects for windows, linux and macos.
The old solutions aren't up-to-date.

(1-3/3)