Errors while compiling on Mac OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igotu2gpx |
Fix Released
|
Medium
|
Michael Hofmann |
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-
- 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.
Michael Hofmann (mh21) wrote : | #1 |
Changed in igotu2gpx: | |
assignee: | nobody → Michael Hofmann (mh21) |
importance: | Undecided → Medium |
milestone: | none → 0.3 |
status: | New → Incomplete |
billy920 (cwscott) wrote : Re: [Bug 361820] Re: Errors while compiling on Mac OS X | #2 |
Hi,
Thanks for looking into this but I wonder if my issues might be more
basic than this...?
How would you suggest actually making this? The docs say qmake/make/
make install - I guess that using the command line approach should
make this simpler so I tried qmake in the project root dir and got the
following:
Silly-iMac:
Project MESSAGE: -------
Project MESSAGE: Required dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for boost-po : no
Project ERROR: Please install the necessary (devel) packages for boost-
po!
So - any idea how/where I should specify the boost rootdir? In my
Solaris days we used the .cshrc to define library paths and other
variables but you may have a better suggestion that will work with
this, hopefully!
Thanks,
Will
On 15 Apr 2009, at 17:38, Michael Hofmann wrote:
> Thanks for your bug report. Because I don't have a mac system, I need
> your help to get the Mac support in a usable state.
>
> I commit some smallish changes to the build system that should get
> you a
> bit further, but you need to checkout the version in bzr with "bzr
> branch lp:igotu2gpx".
>
> ** Changed in: igotu2gpx
> Importance: Undecided => Medium
>
> ** Changed in: igotu2gpx
> Status: New => Incomplete
>
> ** Changed in: igotu2gpx
> Milestone: None => 0.3
>
> ** Changed in: igotu2gpx
> Assignee: (unassigned) => Michael Hofmann (mh21)
>
> --
> Errors while compiling on Mac OS X
> https:/
> 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: Incomplete
>
> 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-
> - 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 feedba...
Michael Hofmann (mh21) wrote : | #3 |
> Thanks for looking into this but I wonder if my issues might be more
> basic than this...?
No, this is actually going in the right direction :-).
> How would you suggest actually making this? The docs say qmake/make/
> make install - I guess that using the command line approach should
> make this simpler so I tried qmake in the project root dir and got the
> following:
>
> Silly-iMac:
> Project MESSAGE: -------
> Project MESSAGE: Required dependencies:
> Project MESSAGE: -------
> Project MESSAGE: Looking for boost-po : no
> Project ERROR: Please install the necessary (devel) packages for boost-
> po!
>
> So - any idea how/where I should specify the boost rootdir?
To change the default search paths that the build system uses, do the
following:
* copy the file localconfig-
* uncomment and change the necessary defines so that they match your
system, e.g. change macx:BOOSTINCLU
(it needs to contain a subdir named boost/program_
the build system is doing, look into clebs/. For each of the
dependencies, there is a file with the same name in clebs/*/*.pri.
Michael
billy920 (cwscott) wrote : | #4 |
Progress - clear advice appreciated
macx:BOOSTINCLU
added to localconfig.pri resulting in a qmake output as follows:
Silly-iMac:
Project MESSAGE: -------
Project MESSAGE: Required dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for boost-po : yes
Project MESSAGE: Looking for libusb : yes
Project MESSAGE: -------
Project MESSAGE: Suggested dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for chrpath : no
Project MESSAGE: -------
Project MESSAGE: Additional features:
Project MESSAGE: -------
Project MESSAGE: -------
WARNING: Ignored (not found) '/Users/
23-47-44/
WARNING: Ignored (not found) '/Users/
23-47-44/
I've still not been able to find chrpath and am unsure what to do next
as there's no makefile after te above step. I could send the output
from qmake -d if that would help.
Will
On 15 Apr 2009, at 22:30, Michael Hofmann wrote:
>> Thanks for looking into this but I wonder if my issues might be more
>> basic than this...?
> No, this is actually going in the right direction :-).
>
>> How would you suggest actually making this? The docs say qmake/make/
>> make install - I guess that using the command line approach should
>> make this simpler so I tried qmake in the project root dir and got
>> the
>> following:
>>
>> Silly-iMac:
>> Project MESSAGE: -------
>> Project MESSAGE: Required dependencies:
>> Project MESSAGE: -------
>> Project MESSAGE: Looking for boost-po : no
>> Project ERROR: Please install the necessary (devel) packages for
>> boost-
>> po!
>>
>> So - any idea how/where I should specify the boost rootdir?
> To change the default search paths that the build system uses, do the
> following:
> * copy the file localconfig-
> * uncomment and change the necessary defines so that they match your
> system, e.g. change macx:BOOSTINCLU
> directory
> (it needs to contain a subdir named boost/program_
> what
> the build system is doing, look into clebs/. For each of the
> dependencies, there is a file with the same name in clebs/*/*.pri.
>
> Michael
>
> --
> Errors while compiling on Mac OS X
> https:/
> 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: Incomplete
>
> 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
> b...
Michael Hofmann (mh21) wrote : | #5 |
Hi Will,
> WARNING: Ignored (not found) '/Users/
> 23-47-44/
> WARNING: Ignored (not found) '/Users/
> 23-47-44/
Reading through the qmake documentation, it seems like you need to use
qmake -spec macx-g++
to generate makefiles. Afterwards a "make" should hopefully work.
Michael
billy920 (cwscott) wrote : | #6 |
That looks better - output as below.....
Silly-iMac:
Project MESSAGE: -------
Project MESSAGE: Required dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for boost-po : yes
Project MESSAGE: Looking for libusb : yes
Project MESSAGE: -------
Project MESSAGE: Suggested dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for chrpath : no
Project MESSAGE: -------
Project MESSAGE: Additional features:
Project MESSAGE: -------
Project MESSAGE: -------
Silly-iMac:
cd src/igotu/ && make -f Makefile
echo !_TAG_FILE_FORMAT 2 dummy > /Users/
echo !_TAG_FILE_SORTED 1 dummy >> /Users/
sed -i 's/ /\t/g' /Users/
Code/igotu2gpx-0.2 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=
+fq --exclude=.build -f - src | sed 's/igotu:
g' | LC_ALL=C sort >> tags || cd .
sed: 1: "/Users/
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
compiling libusbconnectio
libusbconnectio
‘igotu:
libusbconnectio
in this scope
libusbconnectio
declared in this scope
make[1]: *** [.build/
make: *** [sub-src-
On 16 Apr 2009, at 09:15, Michael Hofmann wrote:
> qmake -spec macx-g++
Michael Hofmann (mh21) wrote : | #7 |
> libusbconnectio
> ‘igotu:
> libusbconnectio
> in this scope
> libusbconnectio
> declared in this scope
Ok, these are fixed in bzr head (these calls are only available on
linux). Can you try again?
Michael
billy920 (cwscott) wrote : | #8 |
One step closer....
Silly-iMac:
Project MESSAGE: -------
Project MESSAGE: Required dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for boost-po : yes
Project MESSAGE: Looking for libusb : yes
Project MESSAGE: -------
Project MESSAGE: Suggested dependencies:
Project MESSAGE: -------
Project MESSAGE: Looking for chrpath : no
Project MESSAGE: -------
Project MESSAGE: Additional features:
Project MESSAGE: -------
Project MESSAGE: -------
Silly-iMac:
cd src/igotu/ && /usr/bin/qmake igotu.pro -spec /usr/local/Qt4.5/
mkspecs/macx-g++ -macx -o Makefile
cd src/igotu/ && make -f Makefile
echo !_TAG_FILE_FORMAT 2 dummy > /Users/
echo !_TAG_FILE_SORTED 1 dummy >> /Users/
sed -i 's/ /\t/g' /Users/
Code/igotu2gpx-0.2 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=
+fq --exclude=.build -f - src | sed 's/igotu:
g' | LC_ALL=C sort >> tags || cd .
sed: 1: "/Users/
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
compiling pch.h
compiling pch.h
compiling commands.cpp
compiling dataconnection.cpp
compiling igotucommand.cpp
compiling igotupoints.cpp
compiling optionutils.cpp
compiling verbose.cpp
compiling xmlutils.cpp
compiling libusbconnectio
rm -f libigotu.
1.0.dylib
linking ../../bin/
ld: unknown option: -rpath-
collect2: ld returned 1 exit status
make[1]: *** [../../
make: *** [sub-src-
On 16 Apr 2009, at 10:35, Michael Hofmann wrote:
>> libusbconnectio
>> ‘igotu:
>> int)’:
>> libusbconnectio
>> in this scope
>> libusbconnectio
>> not
>> declared in this scope
> Ok, these are fixed in bzr head (these calls are only available on
> linux). Can you try again?
>
> Michael
>
> --
> Errors while compiling on Mac OS X
> https:/
> 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: Incomplete
>
> 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...
Michael Hofmann (mh21) wrote : | #9 |
I played around in the build system, seems like qmake thinks that Mac OS
X is a unix system (which is kind of true :-).
> ld: unknown option: -rpath-
So this should be solved, but maybe I did mess up sth. else. Give it a
try.
Michael
billy920 (cwscott) wrote : | #10 |
What do you mean, kind of..... ;-)
Some error output at the end of the make relating to program options.
Remember I have boost 1.38.0 installed and have previously assumed
that program options was included. There are certainly files relating
to this in //usr/local/
sure why the error is there.
Silly-iMac:
cd src/igotu/ && /usr/bin/qmake igotu.pro -spec /usr/local/Qt4.5/
mkspecs/macx-g++ -macx -o Makefile
cd src/igotu/ && make -f Makefile
echo !_TAG_FILE_FORMAT 2 dummy > /Users/
echo !_TAG_FILE_SORTED 1 dummy >> /Users/
sed -i 's/ /\t/g' /Users/
Code/igotu2gpx-0.2 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=
+fq --exclude=.build -f - src | sed 's/igotu:
g' | LC_ALL=C sort >> tags || cd .
sed: 1: "/Users/
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
compiling pch.h
compiling pch.h
compiling commands.cpp
compiling dataconnection.cpp
compiling igotucommand.cpp
compiling igotupoints.cpp
compiling optionutils.cpp
compiling verbose.cpp
compiling xmlutils.cpp
compiling libusbconnectio
rm -f libigotu.
1.0.dylib
linking ../../bin/
ln -s libigotu.
ln -s libigotu.
ln -s libigotu.
rm -f ../../bin/
rm -f ../../bin/
rm -f ../../bin/
rm -f ../../bin/
mv -f libigotu.
1.0.dylib ../../bin/debug/
cd src/igotu2gpx/ && /usr/bin/qmake igotu2gpx.pro -spec /usr/local/
Qt4.5/mkspecs/
cd src/igotu2gpx/ && make -f Makefile
compiling igotu2gpx.cpp
linking ../../bin/
ld: library not found for -lboost_
collect2: ld returned 1 exit status
make[1]: *** [../../
Error 1
make: *** [sub-src-
Will
On 16 Apr 2009, at 14:14, Michael Hofmann wrote:
> I played around in the build system, seems like qmake thinks that
> Mac OS
> X is a unix system (which is kind of true :-).
>
>> ld: unknown option: -rpath-
>> debug
> So this should be solved, but maybe I did mess up sth. else. Give it a
> try.
>
> Michael
>
> --
> Errors while compiling on Mac OS X
> https:/
> 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: Incomplete
>
> 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...
Michael Hofmann (mh21) wrote : | #11 |
> linking ../../bin/
> ld: library not found for -lboost_
Hmm, the boost program options library consists of headers
(in /usr/local/
So let's figure out the name of the library on Mac OS X and where it is.
Can you give me a ls of /usr/local/
called sth. like libboost_
Michael
billy920 (cwscott) wrote : | #12 |
This one then:
-rw-r--r-- 1 root wheel 2472932 14 Apr 18:47
libboost_
-rwxr-xr-x 1 root wheel 368480 14 Apr 18:36
libboost_
lrwxr-xr-x 1 root wheel 41 14 Apr 18:50
libboost_
xgcc40-mt-1_38.a
lrwxr-xr-x 1 root wheel 45 14 Apr 18:42
libboost_
xgcc40-
Silly-iMac:lib Will$ pwd
/usr/local/lib
Silly-iMac:lib Will$ ls
libboost_
mt.a libboost_
libboost_
mt.dylib libboost_
libboost_
mt-1_38.a libboost_
libboost_
mt-1_38.dylib libboost_
libboost_
xgcc40-mt.a libboost_
libboost_
xgcc40-mt.dylib libboost_
libboost_
mt-1_38.a libboost_
libboost_
mt-1_38.dylib libboost_
libboost_
mt.a libboost_
libboost_
mt.dylib libboost_
libboost_
libfuse.0.dylib
libboost_
mt-1_38.dylib libfuse.2.7.3.dylib
libboost_
libfuse.2.dylib
libboost_
mt.dylib libfuse.dylib
libboost_
libfuse.la
libboost_
mt-1_38.dylib libfuse_
libboost_
libfuse_
libboost_
mt.dylib libfuse_ino64.dylib
libboost_
mt-1_38.a libfuse_ino64.la
libboost_
mt-1_38.dylib libprl_
libboost_
mt.a libprl_
libboost_
xgcc40-mt.dylib libprl_sdk.3.dylib
libboost_
libprl_sdk.dylib
libboost_
mt-1_38.dylib libusb-
libboost_
libusb-
libboost_
Michael Hofmann (mh21) wrote : | #13 |
> libboost_
I changed the build system to be more flexible on Mac OS X, so you can define
macx:BOOSTROOT = /usr/local
macx:BOOSTINCLU
macx:BOOSTLIBDIR = $${BOOSTROOT}/lib
macx:BOOSTPOLIB = boost_program_
and it will hopefully use these. Next try :-).
billy920 (cwscott) wrote : | #14 |
Mmm, that worked BUT I think there's still an issue:
The make:
Silly-iMac:
cd src/igotu/ && /usr/bin/qmake igotu.pro -spec /usr/local/Qt4.5/
mkspecs/macx-g++ -macx -o Makefile
cd src/igotu/ && make -f Makefile
echo !_TAG_FILE_FORMAT 2 dummy > /Users/
echo !_TAG_FILE_SORTED 1 dummy >> /Users/
sed -i 's/ /\t/g' /Users/
Code/igotu2gpx-0.2 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=
+fq --exclude=.build -f - src | sed 's/igotu:
g' | LC_ALL=C sort >> tags || cd .
sed: 1: "/Users/
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
compiling pch.h
compiling pch.h
compiling commands.cpp
compiling dataconnection.cpp
compiling igotucommand.cpp
compiling igotupoints.cpp
compiling optionutils.cpp
compiling verbose.cpp
compiling xmlutils.cpp
compiling libusbconnectio
rm -f libigotu.
1.0.dylib
linking ../../bin/
ln -s libigotu.
ln -s libigotu.
ln -s libigotu.
rm -f ../../bin/
rm -f ../../bin/
rm -f ../../bin/
rm -f ../../bin/
mv -f libigotu.
1.0.dylib ../../bin/debug/
cd src/igotu2gpx/ && /usr/bin/qmake igotu2gpx.pro -spec /usr/local/
Qt4.5/mkspecs/
cd src/igotu2gpx/ && make -f Makefile
compiling igotu2gpx.cpp
linking ../../bin/
The sudo make install:
Silly-iMac:
Password:
cd src/igotu/ && make -f Makefile install
echo !_TAG_FILE_FORMAT 2 dummy > /Users/
echo !_TAG_FILE_SORTED 1 dummy >> /Users/
sed -i 's/ /\t/g' /Users/
Code/igotu2gpx-0.2 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=
+fq --exclude=.build -f - src | sed 's/igotu:
g' | LC_ALL=C sort >> tags || cd .
sed: 1: "/Users/
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
cp -f "../../
1.0.0.dylib"
ln -sf "libigotu.
ln -sf "libigotu.
ln -sf "libigotu.
cd src/igotu2gpx/ && make -f Makefile install
rm -f -r "/usr/local/
cp -f -R "../../
cp -f /Users/
local/share/
cp -f /Users/
igotu2gpx/
cp -f /Users/
igotu2gpx/
This gives me a igotu2gpx.app folder/application in the /usr/local/bin
directory which I ca...
Michael Hofmann (mh21) wrote : | #15 |
> linking ../../bin/
Ok, I found a qmake configuration setting that promises a normal
executable. Wanna try it?
billy920 (cwscott) wrote : | #16 |
Certainly - it worked a treat, I get the impression you may have done
this kind of thing before!
Unfortunately I have no idea if this will talk to my (replaced) igotu
when it arrives but at least you have done a great job in getting this
set up for Mac users who are desperately in need of such a tool. Once
there's a new release with source distribution I'll re-test and will
be happy to send over compiled versions - looks like the bin/debug
folder would do the job.
So - is there anyone out there with a Mac and working igotu who would
like to give this a go??
Silly-iMac:
cd src/igotu/ && make -f Makefile install
echo !_TAG_FILE_FORMAT 2 dummy > /Users/
echo !_TAG_FILE_SORTED 1 dummy >> /Users/
sed -i 's/ /\t/g' /Users/
Code/igotu2gpx-0.2 && ctags -R --c++-kinds=+p-n --fields=+iaS --extra=
+fq --exclude=.build -f - src | sed 's/igotu:
g' | LC_ALL=C sort >> tags || cd .
sed: 1: "/Users/
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
cp -f "../../
1.0.0.dylib"
ln -sf "libigotu.
ln -sf "libigotu.
ln -sf "libigotu.
cd src/igotu2gpx/ && make -f Makefile install
cp -f "../../
cp -f /Users/
local/share/
cp -f /Users/
igotu2gpx/
cp -f /Users/
igotu2gpx/
On 16 Apr 2009, at 17:14, Michael Hofmann wrote:
>> linking ../../bin/
> Ok, I found a qmake configuration setting that promises a normal
> executable. Wanna try it?
>
> --
> Errors while compiling on Mac OS X
> https:/
> 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: Incomplete
>
> 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-
> - 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....
Michael Hofmann (mh21) wrote : | #17 |
Marked as Fix Committed because it at least compiles now. How to create a distributable package with all the libraries in it (Qt and Boost-Po) is another question :-).
Changed in igotu2gpx: | |
status: | Incomplete → Fix Committed |
Gustavo Funke (gustavofunke-ig) wrote : | #18 |
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.
billy920 (cwscott) wrote : | #19 |
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://
312_2621)
- qt4 - http://
at Rel 4.5.1)
- boost - http://
- libusb - http://
not the most recent but try this version)
- pkg-config - http://
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:/
> 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-
> - 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 fi...
Gustavo Funke (gustavofunke-ig) wrote : | #20 |
Hello Billy920!
Thank you about this very good tutorial.
I will try to do it soon (Because I am in vacations now).
I will do some report after this.
Thank you again. :-)
Changed in igotu2gpx: | |
status: | Fix Committed → Fix Released |
milestone: | 0.3 → none |
Thanks for your bug report. Because I don't have a mac system, I need your help to get the Mac support in a usable state.
I commit some smallish changes to the build system that should get you a bit further, but you need to checkout the version in bzr with "bzr branch lp:igotu2gpx".