Problems with compiling source (runcmake, autobuild)
Sebastian Andersson <[email protected]> Wed, 11 Jan 2012 15:31:16 +0100
| Newsgroups | gmane.comp.version-control.cvs.tortoisecvs.user |
|---|---|
| Message-ID | <[email protected]> |
Hello!
I have recently started getting my head around how to compile and build the source of TortoiseCVS. I have tried to follow the online instructions as best I have could, but failed.
Steps gone through so far:
Checked out sources (TortoiseCVS and po dirs)
Installed flex, bison, m4, CMake (2.8.7),
Express Edition of
Visual C++ 9.0 (Visual Studio 2008),
Windows SDK
wxWidgets
Currently the problem that I am facing lies with the runcmake bat-files:
c:\SANDERS2\TortoiseCVS\build>runcmake-vc9.bat
-- (+) VC++ specific options enabled.
-- Configuring done
-- Generating done
-- Build files have been written to: C:/SANDERS2/TortoiseCVS/build/vc9Win32
-- Check for working C compiler using: Visual Studio 9 2008 Win64
-- Check for working C compiler using: Visual Studio 9 2008 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTes
tCCompiler.cmake:52 (MESSAGE):
The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
10.0/VC/bin/amd64/cl.exe" is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/SANDERS2/TortoiseCVS/build/vc9x64/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\VCExpress.exe
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual C++ Express Edition Version 9.0.30729.1.
Copyright (C) Microsoft Corp 2007. All rights reserved.
The project consists entirely of configurations that require support for
platforms which are not installed on this machine. The project cannot be
loaded.
The project consists entirely of configurations that require support for
platforms which are not installed on this machine. The project cannot be
loaded.
Invalid project
Use:
vcexpress [solutionfile | projectfile | anyfile.ext] [switches]
The first argument for devenv is usually a solution file or project file.
You can also use any other file as the first argument if you want to have
the
file open automatically in an editor. When you enter a project file, the
IDE
looks for an .sln file with the same base name as the project file in the
parent directory for the project file. If no such .sln file exists, then
the
IDE looks for a single .sln file that references the project. If no such
single
.sln file exists, then the IDE creates an unsaved solution with a default
.sln
file name that has the same base name as the project file.
Command line builds:
devenv solutionfile.sln /build [ solutionconfig ] [ /project
projectnameorfile [ /projectconfig name ] ]
Available command line switches:
/Log Logs IDE activity to the specified file for troubleshooting.
/ResetSettings Restores the IDE's default settings, optionally resets to
the specified VSSettings file.
/SafeMode Launches the IDE in safe mode loading minimal windows.
Product-specific switches:
/debugexe Open the specified executable to be debugged. The
remainder of the command line is passed to this
executable as its arguments.
/useenv Use PATH, INCLUDE, LIBPATH, and LIB environment variables
instead of IDE paths for VC++ builds.
To attach the debugger from the command line, use:
VsJITDebugger.exe -p <pid>
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:20 (PROJECT)
-- Configuring incomplete, errors occurred!
c:\SANDERS2\TortoiseCVS\build>
Any tips would be very helpful!
Also, if someone could give general instructions on how to carry on the compilation/build process that would be swell. I have searched the mail-list-archives and looked through the autobuild file, but I think I need more help than that.
Best regards,
Sebastian
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users