2008/7/21 Raphaël Jacquot <[EMAIL PROTECTED]>: > Atte André Jensen wrote: >> Leonardo Zide wrote: >>> now I'm able to compile and >>> run the trunk version on ubuntu 8, sorry about that. >> >> Thanks for aking svn compile on linux. Unfortunately now I get this when >> running leocad, any idea what's wrong: >> >> [EMAIL PROTECTED]:~/software/lego/leocad/08_07_21$ leocad >> The program 'leocad' received an X Window System error. >> This probably reflects a bug in the program. >> The error was 'BadMatch (invalid parameter attributes)'. >> (Details: serial 1254 error_code 8 request_code 143 minor_code 5) >> (Note to programmers: normally, X errors are reported asynchronously; >> that is, you will receive the error a while after causing it. >> To debug your program, run it with the --sync command line >> option to change this behavior. You can then get a meaningful >> backtrace from your debugger if you break on the gdk_x_error() >> function.) >> > > you should try what the error message says ;) the debugger is called gdb ;)
Thanks for the new version! I've been trying a little during the day. Compilation works and I can add a few pieces to a new project. Zoom and colors doesn't work. I can't open old projects, I tried with both the lcd and ldr versions and got slightly different crashes: $ ./leocad /usr/local/share/ldraw/MODELS/bluer.lcd (leocad:6592): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted $ ./leocad /usr/local/share/ldraw/MODELS/bluer.ldr (leocad:6593): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed (leocad:6593): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed (leocad:6593): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed (leocad:6593): Gdk-CRITICAL **: gdk_window_set_cursor: assertion `GDK_IS_WINDOW (window)' failed Segmentation fault I haven't used linux debuggers before. What is recommended? (I tried gdb from emacs, but have problems with seeing the source...) /$ _______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
