Haven't been able to set up MSVC++ Express to target for x64.
I installed all updates, including .Net Framework 4, and searched internet for more info on the error I keep getting:
The "ConfigurationGeneral" rule is missing from the project.
Win32 works OK.
Is there a way to download a C++ compiler that targets x64, and then use it from within the MSVC++ Express environment?
Setting up MS Visual C++ Express to target for 64-bit (x64)
Moderators: hgm, Rebel, chrisw
-
- Posts: 44
- Joined: Wed Apr 13, 2011 12:43 pm
-
- Posts: 879
- Joined: Mon Dec 15, 2008 11:45 am
Re: Setting up MS Visual C++ Express to target for 64-bit (x
Hello Stef,sluijten wrote:Haven't been able to set up MSVC++ Express to target for x64.
I installed all updates, including .Net Framework 4, and searched internet for more info on the error I keep getting:
The "ConfigurationGeneral" rule is missing from the project.
Win32 works OK.
Is there a way to download a C++ compiler that targets x64, and then use it from within the MSVC++ Express environment?
maybe you ll find your solution here...
http://jenshuebel.wordpress.com/2009/02 ... t-targets/
When i did my vs2008 x64 setup (it s a while back) someone provided
a little batch file (look to the comments by Xia Wei...) which updates the registry after you followed the steps like sdk update and so on... works flawless
Michael
-
- Posts: 1600
- Joined: Mon Feb 21, 2011 9:48 am
Re: Setting up MS Visual C++ Express to target for 64-bit (x
Surely the above answer is good,
but I recommend you try to open any existing project that has the settings made ​​for 64bit, if you examine everything will be easier,
maybe you have it all installed and some small detail escapes.
To me, I step.
to luck.
but I recommend you try to open any existing project that has the settings made ​​for 64bit, if you examine everything will be easier,
maybe you have it all installed and some small detail escapes.
To me, I step.
to luck.
-
- Posts: 183
- Joined: Tue Jun 20, 2006 4:41 am
- Location: USA
Re: Setting up MS Visual C++ Express to target for 64-bit (x
These steps seemed to work for me with MSVC++ 2010 Express. (I think 2008 and 2005 versions work differently.)
1. Install "Visual C++ 2010 Express"
2. Install "Microsoft Windows SDK 7.1"
3. In your VC++ Project, go to "Properties" > "Configuration Properties" > "General" and change "Platform Toolset" from the default "v100" to "Windows7.1SDK".
4. In the configuration manager for your project, you should be able to add a new platform "x64". Details here: http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
1. Install "Visual C++ 2010 Express"
2. Install "Microsoft Windows SDK 7.1"
3. In your VC++ Project, go to "Properties" > "Configuration Properties" > "General" and change "Platform Toolset" from the default "v100" to "Windows7.1SDK".
4. In the configuration manager for your project, you should be able to add a new platform "x64". Details here: http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
-
- Posts: 44
- Joined: Wed Apr 13, 2011 12:43 pm
Re: Setting up MS Visual C++ Express to target for 64-bit (x
My problem is that the property pages for x64 are empty and I cannot add any references. Even if I check 'copy settings from Win32' when adding the x64 solution platform, the x64 property pages remain empty.
Also tried uninstalling & installing MS VC++ express, Windows 7.1 SDK
Also tried uninstalling & installing MS VC++ express, Windows 7.1 SDK
-
- Posts: 44
- Joined: Wed Apr 13, 2011 12:43 pm
Re: Setting up MS Visual C++ Express to target for 64-bit (x
also posted in MSDN VC++ forum
Intel® Core™ i3-330M Processor
Intel® Core™ i3-330M Processor
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: Setting up MS Visual C++ Express to target for 64-bit (x
Hi Stef,
look again at the post of Michael Hoffmann above, he gave a link with more details about which registry keys would have to be fixed and what else would have to be done (for VS2008, adapting for VS2010 is hopefully possible).
I have also repeated the same steps as you did, and have reached the same state (empty property page so far), so you can be pretty sure it is not a local problem of your installation.
Sven
look again at the post of Michael Hoffmann above, he gave a link with more details about which registry keys would have to be fixed and what else would have to be done (for VS2008, adapting for VS2010 is hopefully possible).
I have also repeated the same steps as you did, and have reached the same state (empty property page so far), so you can be pretty sure it is not a local problem of your installation.
Sven
-
- Posts: 1154
- Joined: Fri Jun 23, 2006 5:18 am
Re: Setting up MS Visual C++ Express to target for 64-bit (x
I was never able to get express to compile for 64 bit...it only started working for me when I started using the full version.
-Sam
-Sam
-
- Posts: 879
- Joined: Mon Dec 15, 2008 11:45 am
Re: Setting up MS Visual C++ Express to target for 64-bit (x
The steps i did (vs2008):
TIP:
===================
if you think you installation of the mentioned packages is not broken,
just start with step 3.
1: preperation
================
- download batch files of "xia-wei".
- download ms vstudio (and service packs if available)
- windows sdk
2: installation
===================
- install ms vs
- install service packs (if available)
- install windows sdk
3: setup
===================
a: batchfile reading
- do _NOT_ install or run batch files, but have a look what files it is updating
b: replace files (manual,only 4 files i think)
folder: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
* AMD64.VCPlatform,
* Itanium.VCPlatform,
* VCProjectAMD64Platform.dll
* VCProjectIA64Platform.dll
- save these files somehow and replace them with the files of "Xia Wei"
- DONE!
For me a clean installation of the above mentioned packages and _only_ replacing
the four files mentioned is doing the job. If this doesnt help you, you may run
the patch of Xia Wei, which updates additionally the registry automatic.
(i had the same difficulties until i figured out what was really needed, i even
did not need the registry updates... But as i mentioned, because it is a while
back i hope i did not forget sth. important. I bet it is that easy also for
vs 2010, just replace the four files mentioned)
good luck
Michael
TIP:
===================
if you think you installation of the mentioned packages is not broken,
just start with step 3.
1: preperation
================
- download batch files of "xia-wei".
- download ms vstudio (and service packs if available)
- windows sdk
2: installation
===================
- install ms vs
- install service packs (if available)
- install windows sdk
3: setup
===================
a: batchfile reading
- do _NOT_ install or run batch files, but have a look what files it is updating
b: replace files (manual,only 4 files i think)
folder: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
* AMD64.VCPlatform,
* Itanium.VCPlatform,
* VCProjectAMD64Platform.dll
* VCProjectIA64Platform.dll
- save these files somehow and replace them with the files of "Xia Wei"
- DONE!
For me a clean installation of the above mentioned packages and _only_ replacing
the four files mentioned is doing the job. If this doesnt help you, you may run
the patch of Xia Wei, which updates additionally the registry automatic.
(i had the same difficulties until i figured out what was really needed, i even
did not need the registry updates... But as i mentioned, because it is a while
back i hope i did not forget sth. important. I bet it is that easy also for
vs 2010, just replace the four files mentioned)
good luck
Michael
-
- Posts: 879
- Joined: Mon Dec 15, 2008 11:45 am
Re: Setting up MS Visual C++ Express to target for 64-bit (x
just a note, Xia Wei provides several patches, just because you should pick the one for your needs.Desperado wrote:The steps i did (vs2008):
TIP:
===================
if you think you installation of the mentioned packages is not broken,
just start with step 3.
1: preperation
================
- download batch files of "xia-wei".
- download ms vstudio (and service packs if available)
- windows sdk
2: installation
===================
- install ms vs
- install service packs (if available)
- install windows sdk
3: setup
===================
a: batchfile reading
- do _NOT_ install or run batch files, but have a look what files it is updating
b: replace files (manual,only 4 files i think)
folder: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC
* AMD64.VCPlatform,
* Itanium.VCPlatform,
* VCProjectAMD64Platform.dll
* VCProjectIA64Platform.dll
- save these files somehow and replace them with the files of "Xia Wei"
- DONE!
For me a clean installation of the above mentioned packages and _only_ replacing
the four files mentioned is doing the job. If this doesnt help you, you may run
the patch of Xia Wei, which updates additionally the registry automatic.
(i had the same difficulties until i figured out what was really needed, i even
did not need the registry updates... But as i mentioned, because it is a while
back i hope i did not forget sth. important. I bet it is that easy also for
vs 2010, just replace the four files mentioned)
good luck
Michael
Michael