VS 2010 & Ryzom

Added by pavelb over 3 years ago

I need help with installation on the environment where installed VS 2010. I have followed all the instructions, at least I think that I followed. I even installed C++ 2008 Express. However, when I try to create project using CMake I get the error.
I never have worked before using anything except VS itself. So, if anyone can help me with the installation the environment, I'd very appreciate it.

@Check for working CXX compiler using: Visual Studio 9 2008
Check for working CXX compiler using: Visual Studio 9 2008 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE):
The C++ compiler "cl" is not able to compile a simple test program.

It fails with the following output:
Change Dir: C:/Projects/MyProjects/Ryzom/Ryzom/code/code/build/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec
Microsoft (R) Visual Studio Version 9.0.30729.1.
Copyright (C) Microsoft Corp.  All rights reserved.
'C:\Projects\MyProjects\Ryzom\Ryzom\code\code\build\CMakeFiles\CMakeTmp\ALL_BUILD.vcproj'
cannot be opened because its project type (.vcproj) is not supported by
this version of the application.
To open it, please use a version that supports this type of project.
'C:\Projects\MyProjects\Ryzom\Ryzom\code\code\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcproj'
cannot be opened because its project type (.vcproj) is not supported by
this version of the application.
To open it, please use a version that supports this type of project.
Invalid project
Use:
devenv [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:
/Build        Builds the solution or project with the specified solution
configuration.  For example "Debug".  If multiple platforms
are possible, the configuration name must be enclosed in quotes
and contain platform name.  For example: "Debug|Win32".
/Clean        Deletes build outputs.
/Command    Starts the IDE and executes the command.
/Deploy        Builds and then deploys the specified build configuration.
/Edit        Opens the specified files in a running instance of this
application.  If there are no running instances, it will
start a new instance with a simplified window layout.
/LCID        Sets the default language in the IDE for the UI.
/Log        Logs IDE activity to the specified file for troubleshooting.
/NoVSIP        Disables the VSIP developer's license key for VSIP testing.
/Out        Appends the build log to a specified file.
/Project    Specifies the project to build, clean, or deploy.
Must be used with /Build, /Rebuild, /Clean, or /Deploy.
/ProjectConfig    Overrides the project configuration specified in the
solution
configuration.  For example "Debug".  If multiple platforms are
possible, the configuration name must be enclosed in quotes
and contain platform name.  For example: "Debug|Win32".
Must be used with /Project.
/Rebuild    Cleans and then builds the solution or project with the
specified configuration.
/ResetAddin    Removes commands and command UI associated with the specified
Add-in.
/ResetSettings    Restores the IDE's default settings, optionally resets to
the specified VSSettings file.
/ResetSkipPkgs    Clears all SkipLoading tags added to VSPackages.
/Run        Compiles and runs the specified solution.
/RunExit    Compiles and runs the specified solution then closes the IDE.
/SafeMode    Launches the IDE in safe mode loading minimal windows.
/Upgrade    Upgrades the project or the solution and all projects in it.
A backup of these files will be created as appropriate.  Please
see Help on 'Visual Studio Conversion Wizard' for more
information on the backup process.
Product-specific switches:
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:45 (PROJECT)

Configuring incomplete, errors occurred!@


Replies (32)

RE: VS 2010 & Ryzom - Added by molator over 3 years ago

You must use DirectX 9 SDK.

RE: VS 2010 & Ryzom - Added by kervala over 3 years ago

It seems like if you installed correctly DirectX SDK, the installer setup for you a DXSDK_DIR environment variable and we are using it to detect DirectX SDK root folder.

Edit: I will add more standard paths to FindDirectXSDK.cmake

RE: VS 2010 & Ryzom - Added by pavelb over 3 years ago

Variable is OK. see attachment.

RE: VS 2010 & Ryzom - Added by pavelb over 3 years ago

I figured out what happened.
Apparently, "Delete Cache" does not delete stored Environment Variables from the memory. After DirectX SDK installation CMake must be re-opened. Now I passed this part and get another error :(.

MSVCP100.png (124 kB)

RE: VS 2010 & Ryzom - Added by molator over 3 years ago

If you're building the client,
uncheck WITH_NEL_TOOLS and WITH_RYZOM_TOOLS.
Some old tools are using the MFC.

RE: VS 2010 & Ryzom - Added by kervala over 3 years ago

pavelb wrote:

I figured out what happened.
Apparently, "Delete Cache" does not delete stored Environment Variables from the memory. After DirectX SDK installation CMake must be re-opened. Now I passed this part and get another error :(.

That's not an error :) If you notice, it's written "Warning".

RE: VS 2010 & Ryzom - Added by pavelb over 3 years ago

Actually this issue can be closed. It is not related anymore to VS2010 & Ryzom. Apparently, it works with VS2010.

Thanks everyone for help!!!!!

P.S. Riggght. It is warning :).

« Previous 1 2 (26-32/32)