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

Windows support #1

Open
trirpi opened this issue Oct 3, 2023 · 3 comments
Open

Windows support #1

trirpi opened this issue Oct 3, 2023 · 3 comments

Comments

@trirpi
Copy link

trirpi commented Oct 3, 2023

Just creating this issue. I will try to contribute to Windows support.

Seems the biggest problems are the use of curl.h and un.h.

@trirpi trirpi changed the title Missing build instructions for Windows Windows support Oct 3, 2023
@ilyakorovin
Copy link
Member

Hi @trirpi , thanks for creating this issue. I don't know anyting about Windows ) Do you know any examples or good practices for adding Windows support?

Which compliers should I use? As I remember there are at least two: MinGW and VS, and they probably differ.

Regarding contributions: I would be grateful for any help. However, please be aware that part of this code relies on data from an external server, which won’t be available for free, though a free tier may be offered. All of the code that doesn't use data will be free and this repo is gonna be a universal framework for algorithmic trading.

@trirpi
Copy link
Author

trirpi commented Oct 3, 2023

I wouldn't call myself an expert, but seems like you're using Clang. There's also Clang on Windows, I've never used it. On Windows, you need to use clang in conjunction with either MSVC or MinGW. I'd pick MSVC, it's quite popular although they're both great. (MinGW is just a GCC port to Windows by the way.)

Not sure if it's a great example, but this is an example project that includes scripts for building with all compilers: https://github.com/chronoxor/CppTemplate

Then you can use some preprocessor directives to include the right implementations in the C++ code, but I'm sure you know that already.

Thanks for the heads up, I'll probably refrain from contributing until there's some clarity on the free tier.

@ilyakorovin
Copy link
Member

I wouldn't call myself an expert, but seems like you're using Clang. There's also Clang on Windows, I've never used it. On Windows, you need to use clang in conjunction with either MSVC or MinGW. I'd pick MSVC, it's quite popular although they're both great. (MinGW is just a GCC port to Windows by the way.)

Not sure if it's a great example, but this is an example project that includes scripts for building with all compilers: https://github.com/chronoxor/CppTemplate

Then you can use some preprocessor directives to include the right implementations in the C++ code, but I'm sure you know that already.

Thanks for the heads up, I'll probably refrain from contributing until there's some clarity on the free tier.

Interesting, thank you so much!

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

2 participants