[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Compiling problem
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] Compiling problem |
Date: |
Sun, 04 Mar 2018 23:11:09 +1100 |
> On 4 Mar 2018, at 22:38, Tony Theodore <address@hidden> wrote:
>
>
>
>> On 4 Mar 2018, at 22:10, Markus Vahrenholt <address@hidden> wrote:
>>
>> Hi Tony.
>> Thanks for the help, please have a look:
>> https://github.com/librexcoin/librexcoin/blob/master/librexcoin-qt.pro
>
> There’s nothing obvious there, something in your environment or config is
> setting `mgw46-mt-sd-1_53`, just search for `mgw46` and delete all references.
For example, delete a line like this:
https://github.com/Eryllium/project/blob/2515fc3cfe9137d532b3df0eb1d3c373e66ccbac/qt.pro#L32
LIBS += -lboost_system-mgw46-mt-sd-1_53 -lboost_filesystem-mgw46-mt-sd-1_53
-lboost_program_options-mgw46-mt-sd-1_53 -lboost_thread-mgw46-mt-sd-1_53
because the `+=` will append those hard-coded libs even though the correct ones
are added later:
https://github.com/Eryllium/project/blob/2515fc3cfe9137d532b3df0eb1d3c373e66ccbac/qt.pro#L506
LIBS += -lboost_system$$BOOST_LIB_SUFFIX
-lboost_filesystem$$BOOST_LIB_SUFFIX -lboost_program_options$$BOOST_LIB_SUFFIX
-lboost_thread$$BOOST_THREAD_LIB_SUFFIX
Cheers,
Tony