mgerhardy / caveexpress

CaveExpress is a classic 2D platformer with physics-based gameplay and dozens of levels. CavePacker is a Sokoban game.
http://www.caveproductions.org/
Other
144 stars 20 forks source link

CMAKE: build issue #62

Closed mgerhardy closed 8 years ago

mgerhardy commented 8 years ago
Here's the full output:
someuser@linux03:~/examples/caveexpress-master$ ./contrib/scripts/linux.sh
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Place binaries in /home/someuser/examples/caveexpress-master
-- Generate eclipse projects
-- Could not find TexturePacker
-- Could NOT find Curses (missing:  CURSES_LIBRARY)
-- ccache not found
-- Checking for glm
-- checking for module 'glm'
--   package 'glm' not found
-- Could NOT find glm (missing:  GLM_LIBRARIES GLM_INCLUDE_DIRS)
-- No system wide installation found, use built-in version of glm
-- Checking for zlib
-- System wide installation found for zlib
-- Checking for box2d
-- checking for module 'box2d'
--   package 'box2d' not found
-- Could NOT find box2d (missing:  BOX2D_LIBRARIES BOX2D_INCLUDE_DIRS)
-- No system wide installation found, use built-in version of box2d
-- Checking for lua5.2
-- checking for module 'lua5.2'
--   package 'lua5.2' not found
-- Could NOT find lua5.2 (missing:  LUA5.2_LIBRARIES LUA5.2_INCLUDE_DIRS)
-- No system wide installation found, use built-in version of lua5.2
-- checking for module 'esound'
--   package 'esound' not found
-- Checking for sdl2
-- System wide installation found for sdl2
-- Checking for SDL2_mixer
-- System wide installation found for SDL2_mixer
-- Checking for SDL2_image
-- System wide installation found for SDL2_image
-- Checking for SDL2_net
-- System wide installation found for SDL2_net
-- Checking for sqlite3
-- checking for module 'sqlite3'
--   package 'sqlite3' not found
-- Could NOT find sqlite3 (missing:  SQLITE3_LIBRARIES SQLITE3_INCLUDE_DIRS)
-- No system wide installation found, use built-in version of sqlite3
-- Checking for yajl
-- checking for module 'yajl'
--   package 'yajl' not found
-- Could NOT find yajl (missing:  YAJL_LIBRARIES YAJL_INCLUDE_DIRS)
-- No system wide installation found, use built-in version of yajl
-- Checking for gtest
-- checking for module 'gtest'
--   package 'gtest' not found
-- Could NOT find gtest (missing:  GTEST_LIBRARIES GTEST_INCLUDE_DIRS)
-- No system wide installation found, use built-in version of gtest
CMake Error at cmake/macros.cmake:524 (message):
  cp_target_link_libraries requires the LIBS argument
Call Stack (most recent call first):
  src/modules/common/CMakeLists.txt:49 (cp_target_link_libraries)

-- Configuring incomplete, errors occurred!
See also "/home/someuser/examples/cp-build-linux/CMakeFiles/CMakeOutput.log".
See also "/home/someuser/examples/cp-build-linux/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mgerhardy commented 8 years ago

happened on Ubuntu 12.04 - so a quite old cmake version most likely.

mgerhardy commented 8 years ago

also happens on cmake 3.2.2 on a fresh Ubuntu 15.10