lluisgomez / TextProposals

Implementation of the method proposed in the papers " TextProposals: a Text-specific Selective Search Algorithm for Word Spotting in the Wild" and "Object Proposals for Text Extraction in the Wild" (Gomez & Karatzas), 2016 and 2015 respectively.
https://github.com/lluisgomez/TextProposals
193 stars 82 forks source link

Use of undeclared identifier in fast_clustering code #4

Closed lkorsos1 closed 7 years ago

lkorsos1 commented 8 years ago

Hey, love the ideas in this code! Was trying to run it and I've been running into the following issue when trying to run make. I'm wondering if I'm just missing something super obvious. Thanks a ton!

LASZLOs-MBP:TextProposals laszlo$ make
Scanning dependencies of target eval_SVT
[  2%] Building CXX object CMakeFiles/eval_SVT.dir/fast_clustering.cpp.o
/Users/laszlo/TextProposals/fast_clustering.cpp:1927:5: error: use of undeclared identifier 'free'
    free(V);
    ^
1 error generated.
make[2]: *** [CMakeFiles/eval_SVT.dir/fast_clustering.cpp.o] Error 1
make[1]: *** [CMakeFiles/eval_SVT.dir/all] Error 2
make: *** [all] Error 2
lluisgomez commented 8 years ago

Ops! Can you please provide information about your operative system and architecture to reproduce the problem? Paste also the output of "cmake ."

dudullz commented 8 years ago

@lkorsos1 just add the following line at the top of fast_clustering.cpp

include

lluisgomez commented 7 years ago

@dudullz Thanks!