View unanswered posts | View active topics It is currently Tue Oct 17, 2017 12:58 am

Reply to topic  [ 1 post ] 
Compiling on Windows 
Author Message
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
Fred requested that I post up a process for getting EMS compiling on windows, here it is:

Three prerequisite applications:
MinGW 4.8.2: ... v3-rev3.7z
Qt 4.8.6-mingw: ... .8.6-1.exe
Cmake for windows:

You will need to add Qt, cmake, and mingw bin directories to your PATH system variable.
After these are installed, get the latest copy of qjson: and use cmake to compile it. Compiling it is done in a similar way to Linux from a command line, mkdir build; cd build; cmake ..; make. This should auto-detect mingw and qt versions, and build qjson for you.
Once qjson is finished, it needs to be installed in c:\libs\qjson. This means you will have c:\libs\qjson\libs\*.dll and c:\libs\qjson\include\qjson\*.h. This is where EMS looks for it.

Get a copy of EMStudio (, from the command line where you extracted the tar (or the directory you cloned into) run qmake (from your qt installation), make, and then you should be good to go!

A word about this, this is NOT the process I use. I use a cross compiling process that I am not willing to detail out due to the amount of time and effort required to get such a system up and running. There's really no advantage to cross compiling other than not requiring more than one machine for a build server. In todays virtualized world, that is mostly a non issue.

If anyone wants to give this a shot and see if I missed anything, it would be appreciated. This same process is good if you want to develop on EMStudio, just install QtCreator from qt's main website and point it at the top level EMStudio file.

Interesting Stuff
My Car

Thu Aug 28, 2014 10:54 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.