User forums > Help

[SOLVED] Switching compiler to VC

(1/2) > >>

antonien:
Hello everybody !

Tired of MinGW setting commands that a non wizard can't understand, I decided to switch to VC.

So... I downloaded Visual Studio Express 10, I had it installed and I tried to have Code::Blocks auto-detect VC.
I do not want to use Visual Studio Express : it is far more convenient than Code::Blocks !

Guess what : I couldn't find the correct path !
Where is it hidden ?

Thanks in advance for you answer : I promise I'll worship the guy who helps me for a full year.

Best regards

antonien

antonien:
Hu... I guess I am wrong in trying to use the compiler of Visual Express 2010.
Code::Blocks only works with VC9 and Visual 2010 is using VC10, isn't it ?

If that's the case, just tell me. Anyway, I'll try with 2008.

Sorry !

stahta01:
Open the folder %VS100COMNTOOLS% the batch file vsvars32.bat is used to set the path correctly.

From my MSVC (10.0) 32 Bit setup.
Compiler search Directories
 C:\Program Files\Microsoft Visual Studio 10.0\VC\include

Linker search Directories
 C:\Program Files\Microsoft Visual Studio 10.0\VC\lib
 C:\Program Files\Microsoft SDKs\Windows\v7.0A\lib

IIRC, From my MSVC (10.0) 64 Bit setup.
Compiler search Directories
 C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include

Linker search Directories
 C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib
 C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib

Note: I am using an CB Nightly Build

Tim S.

antonien:
Thanks stahta !

Does it mean your nightly build recognize VC10 ? It looks like my standard 10.05 can only detect Visual 2008.

Thanks again.

stahta01:

--- Quote from: antonien on January 28, 2011, 09:51:19 pm ---Thanks stahta !

Does it mean your nightly build recognize VC10 ? It looks like my standard 10.05 can only detect Visual 2008.

Thanks again.

--- End quote ---

It does recognize it; it fails to set the path to the windows SDK; I had to add that manually.

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version