[CMake] problems with icc9

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Aug 18 13:46:41 EDT 2005


Filipe,

	I believe you only exported CC and CXX, you also need to export 
LD_LIBRARY_PATH. For example:

export LD_LIBRARY_PATH=/opt/intel_cc9/lib

	Then you need to delete the cmake cache (rm CMakeCache.txt)

HTH
Mathieu


Filipe Sousa wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> fsousa at neptuno ~/builds/cmake-icc $ export CXX=icpc
> fsousa at neptuno ~/builds/cmake-icc $ export CC=icc
> fsousa at neptuno ~/builds/cmake-icc $ cmake ~/cvs/CMake
> - -- Check for working C compiler: /opt/intel/compiler90/bin/icc
> - -- Check for working C compiler: /opt/intel/compiler90/bin/icc -- works
> - -- Check size of void *
> - -- Check size of void * - failed
> - -- Check for working CXX compiler: /opt/intel/compiler90/bin/icpc
> - -- Check for working CXX compiler: /opt/intel/compiler90/bin/icpc -- works
> - -- Checking for CXX include file iostream
> - -- Checking for CXX include file iostream -- found
> - -- Check for STD namespace
> - -- Check for STD namespace - found
> - -- Check for ANSI scope
> - -- Check for ANSI scope - found
> - -- Checking for CXX include file sstream
> - -- Checking for CXX include file sstream -- found
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> CMAKE_SIZEOF_VOID_P
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> CMAKE_SIZEOF_VOID_P
> CMake Error: Error required internal CMake variable not set, cmake may
> be not be built correctly.
> Missing variable is:
> CMAKE_SIZEOF_VOID_P
> - -- This is a CVS repository
> - -- Using Buildname: Linux-icpc
> 
> fsousa at neptuno ~/builds/cmake-icc $ icpc -V
> Intel(R) C++ Compiler for 32-bit applications, Version 9.0    Build
> 20050722Z Package ID: <installpackageid>
> Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.
> FOR NON-COMMERCIAL USE ONLY
> 
> - -- Filipe Sousa
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDBMWAbQdNYqwwwCwRAmlTAKCdVSzRM1oxf4hkpGG1VWyOwnIj+ACgm82u
> 1c2FwZegHRyhQ4dJfKKLOIg=
> =TrdY
> -----END PGP SIGNATURE-----
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 



More information about the CMake mailing list