-
Notifications
You must be signed in to change notification settings - Fork 30
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
Help with Heisenberg installation #9
Comments
You should be using Conan 1.59 for now. The Conan 2 migration is ongoing but not yet complete as far as I know. This means many packages have not yet been migrated across to Conan 2, and until the migration is complete support is experimental. As for the build errors, b2 is the boost build system, so Conan is failing while trying to build Boost 1.78 but the image you've attached does not contain the actual error, but is just a downstream exception caused by an earlier error in the build process. Can you attach the whole build log (i.e pipe the output of Conan to a text file, for example on my system I execute "conan install ../ --profile=C:\Users\antpe.conan\profiles\vs17-x64-debug --build=missing 2>&1 > build.log" to capture the log) and add it to this issue to I can see the actual cause of the error. However, I've advice trying to update the version of boost to 1.81 by bumping the version in the conan.txt file at the root of the repository. |
Thanks for your reply. Here is the log file. I have Boost_1.81.0 but the build is still using boost/1.78.0. Please let me know how I can proceed. Thanks again. |
Thanks, I see the problem now. Your Conan profile file is missing the C++ language version setting. You can see this at the top of the log file:
Without it then it will default to C++03 which is not recent enough to build the Boost libraries which required C++11 support. You can see this in the Boost output when it's trying to detect C++ features. Without the required features then it fails to build targets that require them. Note this project uses C++20, so this would always have failed eventually. You need to add this setting file (usually in ~/.conan/profiles/default unless you've created a profile of a different name)
With this, your profile should look as:
Try this and let me know how you get on. |
Thanks for your reply. I added the C++ version to both the default and the windows-msvc profiles (as in the build instructions). It still does not work. I attached the build log file here (build2.log). |
Ok, so I've compared this to my machine where this works: build.log There is a number of suspicious things in your log, but without knowing your exact set up its hard to debug the cause:
At this point perhaps you could share some information about your system setup as it appears to deviate from anything we have seen from users before. What tools do you have installed? Do you have the latest MSVC for C++20 support? Any info here is going to increase the chances we can solve this. Cheers! |
Thanks. I am using VS 2022 community. VS code is my Python IDE. I am very interested in applying C++ to back-testing and portfolio optimization. I found that the resources for quant investment with C++ is really scarce compared with Python. I appreciate if you could share a crash course/self-learning recourse. |
Hi profitviews,
I appreciate that you share the algo-trading platform written in C++. I have been trying to install it on my PC with Windows 11, but cannot do it.
Any clue or help is deeply appreciated.
The text was updated successfully, but these errors were encountered: