Git Product home page Git Product logo

Comments (3)

osamu620 avatar osamu620 commented on June 2, 2024 1

Thank you for reporting this issue.
b021173 may fix this problem. Could you try fix_utils branch?

from openhtj2k.

v2aus avatar v2aus commented on June 2, 2024

Thank you for reporting this issue. b021173 may fix this problem. Could you try fix_utils branch?

Thank you for fixing the error. The problem has been solved.

from openhtj2k.

v2aus avatar v2aus commented on June 2, 2024

Thank you for reporting this issue. b021173 may fix this problem. Could you try fix_utils branch?

I compiled the 0.2.2 version. And I met another problem:

[ 80%] Linking CXX shared library bin/libopen_htj2k_R.so
[ 80%] Built target open_htj2k
[ 83%] Building CXX object CMakeFiles/open_htj2k_dec.dir/source/apps/decoder/main_dec.cpp.o
[ 87%] Linking CXX executable bin/open_htj2k_dec
bin/libopen_htj2k_R.so: undefined reference to typeinfo for std::filesystem::__cxx11::filesystem_error' bin/libopen_htj2k_R.so: undefined reference to std::filesystem::__cxx11::path::_M_split_cmpts()'
bin/libopen_htj2k_R.so: undefined reference to `std::filesystem::file_size(std::filesystem::__cxx11::path const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/open_htj2k_dec.dir/build.make:98: bin/open_htj2k_dec] Error 1
make[1]: *** [CMakeFiles/Makefile2:232: CMakeFiles/open_htj2k_dec.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

I googled, and I found the solution, which is adding below code into CmakeLists.txt file:

target_link_libraries(open_htj2k PUBLIC stdc++fs)

from openhtj2k.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.