Re: [hatari-devel] cmake and cross-compiling |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Nicolas Pomarède <npomarede@xxxxxxxxxxxx>
- Subject: Re: [hatari-devel] cmake and cross-compiling
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sun, 30 Dec 2012 22:18:50 +0100
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=zXkTLkEXybCq22Kqnv5fFgrd2B5iurpoLecn3ifps9E=; b=yVdRN0o3H2R2LAKdOdSwHA/A0fLraibHVnVhcPkWGVIJPC4kh44+ZOZN+mAqGqMM8n elLnfDmjsAIjnzeUnBIH40DUyqE/cMgJS6R2z5eRoyLrn4tNZE+SKKdxfhH0F1cgDZfR +3AsAsQb4tw+n75DS0EetRRh7VmyXIHyNRdX/UyiYqL1Jdz5UmT3sQaWY7oQ7u+842Ym 65exoFAHlY6H7FpvG06674fliXMe9QpxPZYpFKSoZtywUxs9pAoVoR2905JBuxWm2rYF YEDKwtkfqZpDMqBZIqJM8Kp/NJe13yREr5Y25O51POeF7f6F9H8VdT/P9J8MsTDBzrMu su7Q==
On Sun, Dec 30, 2012 at 10:09 PM, Christer Solskogen
<christer.solskogen@xxxxxxxxx> wrote:
> On Sun, Dec 30, 2012 at 7:10 PM, Nicolas Pomarède
> <npomarede@xxxxxxxxxxxx> wrote:
>> But it doesn't solve the "/mingw" part to add or not to the path.
>>
>
Hm, or maybe.
I get this with the new patch:
-- The C compiler identification is GNU 4.7.3
-- Check for working C compiler:
/home/solskogen/obj/cross-mingw-w64/bin/x86_64-w64-mingw32-gcc
-- Check for working C compiler:
/home/solskogen/obj/cross-mingw-w64/bin/x86_64-w64-mingw32-gcc --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
(MESSAGE):
Could NOT find SDL (missing: SDL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindSDL.cmake:172
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:80 (find_package)
But If I set CMAKE_FIND_ROOT_PATH manually, it have no problems
finding the (correct) libraries. Any hints?
--
chs,