[sldev] [HELP] Can't create vc80 project

Robin Cornelius robin.cornelius at gmail.com
Sat Jan 24 03:33:21 PST 2009


Mikkel Hansen wrote:
> Well, I was able to create the project files for vc90, but not vc80 (and
> yes, I do have VC++2005 installed.) I get this error when I run:
> develop.py -G vc80

> C:\dev\linden2\indra>develop.py -G vc80
> Running 'cmake -G "Visual Studio 8 2005" -DSTANDALONE:BOOL=OFF
> -DUNATTENDED:BOOL
> =OFF "" "C:\\dev\\linden2\\indra"' in 'build-vc80'
> -- Check for working C compiler: cl
> -- Check for working C compiler: cl -- broken
> CMake Error: The C compiler "cl" is not able to compile a simple test
> program.
> It fails with the following output:

> 1>LINK : fatal error LNK1104: cannot open file 'user32.lib'

The wonders of VS2005 express, for some reason its default install is
not configured with any windows API paths. 2008 is ok for this as is non
express.

What you need to do, is configure the paths inside VS2005. Open it up
and go to tools->options, in the window that opens up select, Projects
and Solutions -> VC++ Directories, then in "show directorys for" combo
select Include Files

Add the new path

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

then change the combo to Library Files and add a new path

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

Close VS and go back to your cmake, it should all work now.

We need to wiki these steps and caveats for VS2005 Express somewhere

Robin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20090124/01460f41/signature.pgp


More information about the SLDev mailing list