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

Doesn't work with Windows 11 and VS 22 #108

Open
cschladetsch opened this issue Jan 19, 2022 · 2 comments
Open

Doesn't work with Windows 11 and VS 22 #108

cschladetsch opened this issue Jan 19, 2022 · 2 comments

Comments

@cschladetsch
Copy link

I fail to understand how this project can claim to be "cross platform" when it doesn't work with Windows 11 and Visual Studio 22.

What am I missing? Include paths don't work for a start, even if I add them manually. Which breaks the whole idea of being 'cross-platform'.

Apologies if this issue seems cranky. I've had to rever all my changes after the hope that it would solve my cross-platform issues.

What I did: Use cmake in git-bash
What I expected: To be able to open and build the resulting .sln file
What happened: No boost headers were found and no libraries linked.

@mraron
Copy link

mraron commented Apr 11, 2022

I had a similar problem, my solution was to add:

include_directories(${CMAKE_CACHE_DIR}/_deps/boost-src) 

and then disable boost's overriding of linking names via:

if(MSVC)
    add_definitions(-DBOOST_ALL_NO_LIB)
endif()

This helped me compile on Windows 10 and VS 2019.

@DenizUgur
Copy link

DenizUgur commented Jul 26, 2022

@mraron Could you provide me your final CMakeLists.txt? I'm trying to build for the same target so that would be great for me. Thanks.

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

3 participants