Вы находитесь на странице: 1из 5

7/13/2017 How to install MinGW, MSYS and Eclipse on windows | Multigesture.

net

LOGIN HOME ABOUT ARTICLES DOWNLOADS EVENTS FEATURED PROJECTS PUBLICATIONS RESEARCH PROJECTS

Subscribe
MULTIGESTURE.NET
RSS | Email

Subscribe

A multitouch and HCI research blog


Twitter LinkedIn Youtube

Home Articles How to install MinGW, MSYS and Eclipse on windows Search
Search
How to install MinGW, MSYS and Eclipse
on windows About
I'm Laurence Muller (M.Sc.) , a former Fellow of the
Notes
Scientists' Discovery Room Lab (SDR Lab) at Harvard
University / School of Engineering and Applied Sciences
This is a short guide on how to install MinGW and MSYS using the latest stable. This guide has
(SEAS), where I worked on innovative scientific software for
been updated on 21/12/2011
multi-touch devices and display wall systems.

Requirements
I'm also the founder of Epic Windmill, a software company
that develops apps and games for mobile devices.
The MinGW installer package (mingw-get-inst-20111118.exe).
Java Runtime Environment (JRE 6, update 30)
Eclipse (Eclipse IDE for C/C++ Developers, select 32bit or 64bit depending on your
JRE)

Installing the MinGW and Msys

Run mingw-get-inst-20111118.exe
Choose Download latest repository catalogues

Twitter
RT @clattner_llvm My resume is easy to find online. 7 years
of Swift experience
About 3 weeks ago from Laurence Muller's Twitter

Accept the license agreement


Follow @LaurenceMuller 319 followers
Use the default folder (C:\MinGW)
When asked to select the components, choose: C Compiler, C++ Compiler, MSYS
Basic System and MinGW Developer Toolkit.
Random quotes
Don't use a big word where a diminutive one will suffice

HCI Conferences
ACM Tabletop 2010 (Saarbrucken, Germany)
ACM Tabletop 2011 (Japan)
ACM Tabletop 2012 (Cambridge, MA, USA)
CHI 2009 (Boston, MA, USA)
CHI 2010 (Atlanta, GA, USA)

http://www.multigesture.net/articles/how-to-install-mingw-msys-and-eclipse-on-windows/ 1/5
7/13/2017 How to install MinGW, MSYS and Eclipse on windows | Multigesture.net
Add C:\MinGW\bin;C:\MinGW\msys\1.0\bin; to your PATH system variables (at the CHI 2011 (Vancouver, BC, CA)
beginning). CHI 2012 (Austin, TX, USA)
Done. IDC 2009 (San Jose, CA, USA)
IEEE Tabletop 2008 (Amsterdam, NL)
Check if your PATH system variables look something like this: IEEE Tabletop 2009 (Banff, Canada)
SuperComputing 2008 (Austin, TX, USA)
TEI 2010 (Cambridge, MA, USA)
TEI 2011 (Funchal, Portugal)

Multitouch
David Wallin (whitenoise)
Harry van der Veen (gravano)
Jimi Hertz
Johannes Hirche (xwolf)
Joshua Blake
Justin Ireland
Lynn Marentette
Mathieu Virbel (Tito)
Paul DIntino (Fairlane)
Ralph Das
Richard Monson-Haefel (clevermonkey)
Sebastian Hartman
Seth Sandler (cerupcat)
Sharath Patali
SOCO Amsterdam
Taha Bintahir
Install the IDE
Thomas Hansen

Install the JRE with the default settings Tim Roth

To install eclipse, unzip the content to C:\Program Files\eclipse Touchlib

Create a shortcut to Eclipse.exe on the desktop


Done.

Creating a HelloWorld Project Multitouch (commercial)


Apple iPad
Open up Eclipse
Apple iPhone
File > New > Project
MERL DiamondTouch
Select C/C++ > C++ Project
MS Surface
Click on Next
Perceptive Pixel
Change project name to Hello World
Click on Hello World C++ Project (Toolchain should show MinGW GCC)
Click Finish
On the left side, right click on your project (in the Project Explorer)
Science
Choose Build Project
Run > Run (or Run > Debug) Dr. C. Shen
The Console (at the bottom) should show !!!Hello World!!! Dr. R.G. Belleman
Youre all set. Harvard SEAS
Harvard University SDR Lab

Optional packages to install (use the MinGW console) Prof. Peter Sloot
Scientific Visualization and Virtual Reality Research
mingw-get install msys-wget Group
mingw-get install msys-zip Universiteit van Amsterdam
mingw-get install msys-unzip

Additional resources
Archive Category
http://www.blogistan.co.uk/qt/2009/12/where_get_mingw_qt_46.php
August 2012 (1) Android
http://max.berger.name/howto/cdt/ar01s03.jsp
April 2012 (1) Application
http://wiki.openttd.org/Compiling_on_MinGW
February 2012 (2) BlackBerry
http://trac.enlightenment.org/e/wiki/EFLWindowsXP
November 2011 (1) Blogroll

