Box2D Forums

It is currently Sat May 18, 2013 6:44 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: build on visual studio
PostPosted: Fri Apr 22, 2011 7:37 am 
Offline

Joined: Fri Apr 22, 2011 7:09 am
Posts: 2
hi ,when i use cmake to genernate the sln for visual studio,but there are some error
"cmake_minimum_required(VERSION 2.8)", and the sln file was bad file when use visual studio to build it.

in forum,some people ask the same question,but can not fount the answer

some one can give me a project file for visual studio can build the last release version?


Top
 Profile  
 
PostPosted: Sat Apr 23, 2011 2:41 pm 
Offline
Site Admin

Joined: Thu Sep 06, 2007 12:34 am
Posts: 2931
Get the latest CMake?


Top
 Profile  
 
PostPosted: Thu Apr 28, 2011 9:53 pm 
Offline

Joined: Fri Apr 22, 2011 7:09 am
Posts: 2
Erin Catto wrote:
Get the latest CMake?

the version of my cmake is the lastest version
2.8.4


Top
 Profile  
 
PostPosted: Mon May 02, 2011 11:21 am 
Offline

Joined: Mon May 02, 2011 11:15 am
Posts: 1
I also have some problems with CMake in Visual Studio 2010 configuration
Quote:
CMake Warning (dev) at Testbed/CMakeLists.txt:70 (add_executable):
Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "Testbed" links to some libraries for which the linker must
search:

glu32, opengl32

and other libraries with known full path:

E:/Box2D_v2.1.2/Box2D/Build/Box2D/Debug/Box2D.lib
E:/Box2D_v2.1.2/Box2D/Build/freeglut/Debug/freeglut_static.lib
E:/Box2D_v2.1.2/Box2D/Build/glui/Debug/glui.lib

CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group