Thread: Process terminated with status -11

  1. #16
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    What you posted looks good it appears to use only GTK 3; I think the full build log to confirm it would be good.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  2. #17
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Full build log:
    Code:
    -------------- Clean: Debug in wxVLC (compiler: GNU GCC Compiler)---------------
    
    Cleaned "wxVLC - Debug"
    
    -------------- 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/Downloads/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/Downloads/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/Downloads/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/Downloads/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))

  3. #18
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    I will try to build your project and Windows; but, I will have to change it to get it to build.
    If it was a code issue, the problem might only exist when using wxGTK based on GTK3.

    Edit: It works without error under Win 7 64 built using MSys2 MinGW GCC 64 bit.

    Tim S.
    Last edited by stahta01; 06-23-2020 at 05:11 AM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  4. #19
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    I built it in Debug mode using 3.1.3 wxWidgets shared libraries and it worked OK on Windows 7.

    Did you really mean to use Static wxWidgets libraries?

    Because, my next guess is that using wxWidgets Static libraries might be the cause.

    Edit: Did not see problem using wxWidgets static version 3.0.5; waiting on build of 3.1.3 static.

    Tim S.
    Last edited by stahta01; 06-23-2020 at 06:01 AM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  5. #20
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Unfortunately I only have Windows 10, x64.


    I am rebuilding wxWidgets based on this tutorial. After its finished I will check again.

  6. #21
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Tested okay using MSys2 Mingw 64 bit static wxWidgets library.

    You are likely going to have to learn how to use the debugger to fix the cause of your issue.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  7. #22
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Thats a good idea, first I have to setup wxWidgets and that is like configuring the intel i7 with 1s and 0s instead of programming.

    I get this error:
    Code:
    fatal error: wx/wxprec.h: No such file or directory

  8. #23
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by ArakelTheDragon View Post
    Thats a good idea, first I have to setup wxWidgets and that is like configuring the intel i7 with 1s and 0s instead of programming.

    I get this error:
    Code:
    fatal error: wx/wxprec.h: No such file or directory
    Did you build wxWidgets? If yes, what version and what build command?
    Edit: And, what MinGW GCC compiler version?

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  9. #24
    Registered User
    Join Date
    May 2010
    Posts
    4,633
    Did you search your filesystem for that file?

  10. #25
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    You need to add two include search paths for building an wxWidgets project under windows.
    You likely have neither added for failing to find "wx/wxprec.h"
    The second search path is needed to find wx/setup.h and this header is created during the building of wxWidgets.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  11. #26
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    I have the following.

    OS:
    Windows 10, x64.
    Compiler and IDE:
    Process terminated with status -11-codeblocks-windows-version-png
    Environmental variables:
    Process terminated with status -11-codeblocks-windows-environmentalvariables-png
    Last edited by ArakelTheDragon; 06-24-2020 at 02:49 AM. Reason: Add information

  12. #27
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Sorry for the double post, if I edit the images might bug.

    It says wx 2.8.12 on CodeBlocks, but I have built C:\wxWidgets-3.1.3
    I used the following commands:
    Code:
    gcc -v 
      mingw32-make -v
      cd /D C:\wxWidgets-2.8.12\build\msw
      mingw32-make -f makefile.gcc clean
      mingw32-make -f makefile.gcc BUILD=debug SHARED=0 MONOLITHIC=1 UNICODE=1
      mingw32-make -f makefile.gcc BUILD=release SHARED=0 MONOLITHIC=1 UNICODE=1
    Result of the commands:
    gcc -v
    Code:
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=Y:/PortableSoftware/Codeblocks.portable/MinGW/bin/../libexec/gcc/mingw32/5.1.0/lto-wrapper.exe
    Target: mingw32
    Configured with: ../../../src/gcc-5.1.0/configure --build=mingw32 --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --disable-symvers --enable-cxx-flags='-fno-function-sections -fno-data-sections -DWINPTHREAD_STATIC' --prefix=/mingw32tdm --with-local-prefix=/mingw32tdm --with-pkgversion=tdm-1 --enable-sjlj-exceptions --with-bugurl=http://tdm-gcc.tdragon.net/bugs
    Thread model: posix
    gcc version 5.1.0 (tdm-1)
    mingw32-make -v
    Code:
    GNU Make 3.82.90
    Built for i686-pc-mingw32
    Copyright (C) 1988-2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    Last edited by ArakelTheDragon; 06-24-2020 at 02:55 AM. Reason: Add information

  13. #28
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Please give a logical reason for you to say the folder "C:\wxWidgets-2.8.12\build\msw" has something to do with wxWidgets 3.1.3?

    Edit: Is there a logical reason you are using Code::Blocks version 17.12 instead of 20.03?
    Edit2: Wanting to use wxWidgets version 2.8.12 32 bit on Windows would be a good reason.
    But, I would want to use 64 bit wxWidgets 3.1.3, instead.

    Tim S.
    Last edited by stahta01; 06-24-2020 at 04:39 AM.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  14. #29
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    On the picture CodeBlocks shows wx 2.8.12, post 26. Is this the version with wich CodeBlocks was built?

  15. #30
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Quote Originally Posted by ArakelTheDragon View Post
    On the picture CodeBlocks shows wx 2.8.12, post 26. Is this the version with wich CodeBlocks was built?
    The old version 17.12 was built with wx 2.8.12; the new 20.03 version is built with wx 3.1.3.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 14
    Last Post: 07-06-2016, 01:48 PM
  2. SDL_ttf Process terminated with status 3
    By darpan1118 in forum Game Programming
    Replies: 5
    Last Post: 04-13-2014, 09:35 AM
  3. Replies: 2
    Last Post: 03-13-2013, 01:03 AM
  4. Process Terminated with status -1073741510
    By Varethien in forum C Programming
    Replies: 5
    Last Post: 08-09-2011, 04:16 AM
  5. Process terminated with status -1073741819
    By smithx in forum C Programming
    Replies: 5
    Last Post: 11-01-2010, 11:13 PM

Tags for this Thread