← Back to team overview

igotu2gpx team mailing list archive

Re: [Bug 361820] Re: Errors while compiling on Mac OS X

 

Hi - it would be great to see someone else try this whilst I'm waiting  
for my replacement...... good luck:

To compile igotu2gpx on a modern Mac, you need something along the  
lines of...

- xcode - http://developer.apple.com/technology/Xcode.html (I used  
312_2621)
- qt4 - http://www.qtsoftware.com/downloads/sdk-mac-os-cpp (currently  
at Rel 4.5.1)
- boost - http://www.boost.org/ (currently at Rel 1.38.0)
- libusb -  http://libusb.sourceforge.net/ (I used v 0.1.12 which is  
not the most recent but try this version)
- pkg-config - http://pkgconfig.freedesktop.org/releases/ (I used Rel  
0.23)

The following process was followed on a fairly fresh install (MBA 1st  
gen) of 10.5.6 using an admin account:

xcode - mount disk image and run installer, std location and options
qt4 - mount image and run installer, std location and options
boost - extract files into directory, using terminal in that directory  
do ./configure followed by make then finally  'sudo make install'
libusb - extract, terminal ./configure - make - sudo make install
pkg-config - extract, terminal for ./configure - make and sudo make  
install

If you are not familiar with issuing make etc type commands then try  
this:

Open the Terminal
Type cd followed by space
 From the finder, drag the directory that you have extracted (eg  
igotu2gpx-0.X) into the Terminal window
Hit return and this will place you in that directory
Type ./configure and a bunch of text will scroll up
Type make (if this does something you should be okay...)
Type sudo make install to get super user rights and copy the files  
that you have 'made' into the /use/local file structure.

Finally follow instructions in INSTALL file to create and test your  
own igotU

Will

On 24 Apr 2009, at 15:43, Gustavo Funke wrote:

> Hello billy920!
> Did you test it with I-gotU device? Did this code work fine?
> I tryied to use in my mac, but I dont know how do it. Can you do a  
> small tutorial about it? :-(
> Thanks in advance.
>
> -- 
> Errors while compiling on Mac OS X
> https://bugs.launchpad.net/bugs/361820
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in MobileAction i-gotU USB GPS travel logger Mac/Linux  
> support: Fix Committed
>
> Bug description:
> Compiling on Mac OS X does not work, but it should theoretically.
>
> After a long break at programming, I'm trying to work out how to  
> make use of the work done for the i-gotU. If someone could fill in  
> any gaps I'd appreciate it.... I've not done dev on the Mac before  
> but am familiar with Solaris/UNIX/C.
>
> Mac 10.5.6, Intel iMac, Xcode 3.1.2 tools installed, boost 1.38.0  
> installed (std ./configure used - resulted in /usr/local install),  
> Qt4.5.0 installed
>
> The install file states:
>
> To compile igotu2gpx, you need:
> - qt4
> - boost
> - boost-program-options
> - libusb
> - chrpath (optional, makes it possible to run the program without  
> installation)
>
> So I have a compiler, I have qt4 and boost (which seems to include  
> program-options).
>
> - libusb most recent version does not work on Mac so I instead used  
> 0.1.12which installed in /usr/local/lib
> - chrpath could not find this but as it's optional this should be  
> okay??
>
> So now what.. I tried qmake in igotu directory (prompt returns with  
> no message) followed by make which returns with make: *** No targets  
> specified and no makefile found.  Stop.
>
> I' not sure if Qt Creator can/should be used or if the command line  
> approach should work. I've not made any changes to include/path and  
> wonder this would help and if so how should it be done?
>
> Plenty of questions and I appreciate any feedback/pointers to  
> tutorials.
>

-- 
Errors while compiling on Mac OS X
https://bugs.launchpad.net/bugs/361820
You received this bug notification because you are a member of
MobileAction i-gotU USB GPS travel logger Mac/Linux support developers,
which is subscribed to igotu2gpx.

Status in MobileAction i-gotU USB GPS travel logger Mac/Linux support: Fix Committed

Bug description:
Compiling on Mac OS X does not work, but it should theoretically. 

After a long break at programming, I'm trying to work out how to make use of the work done for the i-gotU. If someone could fill in any gaps I'd appreciate it.... I've not done dev on the Mac before but am familiar with Solaris/UNIX/C.

Mac 10.5.6, Intel iMac, Xcode 3.1.2 tools installed, boost 1.38.0 installed (std ./configure used - resulted in /usr/local install), Qt4.5.0 installed

The install file states:

To compile igotu2gpx, you need:
- qt4
- boost
- boost-program-options
- libusb
- chrpath (optional, makes it possible to run the program without installation)

So I have a compiler, I have qt4 and boost (which seems to include program-options). 

- libusb most recent version does not work on Mac so I instead used 0.1.12which installed in /usr/local/lib
- chrpath could not find this but as it's optional this should be okay??

So now what.. I tried qmake in igotu directory (prompt returns with no message) followed by make which returns with make: *** No targets specified and no makefile found.  Stop.

I' not sure if Qt Creator can/should be used or if the command line approach should work. I've not made any changes to include/path and wonder this would help and if so how should it be done?

Plenty of questions and I appreciate any feedback/pointers to tutorials. 




References