Connecting Tech Pros Worldwide Forums | Help | Site Map

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

3doutpost
Guest
 
Posts: n/a
#1: Nov 17 '05
(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]
Guest
 
Posts: n/a
#2: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


info@3doutpost.com (3doutpost) wrote in
news:acd01d3e.0408242129.46e820ad@posting.google.c om:
[color=blue]
> 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.[/color]

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.
Tarek Madkour [MSFT]
Guest
 
Posts: n/a
#3: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


info@3doutpost.com (3doutpost) wrote in
news:acd01d3e.0408242129.46e820ad@posting.google.c om:
[color=blue]
> 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.[/color]

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
Guest
 
Posts: n/a
#4: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


> > When I start vcbuild.exe in the same place as before, all I see[color=blue][color=green]
> > are a few blank lines - no errors messages but the files are not
> > compiled, linked, cleaned or anything whichever command line
> > options I chose.[/color]
>
> 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.[/color]

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]
Guest
 
Posts: n/a
#5: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


See my other mail in this thread.

Ronald

"3doutpost" <info@3doutpost.com> wrote in message
news:acd01d3e.0408260808.62fe349b@posting.google.c om...[color=blue][color=green][color=darkred]
>> > 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.[/color]
>>
>> 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.[/color]
>
> 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?[/color]


3doutpost
Guest
 
Posts: n/a
#6: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


> > When I start vcbuild.exe in the same place as before, all I see[color=blue][color=green]
> > are a few blank lines - no errors messages but the files are not
> > compiled, linked, cleaned or anything whichever command line
> > options I chose.[/color]
>
> 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.[/color]

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
Guest
 
Posts: n/a
#7: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


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...
Ronald Laeremans [MSFT]
Guest
 
Posts: n/a
#8: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


See my other mail in this thread.

Ronald

"3doutpost" <info@3doutpost.com> wrote in message
news:acd01d3e.0408260808.62fe349b@posting.google.c om...[color=blue][color=green][color=darkred]
>> > 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.[/color]
>>
>> 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.[/color]
>
> 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?[/color]


Jonathan Wilson
Guest
 
Posts: n/a
#9: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


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
Guest
 
Posts: n/a
#10: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


> if you download this def file: (made from msvcp71.dll with dumpbin /exports)[color=blue]
> 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...[/color]

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.
3doutpost
Guest
 
Posts: n/a
#11: Nov 17 '05

re: Using vcbuild to compile/link files from MSVC.NET 7.1


> if you download this def file: (made from msvcp71.dll with dumpbin /exports)[color=blue]
> 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...[/color]

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.
Closed Thread