Linux Settings Tool - Page 4

Linux Settings Tool

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

I've also had some troubles compiling at first. As described earlier in this thread I tried to use the output from wx-config in the makefile, but didn't succeed. Scons on the other hand parsers this quite nicely. Maybe try the following SConstruct.
Be sure to have the 2.8 version of the wxwidgets dev-headers installed, earlier versions gave me compile errors.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

thanks for that, it doesn't compile but it gets further along:

http://pastebin.ca/730657

Code: Select all

Window* frame = new Window("Settings++", parser);
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

ah yes, forgot about those ones. I'm not really sure what the source is, maybe compiler version/ unicode vs. ansi build of wxwidgets. The solution however would be to wrap all string literals with the wxT() macro, but you're likely to run into problems after that. Well, I did.
However I've almost finished adapting Kloot's original source to use the engine's abstraction layer for config handling and I think I adressed most of the issues. If you're willing try to build from this source.
The mouse settings dialog is still a little screwed up, but otherwise it should be fine. Also this would give me the opportunity to see if it compiles on another machine. That would be a big help as I don't really have the time to do that myself.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It compiles flawlessly here ^_^
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Post by YokoZar »

Cool usability idea:

Run glxinfo at the very start.

Warn the user if they don't seem to have opengl installed. Also grey out the checkboxes for things that require extensions that aren't present (eg 3D trees without vertex program)
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

Indeed.

I'll look into those ideas once I've finished the "porting" to windows.

If you don't know what I'm talking about take a look here.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Linux Settings Tool

Post by smoth »

UF is down, can you post a new link
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Linux Settings Tool

Post by Kloot »

koshi has long taken over its development and
distribution, see viewtopic.php?f=12&t=13128 ;)
pheldens
Posts: 191
Joined: 12 Aug 2006, 21:35

Re: Linux Settings Tool

Post by pheldens »

Maybe it's meant above, but I suggest using the new lobby, it works very well and is fast
Post Reply

Return to “Linux”