Search found 41 matches

by bhelyer
Tue May 26, 2009 7:28 am
Forum: Support
Topic: Problems running on Ubuntu 9.04
Replies: 35
Views: 5173

Re: Problems running on Ubuntu 9.04

Just another excuse to upgrade my GPU.
by bhelyer
Tue May 26, 2009 7:26 am
Forum: Support
Topic: SIGSEGV on start up
Replies: 6
Views: 1924

Re: SIGSEGV on start up

Just glUseProgram works in the exact same manner as commenting glUseProgramARB did.
by bhelyer
Tue May 26, 2009 7:16 am
Forum: Support
Topic: SIGSEGV on start up
Replies: 6
Views: 1924

Re: SIGSEGV on start up

As I suspected this is the call that kills the beast: if (glUseProgramARB) glUseProgramARB(0); ----EDIT3----- Because I'm that kind of radical guy, I just commented out that call. It works, though what I've crippled I don't know (I don't even know what the function does). That call, as alluded to b...
by bhelyer
Tue May 26, 2009 4:27 am
Forum: Support
Topic: Problems running on Ubuntu 9.04
Replies: 35
Views: 5173

Re: Problems running on Ubuntu 9.04

I can, after lopping out some code.

linky

By default, no, no I can't.
by bhelyer
Sun May 24, 2009 8:31 pm
Forum: Programming
Topic: quickstart command line argument
Replies: 7
Views: 1529

Re: quickstart command line argument

The thing that bothers me is the call to app(). Is this calling the ClientApp constructor (my C++ is a tad rusty)? No, the ClientApp constructor is executed here: HumanClientApp app(root, window, scene_manager, camera, viewport); The app() call is executing GG::GUI::operator() which calls Run() whi...
by bhelyer
Sun May 24, 2009 7:39 pm
Forum: Programming
Topic: quickstart command line argument
Replies: 7
Views: 1529

Re: quickstart command line argument

Same patch, slight modification - make sure it doesn't save the flag in config.xml.
by bhelyer
Sun May 24, 2009 6:51 pm
Forum: Programming
Topic: quickstart command line argument
Replies: 7
Views: 1529

quickstart command line argument

So, I was looking for low hanging fruit on the programming page of the wiki, and the addition of a quick start command line option seemed appropriate. I've inlined the patch as well as attached it for ease of rejection, as I'm sure I've done something completely boneheaded. With the stringtable stuf...
by bhelyer
Sun May 24, 2009 3:31 pm
Forum: Support
Topic: SIGSEGV on start up
Replies: 6
Views: 1924

SIGSEGV on start up

Okay, so I'm sure there's a topic with this problem somewhere , but I can't find it. Berate me as needed. FreeOrion segfaults on start up. Somewhere in GG::OgreGUI::Enter2DMode: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb67466c0 (LWP 9476)] 0x000010d1 in ?? () (gdb)...
by bhelyer
Sun May 24, 2009 12:06 am
Forum: Compile
Topic: getAvailableRenderers returns a reference, not a pointer
Replies: 4
Views: 1798

Re: getAvailableRenderers returns a reference, not a pointer

Ogre has their own map, apparently. Perhaps it is new. UI/PagedGeometry/PagedGeometry.cpp:374: error: reference to 'map' is ambiguous /usr/include/c++/4.3/bits/stl_map.h:91: error: candidates are: template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map /usr/local/stow/ogre/inclu...
by bhelyer
Sat May 23, 2009 11:03 pm
Forum: Compile
Topic: getAvailableRenderers returns a reference, not a pointer
Replies: 4
Views: 1798

Re: getAvailableRenderers returns a reference, not a pointer

instead of assigning the value to a new RenderSystemList True. I am currently in 'shooty shooty bang die compile errors' mode, so most stuff I write comes off pretty hackish. It's a reference in my version; keeping local changes doesn't bug me. New one: =============================================...
by bhelyer
Sat May 23, 2009 10:39 pm
Forum: Compile
Topic: getAvailableRenderers returns a reference, not a pointer
Replies: 4
Views: 1798

getAvailableRenderers returns a reference, not a pointer

So I've had to make these changes so far: Index: SConstruct =================================================================== --- SConstruct (revision 3090) +++ SConstruct (working copy) @@ -12,6 +12,7 @@ 'INCLUDE' : os.environ['INCLUDE']}) else: env = Environment() + env['CPPDEFINES'] = '' # Do n...
by bhelyer
Fri May 22, 2009 1:00 pm
Forum: Compile
Topic: GG Failure: error: no matching function for call to 'swap(ad
Replies: 2
Views: 1411

GG Failure: error: no matching function for call to 'swap(ad

Everybody loves template errors. In GiGi: g++ -o src/adobe/virtual_machine.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/adobe/virtual_machine.cpp ./GG/adobe/any_regular.hpp: In static member function 'static adobe::version_1::any_regular_t& adobe::versio...
by bhelyer
Sat Apr 05, 2008 4:54 pm
Forum: Programming
Topic: Could you find use for me?
Replies: 14
Views: 3044

Re: Could you find use for me?

What distribution were you using, Maz? I could get all the libraries I needed out of Debian-Stable's repositories early last year, and that is definitely not using bleeding edge stuff, so if you were having trouble, I suspect your OS must have been an old distribution, or lacking volunteers to maint...
by bhelyer
Thu Apr 03, 2008 1:33 pm
Forum: Compile
Topic: "error: 'PI' was not declared in this scope"
Replies: 2
Views: 3323

"error: 'PI' was not declared in this scope"

Okay, so I upgraded to Ubuntu 8.04 set up my tool-chain, and had some trouble compiling. So I uninstalled GiGi, cleaned the source tree, re-ran scons configure for GG and FO, and did a recompile. The compilation fails like so: g++ -o UI/TechTreeWnd-human.o -c -pthread -g -Wall -O2 -D_GNU_SOURCE=1 -D...