Building Oolite Windows from source - The Easier Way
Moderators: winston, another_commander
Re: Building Oolite Windows from source - The Easier Way
Went a bit further, but ended with the following this time:
Code: Select all
Compiling file src/Core/NSFileManagerOOExtensions.m ...
src/Core/NSFileManagerOOExtensions.m: In function '-[NSFileManager(OOExtensions) oo:moveItemAtPath:toPath:]':
src/Core/NSFileManagerOOExtensions.m:201: error: 'dst' undeclared (first use in this function)
src/Core/NSFileManagerOOExtensions.m:201: error: (Each undeclared identifier is reported only once
src/Core/NSFileManagerOOExtensions.m:201: error: for each function it appears in.)
make[3]: *** [obj.spk/oolite.obj/NSFileManagerOOExtensions.m.o] Error 1
make[2]: *** [internal-objc_program-all_] Error 2
make[1]: *** [oolite.all.objc-program.variables] Error 2
make: *** [internal-all] Error 2
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Building Oolite Windows from source - The Easier Way
Again with the fixed in r4736.
E-mail: [email protected]
Re: Building Oolite Windows from source - The Easier Way
Compile of r4736 completed with no errors, Oolite starts fine and no errors in latest.log.
Thank you for extremely fast bug fixing.
Thank you for extremely fast bug fixing.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Building Oolite Windows from source - The Easier Way
These were problems in the text of the code rather than the logic. It was more like proofreading than bug fixing. :-)
E-mail: [email protected]
Re: Building Oolite Windows from source - The Easier Way
Regardless, the errors were fixed very quickly.Ahruman wrote:These were problems in the text of the code rather than the logic. It was more like proofreading than bug fixing.
Thank you for extremely fast proofreading .
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
Re: Building Oolite Windows from source - The Easier Way
Got the following warning when compiling Rev4771 the "easy way".
Code: Select all
Compiling file src/Core/Materials/OODefaultShaderSynthesizer.m ...
src/Core/Materials/OODefaultShaderSynthesizer.m: In function '-[OODefaultShaderSynthesizer writeTextureCoordRead]':
src/Core/Materials/OODefaultShaderSynthesizer.m:728: warning: pointer type mismatch in conditional expression
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Building Oolite Windows from source - The Easier Way
Should be fixed in r4772.
E-mail: [email protected]
Re: Building Oolite Windows from source - The Easier Way
Yep, thanks. Quick as always.Ahruman wrote:Should be fixed in r4772.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
- Capt. Murphy
- Commodore
- Posts: 1127
- Joined: Fri Feb 25, 2011 8:46 am
- Location: UK South Coast.
Re: Building Oolite Windows from source - The Easier Way
Just in case any others have this problem. The solution is to always useCapt. Murphy wrote:Come across an oddity - when I've done an initialsvn co
and amake debug=0
build, and a few revisions latersvn up
which confirms an update, then do anothermake debug=0
build, the resulting oolite.exe when run reports in the log that it is still the previous build/revision.
Similarly amake -fmakefile pkg-win-snapshot debug=no
over an existing build after an svn-up makes an installer that's file-name is for the expected revision, but when installed produces an oolite.exe with no watermark and the log again reports previous build/revision.
make -fmakefile clean
when re-compiling after checking out a new revision.Also if anyone is using Win7 64bit and wants to compile and build an installer please note that the makefile in trunk will need a slight edit to point it towards the the correct install location for NSIS under Win7 64bit.
The makefile includes a line -
NSIS="C:\Program Files\NSIS\makensis.exe"
, which needs to be NSIS="C:\Program Files (x86)\NSIS\makensis.exe"
under Win 7 64bit. Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
Re: Building Oolite Windows from source - The Easier Way
Hi!
This "compiler" pack : OoliteDevelopmentEnvironment_LE_20110212 working for me, thanks. (Tested on rev4936)
First time I try this: OoliteDevelopmentEnvironment_20090330 from Oolite-Windows wiki, but compile is unsuccess with this pack (I get compiler warnings). Perhaps good idea update this wiki page: http://wiki.alioth.net/index.php/Running_Oolite-Windows
This "compiler" pack : OoliteDevelopmentEnvironment_LE_20110212 working for me, thanks. (Tested on rev4936)
First time I try this: OoliteDevelopmentEnvironment_20090330 from Oolite-Windows wiki, but compile is unsuccess with this pack (I get compiler warnings). Perhaps good idea update this wiki page: http://wiki.alioth.net/index.php/Running_Oolite-Windows
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: Building Oolite Windows from source - The Easier Way
The wiki pages for running and building Oolite under Windows have been updated.
Re: Building Oolite Windows from source - The Easier Way
I see, thank you.another_commander wrote:The wiki pages for running and building Oolite under Windows have been updated.
Re: Building Oolite Windows from source - The Easier Way
Get some warnings when I compile trunk (Rev 4949) under Windows 7
Code: Select all
Compiling file src/Core/Scripting/OOJSShip.m ...
src/Core/Scripting/OOJSShip.m: In function 'ShipSetProperty':
src/Core/Scripting/OOJSShip.m:1060: warning: label 'npcReadOnly' defined but not used
src/Core/Scripting/OOJSShip.m:1020: warning: 'facing' may be used uninitialized in this function
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
Re: Building Oolite Windows from source - The Easier Way
Trunk Rev 4951 compiled with no errors.
Gimi wrote:Get some warnings when I compile trunk (Rev 4949) under Windows 7Code: Select all
Compiling file src/Core/Scripting/OOJSShip.m ... src/Core/Scripting/OOJSShip.m: In function 'ShipSetProperty': src/Core/Scripting/OOJSShip.m:1060: warning: label 'npcReadOnly' defined but not used src/Core/Scripting/OOJSShip.m:1020: warning: 'facing' may be used uninitialized in this function
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).