senoutouya / recastnavigation

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

recast navigation linux compile issues #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi all,

The library doesn't not compile 'out of the box' in linux.  I checked out the 
latest svn code and tried to compile, but no dice.

1st problem:
the Makefile was not creating the RecastDemo/Build/GNUMake/Objects directory, 
so it had to be created manually.

2nd problem:
Some of the .h files were trying to include the DetourTileCacheBuilder.h file, 
but the .mk files did not list the include directory where this header was 
located.  To fix, need to add '-I DetourTileCache/Include \' to some of the .mk 
files.

3rd problem:
The actual RecastDemo code is a hot mess.  LOTS of compile time errors.  The 
first issue here was that 'Sample_TempObstacles.h' was trying to include 
'DetourTileCache.h', which doesn't actually exist.  Instead, it should have 
been including 'DetourTileCacheBuilder.h'.  This is the same header that was 
not being properly included during compilation in problem 2.  After I fixed 
this, I got a slew compile errors.  I guess that the RecastDemo is pretty out 
of date, given all the compile errors present.

Anyway, nothing insurmountable, as the actual Recast and Detour libraries 
eventually compiled ok.  Have yet to use them in my project, but hopefully 
they'll be awesome :D

What steps will reproduce the problem?
1. try to 'make' the recast/detour project

What is the expected output? 
For the library to compile

What do you see instead?
Compile errors (see above)

What version of the product are you using? 
Readme.txt says version 1.4.  It is svn revision # 290.

On what operating system?
Ubuntu 10.10

Original issue reported on code.google.com by jarrettc...@gmail.com on 19 Apr 2011 at 5:03

GoogleCodeExporter commented 9 years ago
See issue 164

Original comment by memono...@gmail.com on 19 Apr 2011 at 5:50