For Programmers: Free Programming Magazines  


Home > Archive > VC++ > August 2004 > Using vcbuild to compile/link files from MSVC.NET 7.1









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using vcbuild to compile/link files from MSVC.NET 7.1
3doutpost

2004-08-25, 5:05 am

(apologies for the new thread - for some reason google news doesn't
give me the option to reply to an earlier vcbuild.exe thread)

I'm trying to build a C++ project that was originally created in
MSVC.NET 7.1 by using MS C++ Toolkit 2003 and the vcbuild.exe helper
app.

I did have MSVC.NET installed already and went ahead and installed MC
C++ Toolkit 2003. The 4 examples compiled okay.

Then I tried to compile my app using vcbuild.exe along with both the
..vcproj file and the .sln file and it seemed to work perfectly.

So, I uninstalled MSVC.NET, reboot and now I can't get it to build.

When I start vcbuild.exe in the same place as before, all I see are a
few blank lines - no errors messages but the files are not compiled,
linked, cleaned or anything whichever command line options I chose.

I invoked the option to display the environment and it looks okay -
PATH/LIB/INCLUDE vars all point to the right place.

Any ideas guys?

Thanks in advance.

3D.
Tarek Madkour [MSFT]

2004-08-26, 3:57 am

info@3doutpost.com (3doutpost) wrote in
news:acd01d3e.0408242129.46e820ad@posting.google.com:

> When I start vcbuild.exe in the same place as before, all I see
> are a few blank lines - no errors messages but the files are not
> compiled, linked, cleaned or anything whichever command line
> options I chose.


When no messages show at all, it's probably because we could not
locate vcprojectui.dll. Make sure that vcbuild.exe has vcproject.dll
in the same folder and vcprojectui.dll in a "1033" subfolder and that
should work.

--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
3doutpost

2004-08-26, 4:07 pm

> > When I start vcbuild.exe in the same place as before, all I see
>
> When no messages show at all, it's probably because we could not
> locate vcprojectui.dll. Make sure that vcbuild.exe has vcproject.dll
> in the same folder and vcprojectui.dll in a "1033" subfolder and that
> should work.


i followed some instructions in an earlier message and put
vcspawn.exe, vcprojectengine.dll, vcprojectui.dll and the .vcstyle
files in the same directory as vcbuild.exe and i am able to compile
stuff - losing vcspawn.exe broke things again and losing the .vcstyle
files caused all kinds of warnings to appear.

my problem now is linkage - i've installed all of the platform sdk and
the .net framework .sdk (to get msvcrt.lib/msvcrtd.lib) but it's still
looking for msvcprt.lib and msvcprtd.lib

i was hoping for a lightweight way to compile some simple opengl apps
on the command line but things seem to be getting out of control.

any suggestions?
Ronald Laeremans [MSFT]

2004-08-26, 8:58 pm

See my other mail in this thread.

Ronald

"3doutpost" <info@3doutpost.com> wrote in message
news:acd01d3e.0408260808.62fe349b@posting.google.com...
>
> i followed some instructions in an earlier message and put
> vcspawn.exe, vcprojectengine.dll, vcprojectui.dll and the .vcstyle
> files in the same directory as vcbuild.exe and i am able to compile
> stuff - losing vcspawn.exe broke things again and losing the .vcstyle
> files caused all kinds of warnings to appear.
>
> my problem now is linkage - i've installed all of the platform sdk and
> the .net framework .sdk (to get msvcrt.lib/msvcrtd.lib) but it's still
> looking for msvcprt.lib and msvcprtd.lib
>
> i was hoping for a lightweight way to compile some simple opengl apps
> on the command line but things seem to be getting out of control.
>
> any suggestions?



Jonathan Wilson

2004-08-26, 8:58 pm

if you download this def file: (made from msvcp71.dll with dumpbin /exports)
http://users.tpg.com.au/adsloptd/msvcprt.def
and run it through LIB /def:msvcprt.def
you get what (I hope) is a usable msvcprt.lib.

IANAL but from what I know of the law (at least in australia) doing this is
legal...
3doutpost

2004-08-27, 4:00 pm

> if you download this def file: (made from msvcp71.dll with dumpbin /exports)
> http://users.tpg.com.au/adsloptd/msvcprt.def
> and run it through LIB /def:msvcprt.def
> you get what (I hope) is a usable msvcprt.lib.
>
> IANAL but from what I know of the law (at least in australia) doing this is
> legal...


thanks jonathan - that seemed to work, but as you said, since i'm
ultimately trying to find a way for anyone build the project without
the full MSVC.NET installed, i'd need to see if this was legal or not
first.

there is another thread running (ah! - i see you've spotted it ;)) and
it sounds like the project is being linked with the 'wrong' libs but
since i can't change that, i'm not sure where to go from here.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com