Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-09 Thread Alexander Neundorf
On Wednesday 09 February 2011, Enrique Izaguirre wrote: > Thanks a lot, > > I removed the CXX from the Project() and now both compilers are recognized > and the problem was solved. > > Really appreciate your help You're welcome :-) Nice that it's working now for you Alex P.S. please keep replys

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-05 Thread Alexander Neundorf
On Saturday 05 February 2011, Enrique Izaguirre wrote: > Hi Alex, > > Thank for the response. For some reason I didn't get the whole output > before, but now here it is: > > # cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-linuxcpp.cmake .. > -- The CXX compiler identification is GNU > -- Check for work

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-05 Thread Johan Björk
Hi, Make sure you delete the builddirectory if you change the toolchain file, in the output you sent all the compiler detection/testing results was cached. /johan On Feb 4, 2011 10:27 PM, "Enrique Izaguirre" wrote: > Thanks Alexander, > Seems that it doesn't have much information but here it is:

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-04 Thread Alexander Neundorf
On Friday 04 February 2011, Enrique Izaguirre wrote: > Thanks Alexander, > Seems that it doesn't have much information but here it is: > > # cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-linuxcpp.cmake .. > System name is: > Linux > The Top directory is: > /home/x0148488/omapflash > Adding subdirectory

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-04 Thread Enrique Izaguirre
Thanks Alexander, Seems that it doesn't have much information but here it is: # cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-linuxcpp.cmake .. System name is: Linux The Top directory is: /home/x0148488/omapflash Adding subdirectory comdriver... Entering comdriver's CMakeLists Now trying to find AdbWi

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-04 Thread Alexander Neundorf
On Friday 04 February 2011, Enrique Izaguirre wrote: > Hello again, > > I am trying to cross-compile from Windows (actually Cygwin) to Linux. > My Toolchain file (Toolchain-linuxcpp.cmake) is as follows: > > SET(CMAKE_SYSTEM_NAME Linux) > > #specify the cross-compiler > set (CMAKE_C_COMPILER /bin/g

[CMake] CMake Error: Error required internal CMake variable not set

2011-02-04 Thread Enrique Izaguirre
Hello again, I am trying to cross-compile from Windows (actually Cygwin) to Linux. My Toolchain file (Toolchain-linuxcpp.cmake) is as follows: SET(CMAKE_SYSTEM_NAME Linux) #specify the cross-compiler set (CMAKE_C_COMPILER /bin/gcc-linux) set (CMAKE_CXX_COMPILER /bin/g++-linux) After doing the

Re: [CMake] CMake Error: Error required internal CMake variable not set, ...

2011-01-12 Thread Michael Hertling
On 01/12/2011 04:29 PM, Enrique Izaguirre wrote: > Hello, > > I am new to CMake and following a few examples, I am now trying to > cross-compile a C++ program from Cygwin to Linux, and I got the following > errors: > > CMake Error: Error required internal CMake variable not set, cmake may be > no

[CMake] CMake Error: Error required internal CMake variable not set, ...

2011-01-12 Thread Enrique Izaguirre
Hello, I am new to CMake and following a few examples, I am now trying to cross-compile a C++ program from Cygwin to Linux, and I got the following errors: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C++_COMPILER_ENV