Build igotu2gpx on OS X Yosemite
Hi!
I am trying to build igotu2gpx 0.30.0 on OS X Yosemite so that I can integrate a patch for the year 2016 bug.
I managed to create a build, but it crashes immediately.
I used Homebrew to install dependancies:
brew install qt
brew install homebrew/
brew install boost --cc=gcc-4.9
brew uninstall libusb (could not get ld to find libusb, but it is happy with limbs-compat)
brew install libusb-compat
brew install pkg-config
I updated localconfig.pri like so:
macx:BOOSTROOT = /usr/local/
macx:BOOSTINCLU
macx:BOOSTLIBDIR = $${BOOSTROOT}/lib
macx:BOOSTPOLIB = boost_program_
macx:LIBUSBINCL
This is not good enough for the liker to fin libusb. Thus I also patched libusb.pri:
LIBS *= -L/usr/
Then I run:
qmake -spec macx-g++
make
sudo make install
The binary is installed at:
/usr/local/
It links against:
/usr/local/
/usr/local/
/usr/local/
/usr/lib/
/usr/lib/
/usr/lib/
Running the binary crashes:
/usr/local/
igotu2gpx(
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
I don’t expect this to be a code level bug since I am using the code distribution from https:/
Any suggestions appreciated.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- igotu2gpx Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Pierre Bernard for more information if necessary.