Skip to content

Fails to build / run the example #1

@henrikmidtiby

Description

@henrikmidtiby

I would like to experiment with your ChromaTags and have thus tried to run your code.
I have followed your guide in the readme and is now stuck on this error related to the lcm library.

git clone https://github.com/CogChameleon/ChromaTag.git
cd ChromaTag
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..

The cmake command shows this message

ChromaTag :: Looking for Library lcm: Miss

It seems to be an optional library, so I continue to run make

make -j

Which throws the error

/home/henrik/localbuild/ChromaTag/Run_JMD_ChromaTag_Detector.cpp:62:27: fatal error: lcm/lcm-cpp.hpp: No such file or directory
compilation terminated.
CMakeFiles/Run_ChromaTag_Detector.dir/build.make:62: recipe for target 
'CMakeFiles/Run_ChromaTag_Detector.dir/Run_JMD_ChromaTag_Detector.cpp.o' failed
make[2]: *** [CMakeFiles/Run_ChromaTag_Detector.dir/Run_JMD_ChromaTag_Detector.cpp.o] Error 1
CMakeFiles/Makefile2:79: recipe for target 'CMakeFiles/Run_ChromaTag_Detector.dir/all' failed
make[1]: *** [CMakeFiles/Run_ChromaTag_Detector.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

My operating system is Ubuntu 16.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions