User forums > Help

Run wxwidgets project not working

(1/3) > >>

dtrill:
I have installed wxWidgets as per the CodeBlocks Setup Guide.  I can create a new wxWidgets project and 'Build' it (with 0 errors and 187 warnings - all about deprecated features). However, when I 'Run' I get an error 'Entry Point Not Found' which says 'The procedure entry point_gxx_personality_v0 could not be located in the dynamic link library C:\wxWidgets-3.0.4\lib\gcc_dll\wxmsw30u_gcc_custom.dll'

I am using Windows 10 (32 bit), CodeBlocks 17.12, wxWidgets 3.0.4 and mingw32-g++ compiler.

I am only having this issue with wxWidget projects not console applications.

Thanks in advance for any help.

stahta01:
If I recall correctly "point_gxx_personality_v0" likely means you built the library and the project code with different compilers.

Tim S.

stahta01:
My memory was only partly right. Try copying the DLL suggested first and see if that fixes it.
https://stackoverflow.com/questions/18668003/the-procedure-entry-point-gxx-personality-v0-could-not-be-located

Tim S.

dtrill:
Thank you for the quick response.
As you suggested, I copied the dll to the executable file location, but that did not fix the error.
I then tried to re-build the wxWidgets library (after using 'clean'), but my only option that I found was to use 'makefile.gcc' as there was no 'makefile.g++' in the 'C:\wxWidgets-3.0.4\build\msw' folder.
In CodeBlocks, I have been using the g++ compiler for C++ programs.
What am I missing?
How can I create the wxWidgets library using the correct C++ compiler?
I still have a lot to learn about the CodeBlocks & wxWidgets settings etc.
Thanks again for your help.


 

stahta01:
Please state the path to the Compiler used to build wxWidgets!

--- Code: ---where g++

--- End code ---
Then, state the "Compiler Installation Directory" used inside of Code::Blocks!

Settings -> Compiler
In the pull-down, "Selected Compiler"
SELECT THE COMPILER BEING USED TO BUILD THE CB PROJECT!!!!!
Tab: "Toolchain Executable"
Report the value in "Compiler Installation Directory"


Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version