What is diferent of wxWidgets between when install by MSYS and compile by MinGW?
I am learning GUI programing on Windows, and I choose wxWidgets, Eclipse, MinGW for my learning. I can compile wxWidgets with command: mingw32-make SHELL=CMD.exe -j4 -f makefile.gcc BUILD=release UNICODE=1 And I found that I can install it by MSYS by command cd /mingw/wxWidgets-2.8.10 ./configure –prefix=/mingw –disable-shared make && make install What must I do to integrate wxWidgets with Eclipse? Do I compile it by MinGW or install it by MSYS and How can I set up it for Eclipse Neon? `
From your standpoint there is no difference. It is better to compile the library with MinGW and do a DEBUG build since you will do development and a lot of times this will help a lot. Now in order to set it up with Eclipse: After you build is finished, open up Eclipse. Create a project (C++) or open an existing one. Open the dialog for project properties and find where it asks you to set the "include/header search path". Set this to be "/include;/lib/debug/include". The second path is a path to the build_directory/include where setup.h is located. In the same dialog for project properties find where it asks for a library search path. There enter "main_wx_folder/lib". Somewhere in that same page of this dialog find where it referencing the actual libraries. Add "-lwx_base... -lwx_core...". Check the actual file names inside the lib/ folder. Should be something like libwx_*. Compile the project. Keep in mind though that Eclipse is not "officially supported" IDE, meaning that there is no project for that IDE supplied with the library and there is not too many people use it for C++ development with wx. The "official supported IDE" for wx are: MSVC, CodeBlocks and (to some extent) CodeLite. It use to support Borland compiler (and IDE), but unfortunately there was a recent posts on the forum that recent version of Embarcadero broke the build of the library. This compiler is still supported though. Good luck! If you have any issues don't hesitate to update the question with any possible errors.
How to parse UTF-8 Chinese string
OpenCL returning -64 upon calling clGetPlatformIDs
Eclipse cdt debug quote error
How to stop main thread from another thread in c/c++
How can I use Blob Detector
C++ : for loop in a switch case
leveldb log_reader.h/Reader class design consideration
My linked lists program terminated with status -1073741819 In Code blocks compiler(x0000000005)) [closed]
Why does this double mutex lock not cause deadlock?
Helper function declaration outside class?
Auto declaration of map iterator error on GCC
Finding the length of a C style char * string in c++ [duplicate]
How to draw square on the button at the center using OpenGL?
How to use pthread to write a C++ class like “boost::shared_mutex”
Undefined reference to a superclass' virtual function
How many ways can fill in HxW rooms with 2x1 tatami mats? [closed]