No subject


Tue Nov 2 11:10:42 EDT 2010


SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fno-rtti" CACHE STRING "" FORCE)

Cheers
/Johan


On Mon, Dec 13, 2010 at 4:49 PM, Justin Holewinski <
justin.holewinski at gmail.com> wrote:

> I am experiencing a cross-compiling issue that I believe is related to how
> toolchain files interact with the configure-time compiler checks.  For
> reference, I am targeting the iOS 4.2 SDK.  I have a toolchain file that
> sets CMAKE_C_FLAGS, CMAKE_CXX_FLAGS, CMAKE_C_LINK_FLAGS, and
> CMAKE_CXX_LINK_FLAGS with appropriate flags for the iOS platform, in
> particular "-arch armv6 -arch armv7".  The toolchain file also sets the
> proper C and C++ compilers.
>
> When CMake is executed and the C compiler is tested, the
> toolchain-specified compiler arguments are passed to the link line, but
> *not* the compile line (according to the error output).  Since the compile
> line does not contain the "-arch" arguments, the generated object file is
> for i386.  However, since the link line contains these flags, the linker
> tries to link ARM code and fails.
>
> Are there any additional variables I should be setting in addition to
> CMAKE_C_FLAGS and CMAKE_CXX_FLAGS in order to get the compiler tests to use
> the right flags?  If I add the "-arch" flags using ADD_DEFINITIONS(), they
> are passed to the compiler test and it succeeds.  That seems like a hack and
> not a proper solution, though.
>
> Below is the CMake output that prints the values of CMAKE_*_FLAGS as set by
> the toolchain file, as well as the compile and link lines used by CMake.
>
> I am using CMake 2.8.3 on Snow Leopard 10.6.5.
>
> CMake Output:
>
> -- CMAKE_C_FLAGS:        -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_CXX_FLAGS       -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_C_LINK_FLAGS    -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_CXX_LINK_FLAGS  -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_C_FLAGS:        -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_CXX_FLAGS       -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_C_LINK_FLAGS    -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- CMAKE_CXX_LINK_FLAGS  -arch armv6 -arch armv7 -pipe -no-cpp-precomp
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
> -miphoneos-version-min=4.2
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> -- Check for working C compiler:
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
> -- Check for working C compiler:
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -- broken
> CMake Error at
> /opt/local/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
>   The C compiler
>   "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2" is not
>   able to compile a simple test program.
>
>   It fails with the following output:
>
>    Change Dir:
> /Users/jholewinski/projects/rapture/build-test/ios/CMakeFiles/CMakeTmp
>
>
>
>   Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
>
>   /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
>   CMakeFiles/cmTryCompileExec.dir/build
>
>   /opt/local/bin/cmake -E cmake_progress_report
>
>   /Users/jholewinski/projects/rapture/build-test/ios/CMakeFiles/CMakeTmp/CMakeFiles
>   1
>
>   Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj
>
>   /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
>
>   -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include
>   -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -c
>
>   /Users/jholewinski/projects/rapture/build-test/ios/CMakeFiles/CMakeTmp/testCCompiler.c
>
>
>   Linking C executable cmTryCompileExec
>
>   /opt/local/bin/cmake -E cmake_link_script
>   CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
>
>   /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch
>   armv6 -arch armv7 -pipe -no-cpp-precomp
>
>   --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
>   -miphoneos-version-min=4.2
>   CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -o cmTryCompileExec
>
>   -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/lib
>
>
>   ld: warning: in CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj, file
>   was built for i386 which is not the architecture being linked (armv6)
>
>   Undefined symbols for architecture armv6:
>
>     "_main", referenced from:
>         start in crt1.3.1.o
>
>   ld: symbol(s) not found for architecture armv6
>
>   collect2: ld returned 1 exit status
>
>   ld: warning: in CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj, file
>   was built for i386 which is not the architecture being linked (armv7)
>
>   Undefined symbols for architecture armv7:
>
>     "_main", referenced from:
>         start in crt1.3.1.o
>
>   ld: symbol(s) not found for architecture armv7
>
>   collect2: ld returned 1 exit status
>
>   lipo: can't open input file:
>   /var/folders/pS/pSWOJvZ-FDS4A2Eo7TwIzE+++TI/-Tmp-//ccKkL4CZ.out (No such
>   file or directory)
>
>   make[1]: *** [cmTryCompileExec] Error 1
>
>   make: *** [cmTryCompileExec/fast] Error 2
>
>
>
>
>
>   CMake will not be able to correctly generate this project.
> Call Stack (most recent call first):
>   CMakeLists.txt:30 (project)
>
>
> -- Configuring incomplete, errors occurred!
>
>
> --
>
> Thanks,
>
> Justin Holewinski
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>

--0022152d5eb914e81504975bad44
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Justin,<div><br></div><div>I&#39;m very unsure if this is the correct so=
lution, but it worked for me. I haven&#39;t been able to find any good docu=
mentation stating how the CMakeCache interacts with other parts of CMake.=
=A0</div>
<div><br></div><div>My assumption is that since CMAKE_C{XX}_FLAGS is suppos=
ed to allow the user to set optional compilation flags, it prefers the valu=
e in the cache versus the one from the toolchain file.</div><div><br></div>
<div>From one of my toolchain files, reproduce as necessary for CMAKE_C_FLA=
GS:</div><div><div>SET(CMAKE_CXX_FLAGS &quot;${CMAKE_C_FLAGS} -fno-rtti&quo=
t; CACHE STRING &quot;&quot; FORCE)</div><div><br></div><div>Cheers</div>
<div>/Johan</div><div><br></div><br><div class=3D"gmail_quote">On Mon, Dec =
13, 2010 at 4:49 PM, Justin Holewinski <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:justin.holewinski at gmail.com">justin.holewinski at gmail.com</a>&gt;</span>=
 wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">I am experiencing a cross-compiling issue t=
hat I believe is related to how toolchain files interact with the configure=
-time compiler checks. =A0For reference, I am targeting the iOS 4.2 SDK. =
=A0I have a toolchain file that sets CMAKE_C_FLAGS, CMAKE_CXX_FLAGS, CMAKE_=
C_LINK_FLAGS, and CMAKE_CXX_LINK_FLAGS with appropriate flags for the iOS p=
latform, in particular &quot;-arch armv6 -arch armv7&quot;. =A0The toolchai=
n file also sets the proper C and C++ compilers.<div>

<br></div><div>When CMake is executed and the C compiler is tested, the too=
lchain-specified compiler arguments are passed to the link line, but *not* =
the compile line (according to the error output). =A0Since the compile line=
 does not contain the &quot;-arch&quot; arguments, the generated object fil=
e is for i386. =A0However, since the link line contains these flags, the li=
nker tries to link ARM code and fails.</div>

<div><br></div><div>Are there any additional variables I should be setting =
in addition to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS in order to get the compil=
er tests to use the right flags? =A0If I add the &quot;-arch&quot; flags us=
ing ADD_DEFINITIONS(), they are passed to the compiler test and it succeeds=
. =A0That seems like a hack and not a proper solution, though.</div>

<div><br></div><div>Below is the CMake output that prints the values of CMA=
KE_*_FLAGS as set by the toolchain file, as well as the compile and link li=
nes used by CMake.</div><div><br></div><div>I am using CMake 2.8.3 on Snow =
Leopard 10.6.5.</div>

<div><br></div><div>CMake Output:</div><div><br></div><div><div><font face=
=3D"&#39;courier new&#39;, monospace">-- CMAKE_C_FLAGS: =A0 =A0 =A0 =A0-arc=
h armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Developer/Platforms/=
iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-version-min=3D4=
.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_CXX_FLAGS =A0=
 =A0 =A0 -arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Develop=
er/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-ve=
rsion-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_C_LINK_FLAGS =
=A0 =A0-arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Developer=
/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-vers=
ion-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_CXX_LINK_FLAG=
S =A0-arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Developer/P=
latforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-versio=
n-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_C_FLAGS: =A0 =
=A0 =A0 =A0-arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Devel=
oper/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-=
version-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_CXX_FLAGS =A0=
 =A0 =A0 -arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Develop=
er/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-ve=
rsion-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_C_LINK_FLAGS =
=A0 =A0-arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Developer=
/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-vers=
ion-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- CMAKE_CXX_LINK_FLAG=
S =A0-arch armv6 -arch armv7 -pipe -no-cpp-precomp --sysroot=3D/Developer/P=
latforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk -miphoneos-versio=
n-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">-- The C compiler iden=
tification is GNU</font></div><div><font face=3D"&#39;courier new&#39;, mon=
ospace">-- The CXX compiler identification is GNU</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace">-- Check for working C=
 compiler: /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2=
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">-- Check =
for working C compiler: /Developer/Platforms/iPhoneOS.platform/Developer/us=
r/bin/gcc-4.2 -- broken</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">CMake Error at /opt/lo=
cal/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</font></=
div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0The C compil=
er</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0&quot;/Developer=
/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2&quot; is not</font><=
/div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0able to com=
pile a simple test program.</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0It fails with the fol=
lowing output:</font></div><div>
<font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div><font=
 face=3D"&#39;courier new&#39;, monospace">=A0=A0 Change Dir: /Users/jholew=
inski/projects/rapture/build-test/ios/CMakeFiles/CMakeTmp</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0</font></div><div><fo=
nt face=3D"&#39;courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0Run=
 Build Command:/usr/bin/make &quot;cmTryCompileExec/fast&quot;</font></div>=
<div><font face=3D"&#39;courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0/us=
r/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make</font></div><div><=
font face=3D"&#39;courier new&#39;, monospace">=A0=A0CMakeFiles/cmTryCompil=
eExec.dir/build</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0/opt/local/bin/cmake =
-E cmake_progress_report</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0/Users/jholewins=
ki/projects/rapture/build-test/ios/CMakeFiles/CMakeTmp/CMakeFiles</font></d=
iv><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A01</font></div=
>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0Building C object CMa=
keFiles/cmTryCompileExec.dir/testCCompiler.c.obj</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0/Developer/Platforms/=
iPhoneOS.platform/Developer/usr/bin/gcc-4.2</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0-I/Developer/Pla=
tforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/include</font><=
/div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0-o CMakeFil=
es/cmTryCompileExec.dir/testCCompiler.c.obj -c</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0/Users/jholewins=
ki/projects/rapture/build-test/ios/CMakeFiles/CMakeTmp/testCCompiler.c</fon=
t></div><div><font face=3D"&#39;courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace"><br></fon=
t></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0Linking =
C executable cmTryCompileExec</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0/opt/local/bin/cmake =
-E cmake_link_script</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0CMakeFiles/cmTry=
CompileExec.dir/link.txt --verbose=3D1</font></div><div><font face=3D"&#39;=
courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0/De=
veloper/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch</font><=
/div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0armv6 -arch=
 armv7 -pipe -no-cpp-precomp</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0--sysroot=3D/Dev=
eloper/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk</font></d=
iv><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0-miphoneos-ve=
rsion-min=3D4.2</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0CMakeFiles/cmTry=
CompileExec.dir/testCCompiler.c.obj -o cmTryCompileExec</font></div><div><f=
ont face=3D"&#39;courier new&#39;, monospace">=A0=A0-L/Developer/Platforms/=
iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/lib</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div><font=
 face=3D"&#39;courier new&#39;, monospace">=A0=A0ld: warning: in CMakeFiles=
/cmTryCompileExec.dir/testCCompiler.c.obj, file</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0was built for i3=
86 which is not the architecture being linked (armv6)</font></div><div><fon=
t face=3D"&#39;courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0Und=
efined symbols for architecture armv6:</font></div><div><font face=3D"&#39;=
courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0 =
=A0&quot;_main&quot;, referenced from:</font></div><div><font face=3D"&#39;=
courier new&#39;, monospace">=A0=A0 =A0 =A0 =A0start in crt1.3.1.o</font></=
div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0ld: symbol(s) not fou=
nd for architecture armv6</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0collect2: ld returned=
 1 exit status</font></div><div>
<font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div><font=
 face=3D"&#39;courier new&#39;, monospace">=A0=A0ld: warning: in CMakeFiles=
/cmTryCompileExec.dir/testCCompiler.c.obj, file</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0was built for i3=
86 which is not the architecture being linked (armv7)</font></div><div><fon=
t face=3D"&#39;courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0Und=
efined symbols for architecture armv7:</font></div><div><font face=3D"&#39;=
courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0 =
=A0&quot;_main&quot;, referenced from:</font></div><div><font face=3D"&#39;=
courier new&#39;, monospace">=A0=A0 =A0 =A0 =A0start in crt1.3.1.o</font></=
div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0ld: symbol(s) not fou=
nd for architecture armv7</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0collect2: ld returned=
 1 exit status</font></div><div>
<font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div><font=
 face=3D"&#39;courier new&#39;, monospace">=A0=A0lipo: can&#39;t open input=
 file:</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=
=A0/var/folders/pS/pSWOJvZ-FDS4A2Eo7TwIzE+++TI/-Tmp-//ccKkL4CZ.out (No such=
</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0file or director=
y)</font></div><div><font face=3D"&#39;courier new&#39;, monospace"><br></f=
ont></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0make[1=
]: *** [cmTryCompileExec] Error 1</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0make: *** [cmTryCompi=
leExec/fast] Error 2</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace">=A0=A0</font></div><div><fo=
nt face=3D"&#39;courier new&#39;, monospace"><br>
</font></div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0</f=
ont></div><div><font face=3D"&#39;courier new&#39;, monospace"><br></font><=
/div><div><font face=3D"&#39;courier new&#39;, monospace">=A0=A0CMake will =
not be able to correctly generate this project.</font></div>

<div><font face=3D"&#39;courier new&#39;, monospace">Call Stack (most recen=
t call first):</font></div><div><font face=3D"&#39;courier new&#39;, monosp=
ace">=A0=A0CMakeLists.txt:30 (project)</font></div>
<div><font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div>=
<font face=3D"&#39;courier new&#39;, monospace"><br></font></div><div><font=
 face=3D"&#39;courier new&#39;, monospace">-- Configuring incomplete, error=
s occurred!</font></div>

</div><div><br></div><div><br>-- <br><br><div>Thanks,</div><div><br></div><=
div>Justin Holewinski</div><br>
</div>
<br>_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href=3D"http:/=
/www.cmake.org/Wiki/CMake_FAQ" target=3D"_blank">http://www.cmake.org/Wiki/=
CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"http://www.cmake.org/mailman/listinfo/cmake" target=3D"_blank">h=
ttp://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></=
div>

--0022152d5eb914e81504975bad44--


More information about the CMake mailing list