You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I read your papers and I found them really interesting. I'm eager to play with them, but I'm not a C++ developer and I'm not sure how I should compile this.
So, on my Ubuntu box, I installed cmake, libboost-dev, libboost-program-options-dev, libboost-system-dev and libboost-filesystem-dev. At this point cmake doesn't complain anymore. From the source directory I run "cmake .", and then "make", but I get the following error and the build halts:
[ 10%] Building CXX object CMakeFiles/lzjd.static.dir/LZJD.cpp.o
/home/della/pkg/LZJD/src/LZJD.cpp: In function ‘int32_t similarity(const std::vector<int>&, const std::vector<int>&)’:
/home/della/pkg/LZJD/src/LZJD.cpp:132:19: error: ‘round’ was not declared in this scope
return (int) (round(100*sim));
^~~~~
/home/della/pkg/LZJD/src/LZJD.cpp:132:19: note: suggested alternative: ‘rand’
return (int) (round(100*sim));
^~~~~
rand
Can you help me with understanding how to get a running binary? Thanks a lot!
The text was updated successfully, but these errors were encountered:
What version of C++ are you using? The core is written to C++14.
If you aren't a C person I'd recommend you look at the java version instead https://github.com/EdwardRaff/jLZJD . Its actually faster than the C++ code anyway.
Hi, I read your papers and I found them really interesting. I'm eager to play with them, but I'm not a C++ developer and I'm not sure how I should compile this.
So, on my Ubuntu box, I installed cmake, libboost-dev, libboost-program-options-dev, libboost-system-dev and libboost-filesystem-dev. At this point cmake doesn't complain anymore. From the source directory I run "cmake .", and then "make", but I get the following error and the build halts:
Can you help me with understanding how to get a running binary? Thanks a lot!
The text was updated successfully, but these errors were encountered: