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

pointer to static as template parameter / instantiate a template using a c string
visual studio fatal error LNK1120:
sourceModel property in QSortFilterPtoxyModel - Need to understand this code
Using types defined in class
getting “Unhandled exception” error after applying canny edge detector using opencv /c++
Editing a specific row in txt file using C++ [closed]
Static controls slightly flicker when main window is resized
Fibonacci - Divide and conquer algorithm [closed]
Handle “Out-of-Gamut” Color in RGB to CIEL*a*b* to RGB Conversions
Opengl show vertex in 2d or 3d
Finding exactly N consecutives in a sorted list
C++ bad_alloc caused by new?
PCL visualization in Qt using QVTK
cannot display the receive byte
best way to get the difference between two containers of type map< classId, set< studentId> >
Windows Speech API in Qt. Works in main(), but lots of errors when in class

Categories

HOME
solr
processing
google-maps-api-3
.net-core
autodesk-forge
analytics
mongoose
sharppcap
basecamp
entities
uwp-xaml
post
vaadin-grid
javacard
pivot-table
angularjs-ng-transclude
sapply
face-recognition
junit4
jquery-gmap3
subplot
biopython
web-component
twincat-ads
uidocumentinteraction
pyvmomi
robots.txt
ssrs-2016
eof
messagebox
rubinius
hibernate-criteria
ext4
data-migration
fxml
drools-fusion
sublimerepl
ecore
magnolia
nn
pi
nonetype
sap-bw
ektron
multibox
itunes-store
o365rwsclient
mosync
family-tree
orika
javassist
ikvm
strconv
wso2dss
dnspython
orders
xml-rpc
bubble-sort
synopsys-vcs
motorola
throttle
data-connections
ionic-view
ibm-jazz
android-6.0.1
velocity.js
bullseye
akeneo
jaxb2-maven-plugin
order-of-operations
visual-studio-2010-sp1
voog
resin
zooming
sql-job
swift-protocols
apache-tomee
tankauth
n-tier
start-stop-daemon
triples
rhodecode
psychology
countries
django-1.2
node-http-proxy
static-array
abpeoplepickerview
mono-service
tao
zend-navigation

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