Revision 976 success (Windows Vista, CMake and VS 2008 Pro)

Added by sm3 over 4 years ago

Kervala,

I was able to build revision 977 with only 1 change to an include file location for ligo using these instructions:

http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake

By the time I put it here you'll probably have fixed it in version control.

========== Build: 131 succeeded, 0 failed, 1 up-to-date, 3 skipped ==========

Thanks again for the help!

Steve

p.s. I had the wrong changeset. It's 976 vice 977.


Replies (6)

RE: Revision 977 success (Windows Vista, CMake and VS 2008 Pro) - Added by molator over 4 years ago

I have only tested CMake VS 2008 Express build on Windows XP, with success.

RE: Revision 977 success (Windows Vista, CMake and VS 2008 Pro) - Added by sm3 over 4 years ago

Oh, cool! It didn't build for me with Express 2008. I guess I will have to try again.

Thanks,

Steve

RE: Revision 977 success (Windows Vista, CMake and VS 2008 Pro) - Added by molator over 4 years ago

VS 2008 Express doesn't include the MFC, you will need at least the DDK to build some tools.

http://dev.ryzom.com/wiki/ryzom/BuildMFCCodeVC++Express

RE: Revision 976 success (Windows Vista, CMake and VS 2008 Pro) - Added by sm3 over 4 years ago

Right,

I think I may have removed the Windows DDK. I was following the example here:

http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake

Just trying it out in case the MFC stuff was not needed now. It's OK for me, at least 2008 Pro compiles!

Here is the change I made:

Changeset 976

nel\src\ligo\zone_bank.cpp

#include "zone_bank.h"

changed to:

#include "nel/ligo/zone_bank.h"

Steve

RE: Revision 976 success (Windows Vista, CMake and VS 2008 Pro) - Added by sm3 over 4 years ago

I remember now, when I tried with VS 2008 Express and following this example: http://dev.ryzom.com/wiki/ryzom/BuildForWindowsCmake

I didn't get that window that allows you to choose a generator and select Visual Studio 9 2008. Maybe something has changed with CMake version 2.8.2 I'm using. It didn't build the *.sln file.

When I switched to using VS 2008 Pro I just did the cmake .. and then opened the *.sln file in VS.

I don't want to change anything in the wiki being a new guy. Maybe it's just a dumb mistake I'm making.

Steve

RE: Revision 976 success (Windows Vista, CMake and VS 2008 Pro) - Added by sfb over 4 years ago

sm3,

I fixed the header include in changeset 978 (006268465b31) - thank you for bringing this to our attention.

sfb
/s

(1-6/6)