Code Monkey home page Code Monkey logo

Comments (6)

yurivict avatar yurivict commented on May 19, 2024 1

I just removed stdc++fs and it builds.

from peaclock.

rajhlinux avatar rajhlinux commented on May 19, 2024 1

I also had the same issue on FreeBSD 13.1

Note: "c++fs" does not work either.

I had to completely remove "stdc++fs" from CMakeList.txt and rebuild.
Worked for me. Using it for a different project git.

Thanks.

from peaclock.

octobanana avatar octobanana commented on May 19, 2024

Could you give some more details on the issue?

What is the compiler/version being used?
What is the error output from the build?
If you remove the stdc++fs line from CMake, does it then work?

The GCC implementation of std::filesystem requires linking with stdc++fs and the LLVM implementation requires linking with c++fs.

from peaclock.

yurivict avatar yurivict commented on May 19, 2024

FreeBSD 12 amd64, clang-8.
There is no stdc++fs present in the system for clang.
Only gcc installs /usr/local/lib/gcc8/libstdc++fs.a.
With clang-8 build fails with missing library.

from peaclock.

octobanana avatar octobanana commented on May 19, 2024

Using clang-8, could you try making the following change in the CMakeLists.txt file and re-build:

 target_link_libraries (
   ${TARGET}
   pthread
-  stdc++fs
+  c++fs
   icuuc
   icui18n
 )

from peaclock.

octobanana avatar octobanana commented on May 19, 2024

Fixed in version 0.4.1, thanks!

from peaclock.

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.