Re: Building Oolite Windows from source - The Easier Way
Posted: Mon Jan 09, 2012 9:46 am
Fixed in r4735.
For information and discussion about Oolite.
https://bb.oolite.space/
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
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.
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
Yep, thanks. Quick as always.Ahruman wrote:Should be fixed in r4772.
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.NSIS="C:\Program Files\NSIS\makensis.exe"
, which needs to be NSIS="C:\Program Files (x86)\NSIS\makensis.exe"
under Win 7 64bit.I see, thank you.another_commander wrote:The wiki pages for running and building Oolite under Windows have been updated.
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
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