unable to complete cross-building on fedora 20
Dirk Hohndel
dirk at hohndel.org
Thu Apr 10 13:12:42 PDT 2014
On Thu, 2014-04-10 at 14:05 -0500, Lakshman wrote:
> > I've never had a no job control error, where were you trying to build
> > marble and libgit2? I think the INSTALL suggests creating a build directory,
> > which I would suggest. You might hit a couple more bumps trying to cross-
> > compile, I remember having issues where one of the ssl dlls weren't being
> > included when running the packaging script in packaging/windows
> >
> That was my mistake. I didn't install cmake, now got things moving.
Cool
> I could build libgit2 as was guided in the INSTALL file. However I am
> unable to complete building "marble", here are the errors I am
> getting, looks like I need to add something into the environment
> variables, but unable to figure out how to resolve this, can someone
> help me with this issue.
>
> When I did "mingw32-cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE
> ../sources/" from marble/build/ directory, I get the following error:
>
> CMake Warning at /usr/share/cmake/Modules/FindQt4.cmake:659 (message):
> /usr/bin/qmake-qt4 reported QT_INSTALL_LIBS as "/usr/lib64" but QtCore
> could not be found there. Qt is NOT installed correctly for the target
> build environment.
> Call Stack (most recent call first):
> CMakeLists.txt:255 (find_package)
>
> CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:664 (message):
> Could NOT find QtCore. Check
> /home/lakshman/src/marble/build/CMakeFiles/CMakeError.log for more details.
> Call Stack (most recent call first):
> CMakeLists.txt:255 (find_package)
>
>
> I do have qt installed, I could run a sample qt code successfully,
> which could link to QtCore. But while cross-building I got the above
> error. Can someone direct me where I am going wrong and provide hints
> of what to do to resolve this.
You are calling your native cmake and qmake-qt4 - but you need to call
mingw32-qmake-qt4 and mingw32-cmake
/D
More information about the subsurface
mailing list