HTMLCOIN / HTML5

The HTML5 Coin Repository
32 stars 19 forks source link

Linux/unix build fails because of refs to mingW libboost libraries... #2

Closed mxbdev closed 10 years ago

mxbdev commented 10 years ago

This is the error when building on a pure Linux box (not mingw on a dos box): /usr/bin/ld: cannot find -lboost_system-mgw48-mt-s-1_55 /usr/bin/ld: cannot find -lboost_filesystem-mgw48-mt-s-1_55 /usr/bin/ld: cannot find -lboost_program_options-mgw48-mt-s-1_55 /usr/bin/ld: cannot find -lboost_thread-mgw48-mt-s-1_55 collect2: error: ld returned 1 exit status

This results from left-over or incorrectly specified boost library env variables in the QT Pro file. Either hand edit this or have the dev correct the mistake by putting in conditional tests for the h/w and o/s.

I'll leave this open if I find a quick patch.

mxbdev commented 10 years ago

Found a quick fix: 1) back up your .pro file 2) edit the .pro file and change the following: BOOST_LIB_SUFFIX=-mgw48-mt-s-1_55 to BOOST_LIB_SUFFIX=

3) run qmake again from the shell 4) run make Voila !