Closed josiahls closed 5 years ago
I come into the same question. Have you solved it?
I don't think I ever did. I was using this with ROS - Kinetic and the fetch_ros library ob Ubuntu 16.04.
I have shifted to ROS - Melodic, Ubuntu 18.04, and the Melodic branch of the fetch_ros library. If I run into this issue again, I think I will try to solve it myself and update this thread if no one else finds a solution. I am hoping upgrading lib versions with help me avoid this.
Hi, maybe you can try to modify the file ../src/ccd/congfig.h by yourself. I modify this file's content as follows and it works.
Calling make in src/ works for me. Are you sure you are including the full output of the make command? The first line of output should be something like "m4 -DUSE_DOUBLE ccd/config.h.m4 >ccd/config.h".
@danfis could you please elaborate your solution ?...since I am facing the same error..
I think that the solution here is to install m4 preprocessor. The reason I was asking whether @josiahls included the whole output was that ccd/config.h is a file generated by m4 from ccd/config.h.m4. So if you don't have installed m4, then the first error line of make should be something like "m4: command not found". Problem is that if you run make repeatedly without reading the output, this error disappears because ccd/config.h is generated empty the first time make is run.
So I'm closing this issue. If the problem is somewhere else, please reopen it again and include the command line output right after cloning (or cleaning with git clean -fdx) the repository.
The solution works for me:
sudo apt install -y m4
;m4 -DUSE_DOUBLE ccd/config.h.m4 >ccd/config.h
under src/ folder;make
and make install
following the instructions in README.md.
Hi,
I am getting the following error:
Why is this happening? I am looking at whether the headers are being used but I am not familier with Makefile syntax enough to debug this. The thing is,for example: 'unknown type name ‘ccd_real_t’' should not be happening since ccd/vec3.h defines that type.
I think it has to do with the first line: # error You must define CCD_SINGLE or CCD_DOUBLE but aren't these supposed to have defaults???? I tried make USE_SINGLE=yes but nothing changed. I am not sure where CCD_SINGLE is supposed to be defined.
This was from the git clone https://github.com/danfis/libccd.git file.