Code::Blocks Forums

User forums => Help => Topic started by: ArakelTheDragon on June 25, 2020, 06:06:04 pm

Title: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: ArakelTheDragon on June 25, 2020, 06:06:04 pm
Good day! I am running CodeBlocks 20.03 with wxWidgets 3.13 on Ubuntu 20.04 LTS. I get this error and I tried various forums and other and can not solve it. Can someone help me please. I tired Ubuntu, Windows, nothing works. There is always some problem that no one can solve.

Build log from Ubuntu:
Code

-------------- Build: Debug in wxVLC (compiler: GNU GCC Compiler)---------------

g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-static-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DwxUSE_UNICODE -D_UNICODE -DUNICODE -g -I/usr/local/include/codeblocks/wxContribItems/wxImagePanel/include -c /home/cfcbazar/Desktop/wxVLC/wx_pch.h -o wx_pch.h.gch/Debug_wx_pch_h_gch
g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-static-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DwxUSE_UNICODE -D_UNICODE -DUNICODE -g -I/usr/local/include/codeblocks/wxContribItems/wxImagePanel/include -c /home/cfcbazar/Desktop/wxVLC/imagepanel.cpp -o obj/Debug/imagepanel.o
g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-static-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DwxUSE_UNICODE -D_UNICODE -DUNICODE -g -I/usr/local/include/codeblocks/wxContribItems/wxImagePanel/include -c /home/cfcbazar/Desktop/wxVLC/wxVLCApp.cpp -o obj/Debug/wxVLCApp.o
g++ -Wall -I/usr/local/lib/wx/include/gtk3-unicode-static-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -pthread -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -DwxUSE_UNICODE -D_UNICODE -DUNICODE -g -I/usr/local/include/codeblocks/wxContribItems/wxImagePanel/include -c /home/cfcbazar/Desktop/wxVLC/wxVLCMain.cpp -o obj/Debug/wxVLCMain.o
g++ -L/usr/local/lib/codeblocks/wxContribItems -o bin/Debug/wxVLC obj/Debug/imagepanel.o obj/Debug/wxVLCApp.o obj/Debug/wxVLCMain.o  -L/usr/local/lib -pthread   /usr/local/lib/libwx_gtk3u_xrc-3.1.a /usr/local/lib/libwx_gtk3u_qa-3.1.a /usr/local/lib/libwx_baseu_net-3.1.a /usr/local/lib/libwx_gtk3u_html-3.1.a /usr/local/lib/libwx_gtk3u_core-3.1.a /usr/local/lib/libwx_baseu_xml-3.1.a /usr/local/lib/libwx_baseu-3.1.a -pthread -lgthread-2.0 -lX11 -lXxf86vm -lSM -lgtk-3 -lgdk-3 -lpangocairo-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lXtst -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lwxtiff-3.1 -lwxjpeg-3.1 -lwxregexu-3.1 -lwxscintilla-3.1 -lexpat -lpng -lz -ldl -lm  -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lvlc 
Output file is bin/Debug/wxVLC with size 9.00 MB
Process terminated with status 0 (0 minute(s), 13 second(s))
0 error(s), 0 warning(s) (0 minute(s), 13 second(s))
 

-------------- Run: Debug in wxVLC (compiler: GNU GCC Compiler)---------------

Checking for existence: /home/cfcbazar/Desktop/wxVLC/bin/Debug/wxVLC
Set variable: LD_LIBRARY_PATH=.:/usr/local/lib/codeblocks/wxContribItems:/usr/local/lib:
Executing: /home/cfcbazar/Desktop/wxVLC/bin/Debug/wxVLC  (in /home/cfcbazar/Desktop/wxVLC/.)
Process terminated with status -11 (0 minute(s), 0 second(s))
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: BlueHazzard on June 25, 2020, 09:57:48 pm
Have you tried to debug it?
This looks like your programm does something wrong and not codeblocks...
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: oBFusCATed on June 25, 2020, 10:21:46 pm
Most probably it doesn't start because it doesn't find a library.
Make sure all required libraries are in these paths:
Code
LD_LIBRARY_PATH=.:/usr/local/lib/codeblocks/wxContribItems:/usr/local/lib:
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: ArakelTheDragon on June 26, 2020, 02:33:45 pm
Which are the required libraries?

/usr/local/lib/wx/include/gtk3-unicode-static-3.1/wx

I only have the wx folder in /usr/local/lib/ and in wx:
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: stahta01 on June 26, 2020, 03:30:52 pm
What is the location of VLC library?

Are you seeing a command window while running the program? If not, enable it.

Other than the return value being wrong, what else is wrong?

Tim S.


Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: ArakelTheDragon on June 26, 2020, 04:51:59 pm
What is the location of VLC library?

Are you seeing a command window while running the program? If not, enable it.

Other than the return value being wrong, what else is wrong?

Tim S.

Havent I seen you somewhere?

I have the VLC player, but I don't know which library you are refering to.
I am seeing nothing, I open the project, run it and get nothing.

Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: stahta01 on June 26, 2020, 05:02:55 pm
Enable the command line window in the debug target.
I am giving the Windows directions, they should work on Linux.

Project -> Property...
Tab: Build Target
Select "Debug" target in Build Target list in left hand column.
type: Change to "Console Application" from "GUI Application"
checkmark "pause when execution ends"

Edit: The command line windows gives more information on this type of run-time problem.
It is very likely it does the same under Linux.

Tim S.
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: ArakelTheDragon on June 26, 2020, 05:47:35 pm
I will test this, as soon as I try the newest solution on Windows. After to boot into the other OS every time. I am also trying to setup wxWidgets with both Windows and Linux. On this forum its the Linux problem. On the other forum you participate its for Windows.
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: stahta01 on June 26, 2020, 06:55:31 pm
I will test this, as soon as I try the newest solution on Windows. After to boot into the other OS every time. I am also trying to setup wxWidgets with both Windows and Linux. On this forum its the Linux problem. On the other forum you participate its for Windows.

You stated you were having an run-time problem on Linux and a compile time problem on Windows.
The directions I posted are to work on a run-time problem!!!!
You really need to sleep you are still not thinking very well.

Tim S.
Title: Re: Process terminated with status -11 (0 minute(s), 1 second(s))
Post by: ArakelTheDragon on July 12, 2020, 04:43:41 am
Hi, thank you very much for all the help!

Unfortunately I did not have time to post, this project is postponed for now. I will solve it as soon as I can. I don't mean to direspect your help, but thats the option for the moment.