c++


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.

Related Links

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]

Categories

HOME
c++
properties
import
binary
unity5
contiki
put
amazon-cloudsearch
css-modules
slim
windows-authentication
outlook-redemption
interaction
alexa-voice-service
google-login
nlog
bootstrap-select
robots.txt
jquery-animate
xfce
ssis-2008
revit
robotium-recorder
oracle-data-integrator
uilabel
jquery-ui-autocomplete
hp-quality-center
podcast
chmod
free-jqgrid
polymer-serve
codeigniter-2
webex
gooddata
mapped-drive
media-type
ssas-tabular
falcor
db-schema
jsdoc3
on-screen-keyboard
prime-factoring
angularjs-service
kubernetes-health-check
sceditor
jquery-tags-input
asana-connect
rate
self-referencing-table
report-viewer2012
strstream
video-recording
giflib
iis-8.5
rc4-cipher
lunrjs
little-endian
hottowel
undefined-symbol
supercsv
offsetheight
django-pipeline
eofexception
savefiledialog
t4-toolbox
lightroom
workbench
automapper-3
mux
styledtext
resourcedictionary
pivotitem
mapstraction
yepnope
sencha-touch-2.2
nsfontmanager
graphml
rs485
windmill
pull-to-refresh
file-association
incompatibletypeerror
scalaquery
continuations
validationsummary
live-cd
sqlmetal

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App