Difference between revisions of "Mcbuilder"

From Bashlinux
Jump to: navigation, search
 
Line 26: Line 26:
   
 
* Patch the project file. This is because libhal is no longer supported since Fedora 16, and some sources have been renamed.
 
* Patch the project file. This is because libhal is no longer supported since Fedora 16, and some sources have been renamed.
: [[Media:Mcbuilder.pro.no_hal.patch]]
+
: [http://wiki.bashlinux.com/w/images/a/a5/Mcbuilder.pro.no_hal.patch Mcbuilder.pro.no_hal.patch]
   
 
* Create the Makefile and build the code
 
* Create the Makefile and build the code

Latest revision as of 04:17, 16 June 2015

How to build mcbuilder for Make Controller on Linux

Instructions are for Fedora 14 up to Fedora 16

  • Install dependencies
yum install dbus-devel
  • Get the source
svn co http://makecontroller.googlecode.com/svn/mcbuilder/trunk mcbuilder
  • CD into the source
cd mcbuilder
  • Update mercurial entries for future pull, edit ~/.hgrc and add
[trusted]
users = storage
groups = staff
They must match the user/group where qextserialport sources are being downloaded
  • Replace qextserialport
cd src
mv qextserialport qextserialport-orig
git clone https://github.com/qextserialport/qextserialport.git
  • Go to the root folder of mcbuilder
cd ../../
  • Patch the project file. This is because libhal is no longer supported since Fedora 16, and some sources have been renamed.
Mcbuilder.pro.no_hal.patch
  • Create the Makefile and build the code
qmake-qt4
make
  • Run
./mcbuilder