Free Visual C++, looking good, we may see alot builders soon

Discussion about official Mozilla Firefox builds
User avatar
TierMann
Posts: 184
Joined: March 29th, 2004, 10:18 am
Location: Sitting here, posting to fourms.
Contact:

Post by TierMann »

....<<Don't follow this yet please until you read this here: http://forums.mozillazine.org/viewtopic ... 893#490893 >>....



I could give some tips on what I did to get MSVC++ Toolkit to start compiling.

The thing is though, I have VStudio .NET 2002 installed as well but it wouldn't let me optomize with G7 and all the new fun opts. So I saw the toolkit as a great way to update my compiler.

Doing this I may not have run into the same problems as you would just installing MSVC++ Toolkit with the Core SDK.

Eventually I think I'm going to make up a package with redistributable libraries that should let you build Mozilla apps using the ONLY the MSVC++ Toolkit and Core SDK

--To upgrade:
1. Have VS .NET 2002 Installed (C:\Program files\Microsoft Visual Studio .Net)

2. Install Cygwin with the minimum requirements from http://www.mozilla.org/build/win32.html (C:\cygwin)

3. Unpack the VC71 versions of Glib and LibIDL found here: ftp://ftp.mozilla.org/pub/mozilla.org/m ... ies/win32/ (C:\VC71)

4. Download VC++ 2003 Toolkit from microsoft, intall it. (C:\Program Files\Microsoft Visual C++ Toolkit 2003)

5. Install the Core SDK http://www.microsoft.com/msdownload/pla ... e/home.htm
(c:\program files\microsoft sdk)
------------

My path looks like this...
c:/vc71/bin;C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\moztools\bin;c:\cygwin\bin;C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\;C:\Program Files\Microsoft Visual Studio .NET\Common7\IDE;C:\Program Files\Microsoft Visual Studio .NET\VC7\BIN;C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\bin;

My Include looks like this...
C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;c:\program files\microsoft sdk\include;C:\Program Files\Microsoft Visual Studio .NET\Vc7\include;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include

My Lib looks like this...
C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;c:\program files\microsoft sdk\lib;C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib;C:\Program Files\Microsoft Visual Studio .NET\Vc7\lib

6. Follow the mozilla build instructions for win32

So anything missing from Toolkit gets used from the Core SDK, and then from VC7.NET

It's sloppy, but it lets me compile from the VC71 2003 cl and libraries rather than VC7 2002.
Malakai
Posts: 172
Joined: July 15th, 2003, 3:11 pm
Location: Florida
Contact:

Post by Malakai »

FYI people there is a version 8.2 of the masm32 package.
prandal
Posts: 460
Joined: November 15th, 2002, 4:14 am
Location: Worcester, England

Post by prandal »

I'm stumped here. Visual C++ Toolkit 2003, latest Platform SDK for XP SP2, and the firefox build fails with :

Code: Select all

sh /cygdrive/d/mozilla/mozilla/nsprpub/build/cygwin-wrapper cl  now.obj   /Fenow
.exe
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

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

/out:now.exe
now.obj
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
make[4]: *** [now.exe] Error 2
make[4]: Leaving directory `/cygdrive/d/mozilla/mozilla/nsprpub/config'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/d/mozilla/mozilla/nsprpub'
make[2]: *** [nspr] Error 2
make[2]: Leaving directory `/cygdrive/d/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/d/mozilla/mozilla'
make: *** [build] Error 2


Any ideas?
prandal
Posts: 460
Joined: November 15th, 2002, 4:14 am
Location: Worcester, England

Post by prandal »

prandal wrote:I'm stumped here. Visual C++ Toolkit 2003, latest Platform SDK for XP SP2, and the firefox build fails with :

Code: Select all

sh /cygdrive/d/mozilla/mozilla/nsprpub/build/cygwin-wrapper cl  now.obj   /Fenow
.exe
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

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

/out:now.exe
now.obj
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'
make[4]: *** [now.exe] Error 2
make[4]: Leaving directory `/cygdrive/d/mozilla/mozilla/nsprpub/config'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/d/mozilla/mozilla/nsprpub'
make[2]: *** [nspr] Error 2
make[2]: Leaving directory `/cygdrive/d/mozilla/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/cygdrive/d/mozilla/mozilla'
make: *** [build] Error 2


Any ideas?

Best idea is for me to learn to read and to type correctly... Problem solved.
Post Reply