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 error on mingw #496

Open
mipac opened this issue Oct 7, 2021 · 3 comments
Open

build error on mingw #496

mipac opened this issue Oct 7, 2021 · 3 comments

Comments

@mipac
Copy link

mipac commented Oct 7, 2021

the win32 option added to CMakeLists.txt is only for msvc
that cause build fail with gcc on windows

if ( WIN32 )
add_definitions( -DWIN_DLL_EXPORT )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251" )
endif ( )

@maggu2810
Copy link

I created a restbed package for msys2.
So you could get a pre-compiled version (with dependencies) if you would lile to ise msys2 for your mingw environment.
Another option is to look at the patches I created to get the build running.

@mipac
Copy link
Author

mipac commented Nov 13, 2021

thank you very much!
I leave the issue open, because a portable cmakelist is possible
regards

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

Successfully merging a pull request may close this issue.

2 participants