Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failed -- Detecting CXX boost::filesystem support -- NOT FOUND #60

Open
John-Hatton opened this issue Nov 20, 2022 · 0 comments
Open

Comments

@John-Hatton
Copy link

John-Hatton commented Nov 20, 2022

Hello Aljen,

First of all, I wanted to thank you for your contribution with this wonderful project! I've been trying to build from source now for a few days, and I'm facing the typical problems that come along with trying to build a project that was written even just a few years ago, with the most updated versions of everything.

Somewhere along the way, I've run into some problem. I don't know how I got myself into this mess, but after many hours of googling, and no luck anywhere, I've come to asking you for help.

--

The Error I listed in the title has been persistent in pretty much all compilers. MSVC 16, MSVC 17, MinGW, MSYS2. No matter what magic I tried with either CMake or b2 for building Boost, I could not get CMake to see the filesystems library. Everything else seems to load fine, but its this filesystems Boost library that is getting hung up somewhere.

I've been using Boost 1.80.0, and if I'm a complete pinecone and just need to try an older combination of libraries, I'll do what I gotta do.

Like I said, I tried this with multiple compilers and could not get any of them to produce a successful result. I'll admit, I'm somewhat new to Boost, but I've got it working before, with other projects. Just not the filesystems library. I have the files in the correct folder, and it seems to be installed, but CMake just cannot see it.

I'm running Windows 11, with MinGW (TDM-64) as my compiler. Also, I'm using CLion, but I do the same commands from the terminal that CLion does, and it gives the same results. As well as from MinGW command prompt, or Visual Studio Command prompt, etc. No luck...

For reference, I've visited and tried/read several of the following:

https://stackoverflow.com/questions/54290254/problem-adding-stdfilesystem-to-cmake-project

https://stackoverflow.com/questions/46496549/how-to-find-boost-filesystem-library-compiled-with-vs-2017-with-cmake

https://stackoverflow.com/questions/57870032/cmake-v3-15-3-cannot-find-boost-v1-71-0

I could list some more, but I though I'd just let you know what I'm dealing with, and let you get to it when you have time.

I'm very interested in contributing to this project, it looks like it hasn't had a lot of progress for a while, and there were a couple issues in the queue that I think I could tackle, if I could get the dang project to build. facepalm

Thanks in advance for your help with this, again, I'd love to contribute to the project, and add some of the requested functionalities, but I just need to get the project building!

-John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant