MegaGlest Forum

MegaGlest => Bug reports => Closed bug reports => Topic started by: kagu on 22 January 2015, 16:26:09

Title: [fixed] [3.11.0] - Map Editor doesn't open.
Post by: kagu on 22 January 2015, 16:26:09
Ubuntu 14.04

Code: [Select]
alket@alket-pc ~/megaglest $ ./start_megaglest_mapeditor
Looking for LDCONFIG []...
Looking for LDCONFIG environment var not found...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/alket/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libopenal.so.1] pointed to from [/home/alket/megaglest/lib/libopenal.so.0]
default library [/home/alket/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirectfb-1.2.so.9] pointed to from [/home/alket/megaglest/lib/libdirectfb-1.2.so.0]
default library [/home/alket/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libfusion-1.2.so.9] pointed to from [/home/alket/megaglest/lib/libfusion-1.2.so.0]
default library [/home/alket/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirect-1.2.so.9] pointed to from [/home/alket/megaglest/lib/libdirect-1.2.so.0]
Using wxWidgets version [2.8.12.1]
The program 'megaglest_editor' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadDrawable'.
  (Details: serial 2487 error_code 171 request_code 155 minor_code 11)
  (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.)
Title: Re: [3.11.0] - Map Editor doesn't open.
Post by: titi on 25 January 2015, 19:06:11
This should be fixed in git version.

To help me test please try the following:
- Download
Code: [Select]
[url=http://snapshots.megaglest.org/linux/megaglest-binary-linux-x86_64-3.12-dev-develop.tar.xz]http://snapshots.megaglest.org/linux/megaglest-binary-linux-x86_64-3.12-dev-develop.tar.xz[/url]- Replace "megaglest_editor" into your 3.11.0 installation with the one included in this package.

Does this work for you?
Title: Re: [3.11.0] - Map Editor doesn't open.
Post by: kagu on 25 January 2015, 19:17:12
Code: [Select]
Looking for LDCONFIG []...
Looking for LDCONFIG environment var not found...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/alket/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libopenal.so.1] pointed to from [/home/alket/megaglest/lib/libopenal.so.0]
default library [/home/alket/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/alket/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/alket/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
/home/alket/megaglest/megaglest_editor: error while loading shared libraries: libwx_gtk2u_core-2.8.so.0: cannot open shared object file: No such file or directory
alket@alket-All-Series:~/megaglest$ ./start_megaglest_mapeditor
Looking for LDCONFIG []...
Looking for LDCONFIG environment var not found...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/alket/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libopenal.so.1] pointed to from [/home/alket/megaglest/lib/libopenal.so.0]
default library [/home/alket/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/alket/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/alket/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
/home/alket/megaglest/megaglest_editor: error while loading shared libraries: libwx_gtk2u_core-2.8.so.0: cannot open shared object file: No such file or directory

Then i did
Code: [Select]
sudo apt-get install libwxgtk2.8-dev
Code: [Select]
alket@alket-pc:~/megaglest$ ./start_megaglest_mapeditor
Looking for LDCONFIG []...
Looking for LDCONFIG environment var not found...
Found LDCONFIG using which [/sbin/ldconfig]...
default library [/home/alket/megaglest/lib/libopenal.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libopenal.so.1] pointed to from [/home/alket/megaglest/lib/libopenal.so.0]
default library [/home/alket/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/alket/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/alket/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
Using wxWidgets version [2.8.12.1]
The program 'megaglest_editor' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadDrawable'.
  (Details: serial 4348 error_code 171 request_code 155 minor_code 11)
  (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.)
Title: Re: [3.11.0] - Map Editor doesn't open.
Post by: titi on 25 January 2015, 21:36:54
does this happen using the suggested snapshot binary?
Title: Re: [3.11.0] - Map Editor doesn't open.
Post by: kagu on 25 January 2015, 22:51:18
I did a mistake, now it works  :D