Sign in to follow this  

how to setup vc toolkit properly

This topic is 4448 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For some reason I can't compile (or better link) anything with MSVC Toolkit. The output I get is:
C:\Programme\Microsoft Visual C++ Toolkit 2003\samples\test>cl /EHsc hello.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

hello.cpp
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1104: cannot open file 'C:\Dokumente'

C:\Programme\Microsoft Visual C++ Toolkit 2003\samples\test>cl /EHsc hello.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

hello.cpp
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1104: cannot open file 'C:\Dokumente'
I set thing I set up the Path stuff properly, here are my variables: local: VCToolkitInstallDir: C:\Programme\Microsoft Visual C++ Toolkit 2003 global: INCLUDE: C:\GTK\INCLUDE;C:\GTK\INCLUDE\GTK-2.0;C:\GTK\INCLUDE\GLIB-2.0;C:\GTK\INCLUDE\PANGO-1.0;C:\GTK\INCLUDE\ATK-1.0;C:\GTK\INCLUDE\GTKGLEXT-1.0;C:\GTK\LIB\GTK-2.0\INCLUDE;C:\GTK\LIB\GLIB-2.0\INCLUDE;C:\GTK\LIB\GTKGLEXT-1.0\INCLUDE;C:\GTK\INCLUDE\LIBGLADE-2.0;C:\GTK\INCLUDE\LIBXML2;C:\Programme\Microsoft Visual C++ Toolkit 2003\include; LIB: C:\GTK\LIB;C:\Programme\Microsoft Visual C++ Toolkit 2003\lib; Path: %GTK_BASEPATH%\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\cygwin\bin;C:\Python24;C:\Programme\Subversion\bin;C:\Programme\Microsoft Visual C++ Toolkit 2003\bin I don't know why cl tries to open "C:\Dokumente" (wich is refered nowhere) ps: I use a german winxp so "C:\Documents and Settings" is "C:\Dokumente und Einstellungen"

Share this post


Link to post
Share on other sites

This topic is 4448 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this