building the lastest trunk
Moderators: winston, another_commander
building the lastest trunk
hi.
after a long break i have updated my project to the latest trunk. problem is, when i try to build, i get lots of errors, like these:
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:44:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:44:25: error: OOViewID.tbl: No such file or directory
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:46:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:46: error: 'VIEW_NONE' undeclared here (not in a function)
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:134:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:134:30: error: OOCompassMode.tbl: No such file or directory
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:135:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:135: error: expected identifier before '}' token
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:139:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:139: error: 'COMPASS_MODE_BASIC' undeclared here (not in a function)
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/Entities/Entity.h:60:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/Entities/Entity.h:60:31: error: OOEntityStatus.tbl: No such file or directory
and more like these.
anyone know what is wrong here and what i can do about it? the files are on my HD, but for some reason xcode can't find them. do i need to set some path? if so, which one?
BTW, is it true that this latest version finally has support for joysticks? that would be SO cool.
after a long break i have updated my project to the latest trunk. problem is, when i try to build, i get lots of errors, like these:
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:44:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:44:25: error: OOViewID.tbl: No such file or directory
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:46:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:46: error: 'VIEW_NONE' undeclared here (not in a function)
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:134:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:134:30: error: OOCompassMode.tbl: No such file or directory
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:135:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:135: error: expected identifier before '}' token
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:139:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/OOTypes.h:139: error: 'COMPASS_MODE_BASIC' undeclared here (not in a function)
/Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/Entities/Entity.h:60:0 /Users/harry/Projects/Xcode/Universal/Untitled/Shared/trunk/src/Core/Entities/Entity.h:60:31: error: OOEntityStatus.tbl: No such file or directory
and more like these.
anyone know what is wrong here and what i can do about it? the files are on my HD, but for some reason xcode can't find them. do i need to set some path? if so, which one?
BTW, is it true that this latest version finally has support for joysticks? that would be SO cool.
Last edited by harry747 on Sat Feb 19, 2011 12:42 pm, edited 1 time in total.
MacBook pro, OSX 10.8.5, Xcode 5
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: building the lastest trunk
I'm not a Mac user, but I believe this is true.harry747 wrote:BTW, is it true that this latest version finally has support for joysticks? that would be SO cool.
Ahruman wrote:Mac-specific
* The Dread Sound Bug of Doom is fixed. (Bug #17214)
* Joystick support.
* Automatic update support (Sparkle).
* The Oolite Screen Shots folder can now be moved from the desktop and Oolite will continue to use it (as long as it isn’t renamed or moved to the trash).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: building the lastest trunk
I have no real idea, but 6 weeks ago, there were made such changes to the "Oolite.xcodeproj" file, that Ahruman advised to delete it fully (and all other "xcodeproj" files). And than do a "svn up" in the terminal to get a new copy from the project files. After that you should be able to use Xcode again.harry747 wrote:hi.
after a long break i have updated my project to the latest trunk. problem is, when i try to build, i get lots of errors, like these:
I also use a combination of OSX 10.6.6 and Xcode 3.2.5. No problems here.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: building the lastest trunk
What Eric said. More specifically, quit Xcode, delete the Xcode project and update. If that doesn’t work, delete the build directory and try again.
E-mail: [email protected]
Re: building the lastest trunk
i didn't want to do that. but i did and now it seems to work. thanks.Eric Walch wrote:I have no real idea, but 6 weeks ago, there were made such changes to the "Oolite.xcodeproj" file, that Ahruman advised to delete it fully (and all other "xcodeproj" files). And than do a "svn up" in the terminal to get a new copy from the project files. After that you should be able to use Xcode again.
now i can try to get the file sizes down to what they used to be...
and then i'll see what happens when i target 10.6 instead of 10.5...
MacBook pro, OSX 10.8.5, Xcode 5
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: building the lastest trunk
Just out of interest: As the last version was released only yesterday, why don't you just download and install it instead of building yourself?
Re: building the lastest trunk
i wish i could confirm that. my saitek doesn't work with oolite, and i can't get to the joystick configuration because it is grey. am i missing something?El Viejo wrote:I'm not a Mac user, but I believe this is true.harry747 wrote:BTW, is it true that this latest version finally has support for joysticks? that would be SO cool.
MacBook pro, OSX 10.8.5, Xcode 5
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: building the lastest trunk
I suspect you’re building the “Oolite” target instead of “Build All”.harry747 wrote:i wish i could confirm that. my saitek doesn't work with oolite, and i can't get to the joystick configuration because it is grey. am i missing something?
E-mail: [email protected]
Re: building the lastest trunk
that's right, i wasn't. but the thing is, the last time i built all, and it still didn't work. do i need to target 10.6?Ahruman wrote:I suspect you’re building the “Oolite” target instead of “Build All”.harry747 wrote:i wish i could confirm that. my saitek doesn't work with oolite, and i can't get to the joystick configuration because it is grey. am i missing something?
Last edited by harry747 on Sat Feb 19, 2011 9:24 pm, edited 1 time in total.
MacBook pro, OSX 10.8.5, Xcode 5
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: building the lastest trunk
As that wiki page states, you only need the RBSplitView plug-in to build old versions of Oolite.
The build failures for the Leopard support bundle are because you’ve changed the build settings for the Oolite target such that it is no longer building for all architectures, so the Leopard Features bundle (which contains joystick support) can’t link to it. You need to either reset the settings for the Oolite target, or make corresponding settings in all the targets that depend on it. My suggestions are:
The build failures for the Leopard support bundle are because you’ve changed the build settings for the Oolite target such that it is no longer building for all architectures, so the Leopard Features bundle (which contains joystick support) can’t link to it. You need to either reset the settings for the Oolite target, or make corresponding settings in all the targets that depend on it. My suggestions are:
- When you’ve broken the build by making changes to build settings, please be explicit about it instead of passing it off as a problem in my carefully set up projects.
- Instead of changing the architecture and SDK settings in the Oolite target, change them in src/Cocoa/oolite-targets.xcconfig. This is used by all the targets. If you want to make other build settings changes that should affect all components, put them here too; this will also avoid merge conflicts on the project files.
- If you can’t fix your project, download the normal release and copy Oolite.app/Contents/PlugIns/Oolite Leopard support.bundle into your build.
E-mail: [email protected]
Re: building the lastest trunk
ok, i checked the whole thing out again, and this time i didn't change any settings. but my stick still doesn't work, and i still can't select the config menu in oolite
MacBook pro, OSX 10.8.5, Xcode 5
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: building the lastest trunk
Is Oolite Leopard support.bundle present in Oolite.app/Contents/PlugIns?
E-mail: [email protected]
Re: building the lastest trunk
yes it is. does that mean it should work?
i just found out that there is another copy of that file in the same folder as oolite.app. is that normal?
i just found out that there is another copy of that file in the same folder as oolite.app. is that normal?
MacBook pro, OSX 10.8.5, Xcode 5
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: building the lastest trunk
Yes. Is it plugged in? :-)harry747 wrote:yes it is. does that mean it should work?
Yes, there should be a bunch of stuff in there.harry747 wrote:i just found out that there is another copy of that file in the same folder as oolite.app. is that normal?
E-mail: [email protected]
Re: building the lastest trunk
yes, and turned on (it's a wireless stick). i can confirm that usb overdrive can see the stick. but oolite doesn't let me use the configuration menu, and it doesn't respond to any stick input.Ahruman wrote:Yes. Is it plugged in?harry747 wrote:yes it is. does that mean it should work?
MacBook pro, OSX 10.8.5, Xcode 5