Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
66 user(s) are online (39 user(s) are browsing Forums)

Members: 1
Guests: 65

afxgroup, more...

Headlines

 
  Register To Post  

Cmake Issues
Just popping in
Just popping in


See User information
Hi! I'm trying to build a program with cmake.
When i use cmake, shell tells me:
cmake .. -G "Unix Makefiles"
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to
select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/Work/src/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/Work/src/build/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!


Any clue?
Thx!

Go to top
Re: Cmake Issues
Quite a regular
Quite a regular


See User information
This is how I've started with porting Flare 0.16 and 0.17 versions:

sh
cd build
cmake ..
cmake -i ..
cmake ..
gmake

So the CMakeLists.txt is in '..', the top directory of the source, where src is. Then in the second invocation I fill in some missing paths and -l library names. If those weren't enough I go back to 'cmake -i ..' until I have a Makefile in build.

Go to top
Re: Cmake Issues
Just popping in
Just popping in


See User information
if i try your command list, at "cmake ..", shell answers it can't find cmake.
So i looked in the forum and add path as explained in another topic.
Now when i type cmake .. the answer is: cmake erros: could not modules. i added modules folder to bin in amicygnix. now
when i type "cmake .." ita appears a grim reaper window with guru meditation talking about dsi error, redzone damaged and guard area hit...

Go to top
Re: Cmake Issues
Home away from home
Home away from home


See User information
What is current stack size?
I strongly suggest setting up a large stack in Shell-starup.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Cmake Issues
Quite a regular
Quite a regular


See User information
abc-shell sets a stack of 503800 which works for me. It's probably a good idea to have the SDK setup in S:user-startup before AmiCygnix.

Go to top
Re: Cmake Issues
Just popping in
Just popping in


See User information
thank you!!! it worked:)

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project