http://www.multigesture.net/articles/how-to-install-mingw-msys-and-eclipse-on-windows/ 2/5
7/13/2017 How to install MinGW, MSYS and Eclipse on windows | Multigesture.net
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite March 2011 (1) Featured
http://www.mingw.org/wiki/MSYS December 2010 (4) Howto
November 2010 (2) Infovis
April 2010 (2) Multitouch
Bookmark & Share Share
February 2010 (1)
December 2009 (1)
August 2009 (1)
July 2009 (3)
February 2009 (1)
12 Comment December 2008 (1)
November 2008 (1)
Frank Henard September 2008 (2)
Why is the jdk required? July 2008 (1)
May 2008 (3)
12 MAY 2010 | REPLY March 2008 (1)
February 2008 (1)
January 2008 (1)
Laurence Muller
November 2007 (2)
Actually, thats my mistake, the Java runtime should be enough (Its for
September 2007 (5)
Eclipse)
July 2007 (1)
12 MAY 2010 | REPLY June 2007 (1)
May 2007 (5)
April 2007 (3)
Lukas
Have you compiled new OSG version 3.0.1 with MinGW ? do you have binariers ?

23 SEP 2011 | REPLY

Laurence Muller
Havent tried it yet, but I think the procedure should be the same.

12 OCT 2011 | REPLY

Guillaume
I archieve the tutorial.
Mingw is working well (I succeed to compile a program using windows cmd.exe). I
created a new project (with the c language instead of c++) , toolchain showed
Mingw gcc. But when i tried to run (ctrl F11) a error message appeared : Launch
Fail Binary not Found.

19 JUN 2012 | REPLY

Laurence Muller
Can you check with windows explorer if the binary is created properly?
Maybe eclipse uses the wrong path when trying to launch the executable.

20 JUN 2012 | REPLY

Adriaan
I had the same, I did a few things and then I didnt get the error anymore.

1) closed all other projects: right-mouse on this project and select Close
Unrelated Projects. Not sure if this ones relevant but I had a number of
Java projects opened so who knows
2) Project>> Clean >> clean all
3) Project>> Build All

That fixed Guillames error (which I was having too). I do think that theres
still something not going 100% right. This is the output in the Console now:

**** Build of configuration Debug for project hellocplusplus ****

http://www.multigesture.net/articles/how-to-install-mingw-msys-and-eclipse-on-windows/ 3/5
7/13/2017 How to install MinGW, MSYS and Eclipse on windows | Multigesture.net
**** Internal Builder is used for build ****
Nothing to build for hellocplusplus

Any ideas?

13 AUG 2012 | REPLY

Laurence Muller
Ive updated the guide, seems like it doesnt autobuild the binary.
Just select your project on the left side, rightclick it and hit build
project. That will give you a working binary.

14 AUG 2012 | REPLY

Matt
I also had this problem. To fix, I reinstalled mingw and chose the option to
download the latest builds during the install and installed the optional things
with mingw console.

07 OCT 2012 | REPLY

Michel
I download the mingw-installer, it only offers to me 32 bit settings, I searched
about a 64 bit version of mingw, but it doesnt come with a setup , can you give
some reference about how can i install and configure mingw-64 for
OpenSceneGraph and sugest a good IDE for work?

06 MAY 2014 | REPLY

Laurence Muller
Hi Michel, unfortunately I havent tried out the 64bit version of MinGW so
Im not sure if it will work well with OpenSceneGraph. For the IDE, Id try to
use the latest 64 bit Eclipse with the C/C++ plugin.

16 MAY 2014 | REPLY

undefined reference to `DES_set_key_unchecked'


I have a problem.I have #include , but there also be a compile error when invoke
the function.

06 DEC 2016 | REPLY

Leave a reply

Submit

http://www.multigesture.net/articles/how-to-install-mingw-msys-and-eclipse-on-windows/ 4/5
7/13/2017 How to install MinGW, MSYS and Eclipse on windows | Multigesture.net

Tags Recent Posts Recent Comments About

adobe air Android NodeBeat featured on the Laurence Muller on How to write Site content copyright 2007-2013

application chat BlackBerry Dev blog


PlayBook add-on (ofxQNX)
an emulator (CHIP-8 interpreter)
corax on How to write an emulator
Laurence Muller. All rights reserved.

conference diy emulation


Rewriting and porting fIRC (CHIP-8 interpreter) The website usage statistics for
facebook flash games google
Epic Windmill devgiv on How to write an multigesture.net are tracked by Google
earth gsoc hacking harvard hci NodeBeat, openFrameworks and emulator (CHIP-8 interpreter) Analytics.
howto infovis IRC kinect latency Android undefined reference to

mma multitouch `DES_set_key_unchecked' on

museum nasa nuigroup projects How to install MinGW, MSYS and

showcase sparkon surface Eclipse on windows


Chip8 Emulator | Weekly news
computing tabletop technology
about Pharo on How to write an
thesis touchlib touch tracer
emulator (CHIP-8 interpreter)
tutorial tv uva

2017 Multigesture.net is proudly powered by WordPress A quality product from

Standard | Mobile

http://www.multigesture.net/articles/how-to-install-mingw-msys-and-eclipse-on-windows/ 5/5

Вам также может понравиться