Comments (3)
Running cmake on Box2D with no modifications provide the following output:
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
CMake Error at CMakeLists.txt:29 (add_subdirectory):
add_subdirectory given source "freeglut" which is not an existing
directory.
CMake Error at CMakeLists.txt:30 (add_subdirectory):
add_subdirectory given source "glui" which is not an existing directory.
-- Configuring incomplete, errors occurred!
See also "/home/frederik/v2.3.1/CMakeFiles/CMakeOutput.log".
After having removed the add_subdiretory entries in CMakeLists.txt for glui and
freeglut, running cmake on Box2D, it outputs the following:
-- Configuring done
CMake Error at Testbed/CMakeLists.txt:80 (add_executable):
Cannot find source file:
Framework/Render.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Build files have been written to: /home/frederik/v2.3.1/Box2D
Original comment by [email protected]
on 6 Apr 2014 at 6:31
from box2d.
I'm not supporting CMake anymore. Would you be willing to provide a patch?
Original comment by [email protected]
on 9 Apr 2014 at 4:59
from box2d.
I'm having the same trouble. Fresh svn checkout of 2.3.1, running cmake in the
build directory:
-- The CXX compiler identification is Clang 5.1.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework
CMake Error at CMakeLists.txt:29 (add_subdirectory):
add_subdirectory given source "freeglut" which is not an existing
directory.
CMake Error at CMakeLists.txt:30 (add_subdirectory):
add_subdirectory given source "glui" which is not an existing directory.
-- Configuring incomplete, errors occurred!
See also
"/Users/botsko/Downloads/v2.3.1/Box2d/Build/CMakeFiles/CMakeOutput.log".
If cmake isn't supported anymore, how are we supposed to build the files?
I tried adding the box2d files to my project anyway and xcode errors out with
dozens of language syntax errors:
http://box2d.org/forum/viewtopic.php?f=7&t=9762
Original comment by [email protected]
on 16 May 2014 at 6:27
from box2d.
Related Issues (20)
- string.h is missing HOT 3
- Stack corruption if three or more points are collinear in b2PolygonShape. HOT 1
- b2ChainShape.cpp results in unused variable when built in release HOT 1
- A weld joint used to attach two bodies with fixed rotation has no effect HOT 1
- Patch for /trunk/Box2D/Testbed/Framework/Test.h HOT 1
- World querying issues using: void RayCast(b2RayCastCallback* callback, const b2Vec2& point1, const b2Vec2& point2); HOT 2
- Testbed memory leak HOT 1
- Wheel Joint distance parameter HOT 1
- b2GrowableStack.h:54:4: error: call to function 'memcpy' HOT 1
- CMakeLists in Testbed Incomplete
- Minimum Vertex Distance in b2PolygonShape
- Unused variable warnings and static analysis fixes HOT 1
- picture doesn't work on the manual
- Firefox does not work - no drag&drop
- b2ChainShape::CreateLoop causes odd behavior when first and last vertice are the same HOT 1
- Collision glitch with polygon sliding over simple edges with ghost vertices
- The Restart button makes Testbed go back to Tiles rather than restart the current test
- Testbed build error on Mac OS X
- Making the build reproducible by removing timestamps in doxygen documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box2d.