swordlegend / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Visual C++ Project Files to compile Recast and Detour as libs. #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It's not to difficult to compile Recast and Detour into lib files but I think 
it would be nice if the project files were already included.

I have attached the project files I made to this post, I also had to make a 
modification to Recast.h and DetourCommon.h to prevent the vector functions 
from being redefined.

I hope you will include these project files into the next build to make it 
more convenient for us.

Original issue reported on code.google.com by SteveDeF...@gmail.com on 16 Jan 2010 at 9:57

Attachments:

GoogleCodeExporter commented 9 years ago
I created a CMake project for Recast which can be used to generate Makefiles on
Linux, vcproj files on Windows and XCode projects on Mac OSX.

These files are written against svn revision 129.

To use them you'll need to download a copy of cmake from cmake.org. 

Assuming the attached cmake.zip is saved into your recast directory, the 
following
steps could be used to generate makefiles and build on Linux:
cd recastnavigation
unzip cmake.zip
mkdir build
cd build
cmake ..
make

There is also a cmake-gui which can be used on Win, Linux and Mac to generate 
the
build files. I noticed Bullet Physics have started using CMake too and pinched 
some
of their ideas :)

Original comment by cameron....@gmail.com on 14 Feb 2010 at 5:15

Attachments:

GoogleCodeExporter commented 9 years ago
The vector functions are now namedecorated, so there should not be clash 
anymore. As
I seem to have trouble keeping the VC version up to date anyways, I will not 
create
and try to maintain lib projects.

Once I have time to investigate on cmake or similar, I might revisit the idea.

Original comment by memono...@gmail.com on 14 Apr 2010 at 6:53

GoogleCodeExporter commented 9 years ago
If you are interested in CMake I've been maintaining my CMake files so I can 
compile
Recast on Linux. They can be found at
http://github.com/bitshifter/recastnavigation/tree/cmake

I've got a version that generates separate projects and one that generates a 
single
project. I personally use the multiple project version.

I was thinking of trying out premake4 too but haven't got around to it.

Original comment by cameron....@gmail.com on 14 Apr 2010 at 8:33

GoogleCodeExporter commented 9 years ago
cmake wont work because it says recast is missing SDL headers and live files, 
why ?

Original comment by neighbor...@gmail.com on 1 Sep 2013 at 8:53

GoogleCodeExporter commented 9 years ago
SDL is not distributed with Recast, you have to download and install it 
separately. How you do that depends on platform. If you are on Linux just 
install the libsdl dev package, for other platforms follow the instructions in 
RecastDemo/Contrib/SDL/readme.txt.

Also, this is a bag tracker. The best place to ask recast questions is 
https://groups.google.com/forum/#!forum/recastnavigation.

Original comment by cameron....@gmail.com on 1 Sep 2013 at 10:03