Thread: Process terminated with status -11

  1. #31
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    The reason is that there is a new version from recently. Since I installed CodeBlocks on Ubuntu a week ago, it was the latest version. But on Windows I have not noticed that there is a new release.

    I will try the newest CodeBlocks on Windows and see what will happen.

  2. #32
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Sorry for the double post, I am afraid no one will check the thread if I don't post a new post.
    The new Codeblocks-20.03mingw-nosetup.portable does not work. I build wxWidgtets 3.13, unpacked them on C:\wx. I opened a new project selected wxWidgets and set the location to C:\wx, but CodeBlocks says a matching Debug and matching release configuration was not found. Can someone please give me some reason for that? Should I set the wx environmental variable and how? In the previous posts you said I need 2 paths, but I only have the CodeBlocks path set. What is the second path? How to setup CodeBlock to work with wxWidgets.

    EDIT:
    An interesting unrelated site which might help someone:

    Single list of HOWTOs
    Last edited by ArakelTheDragon; 06-25-2020 at 12:11 AM. Reason: Add not relevant information

  3. #33
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    I am attaching a updated CB Project; note, you need to save your prior CB Project to prevent lost of work!

    I build my wxWidgets in a way that requires you change the uploaded project.

    The custom vars need to be changed to a empty string for these.
    WX_CFG
    WX_COMPILER

    Project -> Build Options
    Select target: winDebug
    Tab: Custom Variables

    NOTE: I did not test that the project can link; I did not try to find an built vlc library.

    Edit: I stopped using the CB Project Wizard a few years back; I consider it to be best to start with a empty project or a prior CB wx project instead of using the wizard most of the time. This is because I normally use MSys2 MinGW which is not supported by the CB Wizard.

    Tim S.
    Attached Files Attached Files
    Last edited by stahta01; 06-25-2020 at 08:14 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. #34
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Its even worst .

    Code:
    ||=== Build: winDebug in wxVLC (compiler: GNU GCC Compiler) ===|
    ||WARNING: Can't read file's timestamp: C:\Users\CFCbazar\Downloads\wxVLC\wx_pch.h|
    ||WARNING: Can't read file's timestamp: C:\Users\CFCbazar\Downloads\wxVLC\imagepanel.cpp|
    ||WARNING: Can't read file's timestamp: C:\Users\CFCbazar\Downloads\wxVLC\wxVLCApp.cpp|
    ||WARNING: Can't read file's timestamp: C:\Users\CFCbazar\Downloads\wxVLC\wxVLCMain.cpp|
     obj\Debug\imagepanel.o||No such file or directory|
     obj\Debug\wxVLCApp.o||No such file or directory|
     obj\Debug\wxVLCMain.o||No such file or directory|
    ||=== Build failed: 3 error(s), 4 warning(s) (0 minute(s), 0 second(s)) ===|
    Can someone please give me some tutorial or something. Maybe another method of installing CodeBlocks, I am desperate or am I really that stupid to not be able to do this.

  5. #35
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Do you understand that an CB Project needs files to build?
    I only zipped the project file!
    You need to add all the other files for the project to build.

    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

  6. #36
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    I am working on 4 projects, don't take it personal. I am making mistakes already, and didn't even check. There is a reason why you should not work more than 48 hours per week and I work 84.

    Here are the steps I took now:
    1. Build options -> WinDebug -> Change variables

    2. Build -> select target -> WinDebug

    result is the same problem.
    Code:
    C:\Users\CFCbazar\Downloads\wxVLC\wx_pch.h|15|fatal error: wx/wxprec.h: No such file or directory|

  7. #37
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Post the full CB build log?
    Post the path to the "wx/setup.h" location?
    Edit: Post the global variable WX base location?

    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

  8. #38
    Registered User Sir Galahad's Avatar
    Join Date
    Nov 2016
    Location
    The Round Table
    Posts
    277
    Quote Originally Posted by ArakelTheDragon View Post
    I am working on 4 projects, don't take it personal. I am making mistakes already, and didn't even check. There is a reason why you should not work more than 48 hours per week and I work 84.

    Here are the steps I took now:
    1. Build options -> WinDebug -> Change variables

    2. Build -> select target -> WinDebug

    result is the same problem.
    Code:
    C:\Users\CFCbazar\Downloads\wxVLC\wx_pch.h|15|fatal error: wx/wxprec.h: No such file or directory|
    Have you verified that the file exists on your computer? If not, you may need the Windows equivalent of the Linux libwxgtk-dev package (see here). If you do however find it, then just be sure to add the parent directory of wx/wxprec.h to your search/include path.

  9. #39
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Sorry if letters or words are missing, I don't have the strength anymore.


    I installed Windows 7, reinstalled CodeBlocks and still the same problem. There is something new in the setup of CodeBlocks 20.04 that was missing in 17.12.

    Here are the steps I take to make the setup:
    1. Download from here, codeblocks-20.03mingw-nosetup.zip
    2. Extract to folder on an external USB drive, Y:\PortableSoftware\codeblocks-20.03mingw-nosetup.
    3. Add the path to the environmental system variables:
    Y:\PortableSoftware\codeblocks-20.03mingw-nosetup\MinGW\bin

    Whole variable named path contains:
    D:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%Sy stemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\ System32\WindowsPowerShell\v1.0\;Y:\PortableSoftwa re\codeblocks-20.03mingw-nosetup\MinGW\bin

    The GCC is detected by CodeBlocks and set as default.

    4. Open a command elevated terminal and go to:
    C:\wxWidgets-3.1.3\build\msw

    type commands in this order:
    Code:
    gcc -v
    
    mingw32-make -v
    
    mingw32-make -f makefile.gcc clean
    
    mingw32-make -f makefile.gcc BUILD=debug SHARED=1 MONOLITHIC=1 UNICODE=1
    Wait until its done, restart the computer.

    Start CodeBlocks for the first time from the CbLauncher, start every second time from the codeblocks launcher, both are run as elevated user(administrator).
    Then make a new project:
    [code]
    1. From menu File on the up left select New -> Project -> Select wxWidgets which is last in the option -> Select Next -> Select wxWidgets 3.1.x -> Type project path and name -> type author information -> choose wxSmith and Fram based -> Browse for wxWidgets location, close the Global variable editor without putting any variables inside and select C:\wxWidgets-3.1.3 as the wxWidgets location -> Use GNU C compiler and check Create and Debug -> check Use wxWidgets, wxWidgets is build as a monolythic library and Enable unicode -> CodeBlocks shows a matching debug and release configuration can not be found -> select Buld menu on the up middle and select Build and run in which case I receive:
    Code:
    C:\wxWidgets-3.1.3\include\wx\platform.h|154|fatal error: wx/setup.h: No such file or directory|
    The file that you asked for is located at:
    Code:
    "D:\wxWidgets-3.1.3\include\wx\msw\setup.h"
    The full build log:
    Code:
    ||=== Build: Debug in OS.wxWidgets.Setup.7 (compiler: GNU GCC Compiler) ===|
    C:\wxWidgets-3.1.3\include\wx\platform.h|154|fatal error: wx/setup.h: No such file or directory|
    C:\wxWidgets-3.1.3\include\wx\platform.h|154|fatal error: wx/setup.h: No such file or directory|
    ||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
    wx base global variable reads the following:
    Code:
    (invalid)
    Last edited by ArakelTheDragon; 06-26-2020 at 02:52 AM.

  10. #40
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Why do you randomly switch the build commands?
    Why did you use static wx before and are now using shared wxWidgets?
    Why did you not post a build log?
    Why did you not set a valid location for WX base value? Edit: likely value is "D:\wxWidgets-3.1.3"

    Directions that cover what a full build log is: FAQ-Compiling (errors) - CodeBlocks

    Tim S.
    Last edited by stahta01; 06-26-2020 at 07:55 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

  11. #41
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    "D:\wxWidgets-3.1.3\include\wx\msw\setup.h"
    Please search for the proper location of "wx/setup.h" instead of "wx\msw\setup.h"!!!

    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

  12. #42
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Using wxWidgets with MinGW and Code::Blocks - wxWidgets Discussion Forum

    Off site link that might help you; I have not read it!

    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

  13. #43
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    Note: If you fail to find the file "wx/setup.h" then you likely never properly built wxWidgets!

    Once, you find the location(s) of "wx/setup.h" I can help you to get the CB project to build with that information and a full build log.
    Without both of those pieces of information I can *not* help you!

    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

  14. #44
    Registered User
    Join Date
    Dec 2016
    Posts
    96
    Why do you randomly switch the build commands? I tried all options.
    Why did you use static wx before and are now using shared wxWidgets? Yes.
    Why did you not post a build log? I did in post #39.
    Why did you not set a valid location for WX base value? Edit: likely value is "D:\wxWidgets-3.1.3" The instructions for installing wxWidgets is don't set a location for it.

  15. #45
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    You did NOT post a full build log!! I suggest you get some sleep because you are not thinking well.
    Build messages is not build log! One line is not the full build log!
    If you do not see an compiler command it is not a build log!

    Your directions are crap or you do not understand them!

    Quote Originally Posted by stahta01 View Post
    Note: If you fail to find the file "wx/setup.h" then you likely never properly built wxWidgets!

    Once, you find the location(s) of "wx/setup.h" I can help you to get the CB project to build with that information and a full build log.
    Without both of those pieces of information I can *not* help you!

    Tim S.
    If you want help supply the two vital pieces of information! Or I will write you off as a help vampire!

    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