Visual C++ Toolkit 2003 and project files

  • Thread starter =?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=
  • Start date
?

=?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=

Hello.

With the freely available Visual C++ Toolkit 2003, is it possible to
build applications with the Visual Studio project file that are
distributed with them? Can CL.EXE handle those files? What else is needed?

FWIW, I currently find myself unable to build two open source projetcs,
namely LAME [1] and SDL [2]. Has anybody ever managed to do it with the
VC++ Toolkit? Are there any tips that could be shared?

[1] http://lame.sourceforge.net/
[2] http://libsdl.org/

Thank you,
 
C

Carl Daniel [VC++ MVP]

Ney said:
Hello.

With the freely available Visual C++ Toolkit 2003, is it possible to
build applications with the Visual Studio project file that are
distributed with them? Can CL.EXE handle those files? What else is
needed?

No - the command line tools cannot build .vcproj projects. You'd need to
build a makefile for the project and use nmake (or your favorite make
utility) to automate the project build steps.
FWIW, I currently find myself unable to build two open source
projetcs, namely LAME [1] and SDL [2]. Has anybody ever managed to do
it with the VC++ Toolkit? Are there any tips that could be shared?

Unable due to what? If it's due to the lack of a makefile, you should
contact the project authors and request that they supply a makefile, or
author one yourself based on the contents of the .vcproj file.

-cd
 
?

=?ISO-8859-1?Q?Ney_Andr=E9_de_Mello_Zunino?=

Carl said:
Unable due to what? If it's due to the lack of a makefile, you should
contact the project authors and request that they supply a makefile, or
author one yourself based on the contents of the .vcproj file.

Thank you for your response. I had searched and realized that nmake.exe
does not come with the toolkit as well. I then downloaded and installed
the Platform SDK, which comes with it (curiously, it is only included in
the bin/win64 directory, but I guess it should work in spite of that).
So, should I now be able to move on? Is there anything else I might need?

Thank you,
 
C

Carl Daniel [VC++ MVP]

Tomas said:
Hi Carl,
No - the command line tools cannot build .vcproj projects. You'd
need to build a makefile for the project and use nmake (or your
favorite make utility) to automate the project build steps.

Interesting question: Shouldn't one be able to use vcbuild [1] with
the command line tools in the toolkit to accomplish this?

[1] http://www.gotdotnet.com/team/cplusplus/samples/vcbuild.zip

One would thnk so, wouldn't one?

I haven't tried it, but I can't see why it shouldn't work.

-cd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top