473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

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

(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.
Nov 17 '05 #1
10 2531
in**@3doutpost.com (3doutpost) wrote in
news:ac**************************@posting.google.c om:
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.
Nov 17 '05 #2
in**@3doutpost.com (3doutpost) wrote in
news:ac**************************@posting.google.c om:
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.
Nov 17 '05 #3
> > 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.


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?
Nov 17 '05 #4
See my other mail in this thread.

Ronald

"3doutpost" <in**@3doutpost.com> wrote in message
news:ac**************************@posting.google.c om...
> 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.


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?

Nov 17 '05 #5
> > 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.


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?
Nov 17 '05 #6
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...
Nov 17 '05 #7
See my other mail in this thread.

Ronald

"3doutpost" <in**@3doutpost.com> wrote in message
news:ac**************************@posting.google.c om...
> 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.


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?

Nov 17 '05 #8
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...
Nov 17 '05 #9
> 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.
Nov 17 '05 #10
> 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.
Nov 17 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: dayzman | last post by:
Hi, Does anyone know how I can use "icl" (Intel C++) to compile C extensions? I'm on Windows, and my Python is compiled using VS7.1 (binary distribution). Right now, when I run setup.py install,...
8
by: Douglas | last post by:
**** Post for FREE via your newsreader at post.usenet.com **** Hello, The following code does not compile if line 3 is uncommented "using namespace std". I do not understand it. Could...
0
by: Craig Lichtenstein | last post by:
As I’ve been reading about msbuild, I’ve noticed articles that mention msbuild’s incapability to natively read .vcproj files. In short, executing msbuild blah.vcproj causes msbuild to invoke...
3
by: Jonathan Wilson | last post by:
Is it possible to use vcbuild with the free MS compiler toolkit, as in can someone with just the MS toolkit and no access to a copy of Visual Studio itself use vcbuild to compile a Visual Studio...
0
by: 3doutpost | last post by:
(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...
0
by: Jonathan Wilson | last post by:
Firstly, to get msvcrt.lib, install the .NET framework SDK. The version of msvcrt.lib included there is the exact same one as comes with Visual Studio ..NET 2003. There are some other things that...
0
by: Colin Desmond | last post by:
I am trying to use VCBuild to automate our overnight build process. We have a collection of C++/CLI projects in a solution. There are "Reference" based dependencies between some of these, but...
3
by: hsmit.home | last post by:
I spent way too much time on this and I must say, I was a little disgruntled with what has been posted on all the various Xalan C mailing lists. Everyone says there's a solution, but give next to...
1
by: Jonas Schneider | last post by:
Heya, don´t know if you know BOINC: it´s a system for distributed computing, therefore distributing work to many computers and creating a little super-computer, see also their homepage:...
2
by: BruceWho | last post by:
I downloaded boost1.35.0 and built it with following command: bjam --toolset=msvc-7.1 --variant=release --threading=multi -- link=shared --with-system stage and it failed to compile, error...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.