-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Setting up C++ dev environment #96
Comments
hmmmm perhaps this isnt the place for this... |
It might be fine :) If we can help you figure out what went wrong, we can improve your documentation. @LegalizeAdulthood do you understand what might have gone wrong here? |
You didn't specify, but I assume you're talking about the cmake error in finding the boost libraries under a Windows install? (It looks like the only detailed error message on that page) I hit almost the same error message when I tried to replicate it, so I think this is the same thing that happened to you. If not, we're going to need a few more details about what you're actually hitting. The problem is that page links to both an old version of Visual Studio and an old version of Boost. If you're using a newer version of Visual Studio you need to use a version of Boost compiled for the newer Visual Studio version. The page mentions that could be a problem but doesn't have a link to the Boost lib necessary for the latest VS. The first line of cmake output will tell you what version of Visual Studio you have:
Go to the latest version of the Boost binaries and download the 32bit version that matches your version of Visual Studio. If you have VS 2015, that would be boost_1_61_0-msvc-14.0-32.exe @LegalizeAdulthood @kytrinyx It does look like that page needs at least a small update pointing to the latest Visual Studio and Boost versions. I don't think it needs anything else changed, but I'm not too familiar with that pathway. |
Thanks for responding, both of you! Upgrading versions of Boost didn't solve the problem, although it is much better organized in new versions, so that's nice. Let me know what info you think would be useful to know! And I'm sorry for not mentioning, this is a Windows 10 machine. |
The versions of Visual Studio and Boost that you're trying to use, just to confirm those match up. The command you're using and the full error message you're getting. You may need to rerun cmake on an empty directory, it cuts off some stuff otherwise. (Also, as a sanity check, you did rename the folder |
Hmm, it looks like it found Boost but can't find the libraries. If you've renamed the You can try pointing cmake to the boost library directly by adding the cmake option: |
Anyone ever find a solution to this issue? I'm experiencing the same exact thing. |
try renaming it from lib to something else and then trying to build and then to lib again. worked for me |
I've added a comment to #190 (comment), the short of it is if you are on Windows (using Visual Studio), then you need to make sure you are using the correct CMake generator for the architecture version of Boost you downloaded. See the prior link for info. With that said... What architecture (x32 or x64) of Boost did you download? |
Setup is now much easier on Windows, see the new docs. Boost is no longer necessary and you can just open the folder in Visual Studio, no need to install and run cmake yourself. Closing. |
The error that was demo'd on the Installing C++ tab has happened to me, even though I followed the instructions to the T. Stack Overflow as been less than helpful as well.
The text was updated successfully, but these errors were encountered: