Darrin Garrett
|
Re: cmake issue running the configure scripts on ubuntu 10.4
|
Darrin Garrett
09/01/2010 2:43 PM
post65542
|
Re: cmake issue running the configure scripts on ubuntu 10.4
attached is the cache file that was generated
|
|
|
Max Feil
|
RE: cmake issue running the configure scripts on ubuntu 10.4
|
Max Feil
09/01/2010 3:16 PM
post65547
|
RE: cmake issue running the configure scripts on ubuntu 10.4
Your $QNX_HOST environment variable is not set, so maybe you don't have
the QNX SDP installed? Or if you just recently installed it, you have
not logged out and then back in to make sure the environment variables
get set in new shells.
-----Original Message-----
From: Darrin Garrett [mailto:community-noreply@qnx.com]
Sent: Wednesday, September 01, 2010 12:00 PM
To: general-web_browsers
Subject: cmake issue running the configure scripts on ubuntu 10.4
I am new to cmake, and have an issue when i follow the webkit readme
build instructions. When I run the configure script
../build-scripts/configure-owb x86 "" from webket/trunk/nto-x86-gf
directory I get:
loading initial cache file ../cmake/ConfigureBuildGf.cmake
-- The CXX compiler identification is unknown
-- The C compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/qcc
CMake Error: your CXX compiler: "/usr/bin/qcc" was not found. Please
set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: /usr/bin/qcc -- broken
CMake Error at
/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:43 (MESSAGE):
The C++ compiler "/usr/bin/qcc" is not able to compile a simple test
program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:7 (project)
CMake Error: your CXX compiler: "/usr/bin/qcc" was not found. Please
set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your C compiler: "/usr/bin/qcc" was not found. Please set
CMAKE_C_COMPILER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
I know gcc and g++ are working an reside in /usr/bin so I have not been
able to determine why cmake cannot find the compilers. Anyone have any
ideas on what is wrong and how to fix it?
The cmake web site talks about a the need for a CMakeLists.txt file,
which I cannot find anywhere under opt/web-browsers.
Thanks
_______________________________________________
General
http://community.qnx.com/sf/go/post65509
|
|
|