-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error #11
Comments
Hi, |
OK, this time I get this error on Ubuntu 16.04: mimooh:master$ pwd |
May be confusing, because I use svn in github. But with git it is the same for me: mimooh:recastCLI.js$ git checkout master |
Fixed |
I'm getting this
|
Try Or switch to master branch before |
|
I have graceful-fs installled globally.
My OS is Debian GNU/Linux 9.6 (stretch). Any insight on this? |
|
I'm getting the same errors as @Vagelis-Prokopiou lots of undefined references. CentOS 7 |
First thing is I cannot find /usr/include/node/node.h. Which I fix by adding this line to makefile:
CPPFLAGS+=-I/usr/include/node/
make[1]: Leaving directory '/home/mimooh/recastCLI.js-nodejs/recast'
===> Building main.a:
make[1]: Entering directory '/home/mimooh/recastCLI.js-nodejs/main'
CC build.o
CC port.o
port.cpp:3:18: fatal error: node.h: No such file or directory
compilation terminated.
: recipe for target 'port.o' failed
make[1]: *** [port.o] Error 1
make[1]: Leaving directory '/home/mimooh/recastCLI.js-nodejs/main'
makefile:13: recipe for target 'main' failed
make: *** [main] Error 2
Second thing is I get this compile error:
recastCLI.js-nodejs$ make
===> Building recast.a:
make[1]: Entering directory '/home/mimooh/recastCLI.js-nodejs/recast'
CC RecastAlloc.o
CC RecastMeshDetail.o
CC RecastRasterization.o
CC RecastLayers.o
CC RecastFilter.o
CC RecastMesh.o
CC ChunkyTriMesh.o
CC InputGeom.o
CC RecastContour.o
CC MeshLoaderObj.o
CC RecastAssert.o
CC RecastRegion.o
CC Recast.o
CC RecastArea.o
AR all
make[1]: Leaving directory '/home/mimooh/recastCLI.js-nodejs/recast'
===> Building main.a:
make[1]: Entering directory '/home/mimooh/recastCLI.js-nodejs/main'
CC build.o
CC port.o
CC main.o
main.cpp: In function 'int main(int, const char**)':
main.cpp:49:236: error: cannot convert 'const char*' to 'float' for argument '1' to 'char* build(float, float, float, float, float, float, float, float, float, float, float, float, float)'
_agentMaxClimp, c_agentMaxSlope, c_regionMinSize, c_regionMergeSize, c_edgeMaxLen, c_edgeMaxError, c_vertsPerPoly, c_detailSampleDist, c_detailSampleMaxErro);
^
: recipe for target 'main.o' failed
make[1]: *** [main.o] Error 1
make[1]: Leaving directory '/home/mimooh/recastCLI.js-nodejs/main'
makefile:13: recipe for target 'main' failed
make: *** [main] Error 2
The text was updated successfully, but these errors were encountered: