I just intergrated the intel compiler to Visual Studio 2015 works fine with all my projects which are MFC C++ except one which is a C makefile
I think I need to override the value for cc = icpc in win32.mak which I did but then there the default options can anyone help with this
Normally, you would open the cmd prompt window for your combination of ICL and VS and start your make command there.
Other possibilities might include copying the ICL start command shortcut into your makefile.
The cc = value is the value of a exe the exe had to be in path altnerativilly can you type in the entire path enclosed in quoutes e.g. "C:\program files(x86)\intelSWTools\compiler\......icl.exe"
Is that correct
I'll provide my entire path when I get home as anside is there a way to cut and paste an response here I right clicked and it doesn't seem to work also I would of thought the install of the compiler would of update the paths that would be needed to compile and link I guess things are simple for a Visual Studio build by nothing is simple for a makefile build
It's possible that you need to convert your visual studio makefile project into an intel compiler project. If you do that then visual studio may put ICL into visibility before launching the makefile. I normally use the command line, I believe you can access the conversion by right click on the project name.
thanks that did work with my other MFC C++ projects right clicking gave me the option of compiling with intel this however is nmake project
which makes it a nightmare I did a search on size_t but as you would imagine got a million references I know if I put some preprocessor option it will get rid of the error just trying to find the original definition of size_t
ICL should take the definition of size_t from the Visual Studio include files. If your program makes non-portable assumptions about size_t, it will break if you change from 32- to 64-bit mode.