[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] MXE can't find Boost.Thread
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] MXE can't find Boost.Thread |
Date: |
Thu, 16 May 2013 04:54:05 +1000 |
On 16/05/2013, at 3:21 AM, Adri CS <address@hidden> wrote:
> Hi,
> I built Boost and Qt libs in Ubuntu with your project using 'make pthreads
> zlib boost qt'. No error messages were output.
>
> Then I tried to build PCL version 1.7 from their repo in Github, using Cmake,
> like in the step 5b of the tutorial:
>
> ccmake ../src
> -DCMAKE_TOOLCHAIN_FILE=/home/a/c/mxe/usr/i686-pc-mingw32/share/cmake/mxe-conf.cmake
>
> However, when configuring I got two errors, that Cmake can't find
> Boost.thread and QtCore.
>
> I checked and in the mxe dir do exist "libboost_thread-win32.a" and
> "libQtCore.a" libs. If I set by hand the path to those libs, when
> reconfiguring I still get the Boost.Thread complaint.
>
> Whant might be happening?
You may want to check some of the patches/configuration of the PCL included in
mxe to see if any are appropriate. There's a cmake option
"-DBoost_THREADAPI=win32" that may help.
For Qt, we install to qt or qt5 subdirectories so you may have let cmake know
about that somehow.
Cheers,
Tony