02-22-2015, 01:27 AM
And what did you change in target arch.cmake?
Normally the toolchain file blacklist *lib64* path
Normally the toolchain file blacklist *lib64* path
Compiling question
|
02-22-2015, 01:27 AM
And what did you change in target arch.cmake?
Normally the toolchain file blacklist *lib64* path
02-22-2015, 02:50 PM
First I tried regular cmake -DCMAKE_BUILD_TYPE=Release and that's when I got this error
Quote:- Cross compilation is disabled. Then I added that "-DCMAKE_TOOLCHAIN_FILE=cmake/linux-compiler-i386-multilib.cmake" but still got the same error. Then i went and edited TartgetArch.cmake, in the line before the last one, changed from set(${output_var} "${ARCH}" PARENT_SCOPE) to set(${output_var} "i386" PARENT_SCOPE). After that cmake runs without errors but is looking for 64bit libraries like explained in previous post of mine.
You fix is bad try this one instead:
Code: diff --git a/cmake/linux-compiler-i386-multilib.cmake b/cmake/linux-compiler-i386-multilib.cmake
02-22-2015, 04:30 PM
That helped, thanks!
|
« Next Oldest | Next Newest »
|