Is it possible to integrate into an application compiled with Visual Studio compiler a DLL compiled with Intel C++ Compiler ?
Are there some special settings to pay attention to for integration?
There seems to be some compatibility options for using Intel C++ Compiler while being compatible with the Visual Studio framework, see https://software.intel.com/en-us/articles/intel-c-compiler-compatibility-with-microsoft-visual-c
Compatibility Options
The following Intel® Compiler options provide compatibility with
different versions of Microsoft Visual C++:
/Qvc8 Microsoft Visual C++ 2005
/Qvc9 Microsoft Visual C++ 2008
/Qvc10
Microsoft Visual C++ 2010
Related
I need to change the compiler of microsoft in visual studio 2017 c++ professional to another one like gcc .. how can i do that?
By following the instructions.
Microsoft Visual Studio 2017 supports several C++ compilers to suit a wide variety of codebases. In addition to the Microsoft Visual C++ compiler that many of you are likely familiar with, Visual Studio 2017 also supports Clang, GCC, and other compilers when targeting certain platforms.
To use intel fortran in windows environment with other commercial software package, pre-requisite is to have Microsoft Visual C++:
Microsoft Visual C++ 2010 x64 cross tools
If I check my installed programs, I see that "Microsoft Visual C++ 2010 x64 redistributable 10.0.40219"
Is "Microsoft Visual C++ 2010 x64 redistributable 10.0.40219" different from "Microsoft Visual C++ 2010 x64 cross tools"?
Over the web, I read that to have Microsoft Visual C++ 2010 x64 cross tools, I need to install MS visual studio 2010.
Do I have to purchase MS visual studio to have "Microsoft Visual C++ 2010 x64 cross tools" ?
So I am confused !
Thanks in advance for your prompt response !
Redistributables are just the libraries you are permitted to install to get msvc built applications to run on the client system.
It is not the same as having msvc 2010 installed on a system.
Things with different names are generally different things, even if part of the name is similar.
I want to give the Intel C and C++ compilers a shot but... I intend to totally avoid Visual Studio (unless there's a runtime dependency.) My machine already has several different versions of the VS runtime as it cannot be avoided.
Does Intel state anywhere what the dependencies are? I've seen notes almost everywhere but from Intel that state what they need from Visual Studio so I'm not interested in anecdotals here.
From the release notes for Intel C++ Composer XE for Windows:
To use the Microsoft Visual Studio development environment or command-line tools to
build IA-32 or Intel® 64 architecture applications, one of:
o Microsoft Visual Studio 2012* Standard Edition (or higher edition) with C++
component installed
o Microsoft Visual Studio 2010* Standard Edition (or higher edition) with C++ and
“X64 Compiler and Tools” components installed [1]
o Microsoft Visual Studio 2008* Standard Edition (or higher edition) with C++ and
“X64 Compiler and Tools” components installed [1]
To use command-line tools only to build IA-32 architecture applications, one of:
o Microsoft Visual C++ Express 2012 for Windows Desktop*
Intel® C++ Composer XE 2013 for Windows*
Installation Guide and Release Notes 5
o Microsoft Visual C++ 2010* Express Edition
o Microsoft Visual C++ 2008* Express Edition
To use command-line tools only to build Intel® 64 architecture applications:
o Microsoft Windows Software Development Kit Update for Windows 7* and .NET
Framework 4*
So if you want to use it without a paid for version of VS it seems you are limited to command line compilation and VS Express.
The compiler is available for Linux though if that is an alternative.
Edit: the notes also says this:
Command-line development can be done with Visual Studio 2012 Express
Edition. Unlike earlier versions, Visual Studio 2012 Express Edition
supports both 32-bit and 64-bit commandline development, so no other
Platform SDK should be necessary for 64-bit development.
When i write source files in visual studio 2013 and attempt to use the same source files for visual studio 2008, the files have syntax errors. Is it possible for visual studio 2013 to mimic the way that visual studio 2008 compiles?
The language I'm using is C++.
Visual C++ in VS2013 allows c++ 11 compliant code but VS2008 does not, so any syntax you use which is new to the standard will not compile under VS2008. You can either remove the syntax or look into the c++ futures libraries in VS2008 to see if what you need is there, or maybe in boost.
http://msdn.microsoft.com/en-us/library/bb982198(v=vs.90).aspx
and
http://www.boost.org/
New versions of VS tend to do the following which will break compatibility with older versions.
Support new C++ standards
Increase conformance with existing standards
Deprecate/remove proprietary extensions and incorrect implementations
Generally speaking, ISO standard C++ is backward compatible (there will always be some exceptions), which means most of the older syntax will compile on newer standards. So you will likely have more success if you create the sources first in VS2008 and then "migrate" to VS2013 (rather than create it in VS2013 first which may have incompatible syntax with VS2008).
I have a 32-bit ATL C++ in-proc COM server soultion. How do I port it to 64-bit Windows? I mean how do I make VC++7 emit 64-bit code? Is it possible with Visual Studio 2003?
You need a 64bit compiler that will compile long to a 64bit long. The version which was shipped in VS2005 would do. Later versions of Visual C++ and Windows SDK have higher versions of the compiler. 64bit support is disabled in standard or lower versions of Visual C++ but not in the freely available Windows SDK. Other compiler providers like Intel have their own products that supports Visual Studio and 64 bit.
64 bits support is new with VS 2005, aka VC++8
Have a look at VSItanium . From the description:
The VSItanium plugin for Visual Studio .NET 2003 allows to compile Win32 Visual C++ projects with several external compilers, actually the Microsoft SDK 64bit Itanium and AMD Opteron compiler as well as the Intel C++ Itanium compiler.
Concerning compiler choice -- if migrating to a newer VS version is not an option because of reliance on cl 13 (VS 2005 uses cl 14), you should be able to find a cl 13 supporting IA-64 and amd64 in WDK 3790.1830, IIRC. There should be an old SDK with a 64 bit-supporting cl 13, but I do not know which one.
If your project builds fine with newer compilers, you basically have free choice of WDK and SDK versions.