Page 11 of 18

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon Jan 09, 2012 9:46 am
by JensAyton
Fixed in r4735.

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon Jan 09, 2012 9:55 am
by Gimi
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

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon Jan 09, 2012 10:26 am
by JensAyton
Again with the fixed in r4736.

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon Jan 09, 2012 10:42 am
by Gimi
Compile of r4736 completed with no errors, Oolite starts fine and no errors in latest.log.

Thank you for extremely fast bug fixing.

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon Jan 09, 2012 1:27 pm
by JensAyton
These were problems in the text of the code rather than the logic. It was more like proofreading than bug fixing. :-)

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon Jan 09, 2012 1:59 pm
by Gimi
Ahruman wrote:
These were problems in the text of the code rather than the logic. It was more like proofreading than bug fixing. :-)
Regardless, the errors were fixed very quickly.
Thank you for extremely fast proofreading :D .

Re: Building Oolite Windows from source - The Easier Way

Posted: Fri Feb 10, 2012 9:58 am
by Gimi
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

Re: Building Oolite Windows from source - The Easier Way

Posted: Fri Feb 10, 2012 11:29 am
by JensAyton
Should be fixed in r4772.

Re: Building Oolite Windows from source - The Easier Way

Posted: Fri Feb 10, 2012 11:31 am
by Gimi
Ahruman wrote:
Should be fixed in r4772.
Yep, thanks. Quick as always.

Re: Building Oolite Windows from source - The Easier Way

Posted: Sat Apr 07, 2012 3:40 am
by Capt. Murphy
Capt. Murphy wrote:
Come across an oddity - when I've done an initial svn co and a make debug=0 build, and a few revisions later svn up which confirms an update, then do another make debug=0 build, the resulting oolite.exe when run reports in the log that it is still the previous build/revision.

Similarly a make -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.
Just in case any others have this problem. The solution is to always use 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.

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon May 14, 2012 4:47 pm
by totya
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

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon May 14, 2012 8:40 pm
by another_commander
The wiki pages for running and building Oolite under Windows have been updated.

Re: Building Oolite Windows from source - The Easier Way

Posted: Mon May 14, 2012 8:52 pm
by totya
another_commander wrote:
The wiki pages for running and building Oolite under Windows have been updated.
I see, thank you.

Re: Building Oolite Windows from source - The Easier Way

Posted: Sun May 20, 2012 8:28 pm
by Gimi
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

Re: Building Oolite Windows from source - The Easier Way

Posted: Sun May 20, 2012 9:30 pm
by Gimi
Trunk Rev 4951 compiled with no errors.
Gimi wrote:
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