Libcolumbus, a small, fast, error tolerant matcher

Compilation issue Ubuntu

Reported by Soyeed2000 on 2012-12-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libcolumbus
Undecided
Unassigned

Bug Description

Compilation process

mkdir build
cd build
cmake ..
make

facing the following error

cc1plus: warning: ./columbus_pch.hh.gch: created and used with different settings of -fpic [enabled by default]
cc1plus: warning: /home/hawk/libcolumbus/build/src/columbus_pch.hh.gch: created and used with different settings of -fpic [enabled by default]
cc1plus: error: one or more PCH files were found, but they were invalid
cc1plus: fatal error: columbus_pch.hh: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/columbus0.dir/LevenshteinIndex.cc.o] Error 1
make[1]: *** [src/CMakeFiles/columbus0.dir/all] Error 2
make: *** [all] Error 2

Jussi Pakkanen (jpakkane) wrote :

You really should not use 'cmake ..', because you won't get debugging symbols. Delete your build directory and try again with 'cmake -DCMAKE_BUILD_TYPE=debug ..'.

If that does not work, run 'ccmake .' in your build directory and set the use_pch variable to OFF.

Soyeed2000 (soyeed2000) wrote :

Yeah that solved it .thanks

Changed in libcolumbus:
status: New → Fix Released
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers