Changes

Jump to: navigation, search

User:DavidBertenshaw/Assignment 01: Build the Fox

1,784 bytes added, 17:01, 19 September 2006
Conflicts
== Conflicts ==
 
1) '''C compiler cannot create files'''
 
On my first time attempt building Firefox I received this error. I thought that my C++ compiler wasn't working and tried installing one and adding it to my path. No success.
 
'''Solution'''
 
After stumbling around the net for a while someone wrote "Use the command window from Visual Studio". I didn't think of that all for some reason. When I opened command prompt from visual studio I got past this error. By using that command window I guess I was referencing my Visual Studio copy of C++ which the build could understand.
 
2) '''Linker Error'''
 
After fixing my previous error I quickly came upon a new one. This one I had already read on a tutorial earlier and was quick to fix it. For some reason the build may give a linker error related to the file in Cygwin's bin called 'link'
 
'''Solution'''
 
Change the file in Cygwin's bin directory named 'Link.exe' to something else. It will no longer interfer with the build afterwards.
 
3) '''Error code 2'''
 
If you stumble upon this during your code it isn't easy to diagnose. I say this because for me it seemed that error code 2 can apply to a lot of different problems. For a long time during this build I was having many types of errors with this error code attached.
 
'''Solution'''
 
I realized, when after hours I figured out my problem , that this error was because of something dumb I was doing. I was reading some other documentation which mentioned I had to download '''and run''' Cygwin to get Firefox to build. From what I understand Cygwin is a Unix interface for windows. I thought that I had to build Firefox through that Unix command window. Though I'm sure this is possible I was downloading (and trying to use) windows tools which obviously did not work.
 
== Contributers ==
1
edit

Navigation menu