Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

cmake error trying to build latest from source

Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
10-20-2008 18:02
I get the following when trying to run cmake to build the latest client (21.6), for Windows.

BTW, the instructions leave out a few things. At the very least, you need python installed, which it doesn't cover. I installed cygwin, including installing all development, and I added C:/cygwin/bin to my Windows PATH directory. Cygwin includes Python, and it works fine with my other Python scripts.

Also, apparently you need MS Visual C++. I installed version 9. It comes up when run. (That's covered, sort of, in a section on how to compile older versions. The cmake stuff needs to get cleaned up.)

This is a new machine; installing a development system for the first time on it. I'm a software engineer, but I do all my pro work on Unix.



sh-3.2$ python develop.py -G VC90
Running 'cmake -G "Visual Studio 9 2008" -DUNATTENDED:BOOl=FALSE -DSTANDALONE:BOOL=FALSE "" "c:\\BUILD\\SL\\linden\\indr
a"' in 'build-VC90'
CMake Error: Could not create named generator Visual Studio 9 2008

I get a similar error running it without arguments, or passing -G VC80.

Any clue what's going wrong and what to do to fix it?

If I run cmake from Programs menu, it fails to find Python, but I led it to it. After that, it fails to find or unpack prebuilt ogg-vorbis. I had to guess where to build the binaries ...

Thanks!
Jeff
Opensource Obscure
Hide UI
Join date: 5 Jun 2008
Posts: 115
10-23-2008 06:20
I assume you already know that a better place where to ask this question may be the sldev mailing list.
https://lists.secondlife.com/cgi-bin/mailman/listinfo/sldev

By the way, I know (more or less...) how to build the Linux viewer using cmake, but I'd be interested in learning to build (on Linux) a Windows viewer. This should be covered by the SL official wiki but I never tried to. Should you manage to do that, please let us know..
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
10-23-2008 08:37
/me truely does not like that the open source crowd only has a mailing list. A forum would be much better, IMO.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
10-23-2008 16:51
heh all you have to do is get them to see it that way, and wait till hell freezes over, like every other thing on the forums
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
10-28-2008 04:22
From: Opensource Obscure
I assume you already know that a better place where to ask this question may be the sldev mailing list.
https://lists.secondlife.com/cgi-bin/mailman/listinfo/sldev

By the way, I know (more or less...) how to build the Linux viewer using cmake, but I'd be interested in learning to build (on Linux) a Windows viewer. This should be covered by the SL official wiki but I never tried to. Should you manage to do that, please let us know..


No, I had no idea, and don't know where I would have found that. Perhaps it's mentioned somewhere in all the pages on building the client, but I missed it every time. Thanks for the pointer!
Lear Cale
wordy bugger
Join date: 22 Aug 2007
Posts: 3,569
10-28-2008 11:02
Big thanks to Jodiah Jenson and Michelle Zenovka, whose pages on compiling the latest viewer helped me through:

https://wiki.secondlife.com/wiki/User:Jodiah_Jensen

https://wiki.secondlife.com/wiki/User:Michelle2_Zenovka/cmake#boost_hell

However, for anyone wading in, I'd recommend using the 2005 version of VC++. Otherwise, it seems you'll end up in "boost hell" with the rest of us ("boost" being some lib provided as dll and which is incompatible with code generated using VC++ 2008 V9).