Community
cancel
Showing results for 
Search instead for 
Did you mean: 
xs2222
Beginner
212 Views

win 7 64 bit and visual studio 2008 problem

Hello ,
I have a win 7 64 bit machine and visual studio 2008 pro installed , but i could for the life of me get vs to compile 64 bit,
the configuration manager in vs only has win32 and other mobile devices, but no x64
and i checked my vc++ install and it has x64 checked as well..
where am i goin wrong please help
thanks
J
0 Kudos
21 Replies
jimdempseyatthecove
Black Belt
204 Views

Did you install the 64-bit Visual Studio?

Try creating a VS C++ (MSVC++)"Hello world" console app then convert to x64.

If you cannot do that then the problem is not with ICC nor ICC integration to VS.

Check to verify that you have Win7 x64 installed (Windows 7 retail comes with both versions).

Also, Windows 7 has a Virtual PC capability. See that you are not running in a 32-bit Virtual PC.

Jim Dempsey
TimP
Black Belt
204 Views

The X64 option in Visual Studio installation is underneath the C++ support selection. As Jim mentioned, you need this, before installing or repairing ICL for Intel64. Then you will be able to switch your projects to X64 (they will start out as X86/32-bit). You would still require the Win7 X64, as Jim mentioned, in order to be able to run the 64-bit .exe.
xs2222
Beginner
204 Views

Hi Jim,
thanks for the reply, yes i tried to compile hello world app and eben then it does not have x64 in there,
it hasPocket PC 2003 (ARMV4) ,Smartphone 2003 (ARMV4) ,Windows Mobile 5.0 Pocket PC SDK (ARMV4I) ,
Windows Mobile 5.0 Smartphone SDK (ARMV4I) , but not x64.
and yes i do have win 7 x64 installed
and how do i find if win 7 is running 32 bit virtual pc .
and if it is not running 32 bit virtual pc what do i do next to fix this.
Thanks,
J
_heinz
Beginner
204 Views

Hi J,
if you install VS2008 you must select the 64Bit part explicit, normallystill the 32Bit part will be installed.
Try a custom installation, then you can choose all the parts you reallyneed.

heinz
JenniferJ
Moderator
204 Views

There is an article on the detail steps for installing the "x64 compiler & tools" of VS2005/2008 as well:

http://software.intel.com/en-us/articles/configuring-microsoft-visual-studio-for-64-bit-applications...

Jennifer
xs2222
Beginner
204 Views

Yes followed the instruction earlier and i have
"
if the box "X64 Compiler and Tools" is not checked, check it, then click Update. If the box is already checked, click Cancel.
"
yes i have the x64 compiler and tools checked..
i have tried all methods and it leads to a dead end still no way of coniguring x64 .
help !!!
_heinz
Beginner
204 Views

smithpd wrotes:
In addition to configuring Visual Studio to use "x64 Compiler and Tools", you must also install a 64 bit Intel compiler. To cross compile from IA32 development platform to X64 target platform you need Intel's "Product for IA-32/Intel 64". If you have only "Product for IA-32" installed, the cross compiler is hidden and will not be available, even when using the Microsoft compiler. I would suggest getting everything to run first using the Microsoft compiler alone and then switching it to the Intel compiler after that works
the fullarticle you find there:
http://software.intel.com/en-us/articles/building-intel-64-architecture-applications-in-microsoft-vi...

hoping this can help you
heinz
xs2222
Beginner
204 Views

Hi Heinz,
i have followed this article step by step earlier with the same result , in the drop down configutaion manager
i have Itanium and other smartphone dvices and not x64..
for the life of me i have no clue..
can i remove evrything including the sdk and reinstall from scratch ???
thanks
j
xs2222
Beginner
204 Views

Hi Heinz,
how do i install a 64 bit intel compiler ??
if you can guide me that would be awsome
TimP
Black Belt
204 Views

You may as well remove all the Itanium tools, unless you have an Itanium target.
The only changes you should need to go from 32- to 64-bit on Windows X64 are:
1: add the c++/X64 tools in Visual Studio setup
2: download and install the ICL for Intel64 which is covered by your license (either from the separate Intel64 download or the combined ia32/intel64 mentioned by Hubert)
3. set your projects to Intel C++ and X64
xs2222
Beginner
204 Views

Surely compiling a 64 c++ compilation should be this hard ...
this is more than frustrating, have tried every single method, still could not get x64 on my conig manager in vs2008 pro,
and where do i get ICL for intel64 from when i do a web search i end with nothing...
w_cprof_p_11.1.054 would installing this solve the problem ?

i have even removed everything from the computer and reinstalled it , still no luck
xs2222
Beginner
204 Views

Hi Tim,
have tried everything except the icl for intel64 , where do i get it from tried web search end up with nothing...
please help
thanks
J
xs2222
Beginner
204 Views

I have win sdk 6.0A , 6.1, abd 7.0 installed in my computer... i read in a web page that icl does not install 64 bit
on win sdk 7.0 ..
so what do i do ?
thanks
J
xs2222
Beginner
204 Views

Hi Tim,
1 . added it is there
2. dowldaed thissde-ivb-external-3.88-2010-12-21-win-intel64-and-ia32
3. no x64 availabe yet
thanks
J
TimP
Black Belt
204 Views

The sde is a different thing from the compilers. On https://registrationcenter.intel.com, sign in with your support account, or, if you haven't done so, first register your license to create a support account. Then you can view the downloads availabe for your license, which would include the intel64 counterparts to the ICL for ia32.
xs2222
Beginner
204 Views

Hi Tim,
thanks done that , and when i open vs2008 i have the option of intel c++ compiler, but when i run it says
using Compiling with Intel C++ 11.1.054 [IA-32]... (Intel C++ Environment)
and i coul not chage it to x64 in the config , the project platform still says WIN32 ...
and in vs 2008 the configuration manager Active solution platform still list win32 and none other..
thanks
j
xs2222
Beginner
204 Views

Hi Tim,
sorry i am able to change the it x64 in th intel c++ compiler tools option, but not within vs 2008 tool vc++ ,
is this normal... and if so is thsi compiling 64 bit , but why does it say
Deleting intermediate files and output files for project 'hw', configuration 'Debug|Win32'.
1>Compiling with Intel C++ 11.1.054 [IA-32]... (Intel C++ Environment)
Deleting intermediate files and output files for project 'hw', configuration 'Debug|Win32'.1>Compiling with Intel C++ 11.1.054 [IA-32]... (Intel C++ Environment)
or is this what it should look like..
and when i try to compile the softare plugin itself i get
error LNK2019: unresolved external symbol " (i know this is vs 2008 error , but if you could help me on this as well it would be great
thanks
j
xs2222
Beginner
204 Views

this is my preprocessor definition
WIN32;NDEBUG;_WINDOWS;NT_PLUGIN;_USRDLL;MM_EXPORTS
i have my header abd library setting done as well..
but still complains of link error...
TimP
Black Belt
204 Views

You do need to find where to change your project to X64; it's not entirely obvious to me either; I don't do this often. All your objects and libraries need to be built with /machine:X64 (or AMD64). When you switch to X64, it should automatically want to rebuild everything where you have source, but won't necessarily take care of 32-bit libraries and objects you may have in the project.
Maybe someone here could be of more help if you attach a complete build log, after you get into X64 mode.
I don't think the defines are a problem, although they may change slightly if you get the project set to X64.