How to build 64-bit application using VS c++ 2008 express?

anandharaja

In the zone
hi,
i like to build blender for 32 and 64-bit versions, but i successfully build 32-bit version. how can i build 64-bit version of blender.
 

Neuron

Electronic.
Google,it's always there.

Configuring Microsoft Visual Studio* for 64-bit Applications - Intel® Software Network
Seven Steps of Migrating a Program to a 64-bit System - Intel® Software Network
 
OP
anandharaja

anandharaja

In the zone
Google,it's always there.

Configuring Microsoft Visual Studio* for 64-bit Applications - Intel® Software Network
Seven Steps of Migrating a Program to a 64-bit System - Intel® Software Network

first i compile source file with cmake then i build with vs c++ 2008

if i select Visual studio 9 2008 win 64 i got the following error

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/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "cl" is not able to compile a simple test program.

It fails with the following output:

Change Dir: D:/Blender/Bmesh/build/win64/CMakeFiles/CMakeTmp



Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\VCExpress.exe
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec



Microsoft (R) Visual C++ Express Edition Version 9.0.21022.8.

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:97 (project)


Configuring incomplete, errors occurred!
 

Neuron

Electronic.
I found this in the blender wiki page.This should be what you are looking for.
Dev:2.5/Doc/Building Blender/Windows/Visual C++ 2008 Express - BlenderWiki
 
OP
anandharaja

anandharaja

In the zone
Thanks Neuron
For Windows SDK, what version i need to download X86 or X64
Download: Microsoft Windows SDK 7.1 - Microsoft Download Center - Download Details
 

Neuron

Electronic.
Thanks Neuron
For Windows SDK, what version i need to download X86 or X64
Download: Microsoft Windows SDK 7.1 - Microsoft Download Center - Download Details

The download package contains both x86 and 64 versions.I think i read somewhere in there that you need 64bit windows 7 to successfully compile whatever you are trying to compile.If you have 64bit version of windows just download and install it,windows will automatically choose the 64bit SDK files.
 
OP
anandharaja

anandharaja

In the zone
AMD64.VCPlatform.Config file not available in Program Files(x86)\Microsoft Visual Studio 9.0\VC\vcpackages i installed .net framework and SDK.

What version of SDK i need to install for visual studio c++ 2008 express edition?
 

Neuron

Electronic.
AMD64.VCPlatform.Config file not available in Program Files(x86)\Microsoft Visual Studio 9.0\VC\vcpackages i installed .net framework and SDK.

What version of SDK i need to install for visual studio c++ 2008 express edition?

Probably you haven't followed the steps correctly.You better create a thread in blender forums.They will help you out.
Blender.org :: Index
 
OP
anandharaja

anandharaja

In the zone
Thanks Neuron for your support.
i downloaded Windows 7 SDK .Net framework 3.5 with SP1, now my problem solved, happily i build 64-bit application.
 
Top Bottom