Tags "visual-studio" Result

How to Detect if I'm Compiling Code with a particular Visual Studio version?

Is there any way to know if I'm compiling under a specific Microsoft Visual Studio version? Solution _MSC_VER and possibly _MSC_FULL_VER is what you need. You can also examine visualc.hpp in any recent boost install for some usage examples. Some values for the more recent versions of the compiler are: MSVC 14.24 _MSC_VER == 1924 (Visual Studio

it1352 1 2020-07-26

Using Visual Studio Command Prompt Tools Everywhere

How can I use the tools included in the VS command prompt (Programs | MS Visual Studio 2008 | Visual Studio Tools | Visual Studio 2008 Command Prompt) from any command prompt (ie without calling vcvarsall.bat) or program? Solution The easiest way to do this is to add the PATH, INCLUDE, LIB and LIBPATH environment variables that are listed in the v

it1352 3 2019-05-14

Build failed with cstdio and cstdlib errors in visual C

Errors: 1>------ Build started: Project: alglibTest, Configuration: Debug Win32 ------ 1>Build started 5/22/2011 12:52:26 PM. 1>InitializeBuildStatus: 1> Touching "Debug\alglibTest.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>c:\program files\microsoft visual studio 10.0\vc\include\cstdio(38): error C2054: expected '(' to

it1352 1 2020-07-26

What compiler is in Visual Studio 2015

Can anyone tell me what compiler is built-in to Visual Studio 2015 for C projects? I tried it and tried older version compilers and it's giving me other compiling results. Is it GNU C version 4.8.2 or a newer version? Solution They have their own compiler that goes by Visual C _____ Here is a mapping of the IDE version to the compiler ver

it1352 0 2020-07-26

MSVCP120d.dll missing

Every time I want to compile my Visual Studio project I get the message that MSVCP120d.dll is missing. Google can't help me. I already installed some redistributables but they didn't help. I also found this: Msvcp120d.dll Debug version of C runtime. No redistribution allowed. http://msdn.microsoft.com/en-us/library/windows/hardware/d

it1352 4 2019-05-10

Header correct, but identifier not found

I have two projects (x64). A. Written in C (wxWidgets) --- edit: its in C ! B. Written in C A compiles fine, but B (which uses functions of A) gives several errors when I try to compile. I suggest that the reason for the errors is the same for all, so I mention only the first. It says: strlen: identifier not found In the file which give

it1352 3 2019-05-10

Header correct, but identifier not found

I have two projects (x64). A. Written in C (wxWidgets) --- edit: its in C ! B. Written in C A compiles fine, but B (which uses functions of A) gives several errors when I try to compile. I suggest that the reason for the errors is the same for all, so I mention only the first. It says: strlen: identifier not found In the file which give

it1352 4 2019-05-13

Header correct, but identifier not found

I have two projects (x64). A. Written in C (wxWidgets) --- edit: its in C ! B. Written in C A compiles fine, but B (which uses functions of A) gives several errors when I try to compile. I suggest that the reason for the errors is the same for all, so I mention only the first. It says: strlen: identifier not found In the file which give

it1352 2 2019-05-13