You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the project (1.3.0-latest) under the Windows with MinGW (C++ 17).
It throws error such as CMake not found an option "-z" and also compilation error as "undefined reference to `__stack_chk_fail'" on many source files.
For a workaround I am patching
to get rid of undefined reference errors.
The project compiles fine with this but I am not sure it is a good idea to remove those lines.
Just for the heads up...
EDIT-1,
It may be relevant that I'm including the oatpp to my project like:
# add dependency library to project library
add_subdirectory(dep/oatpp)
target_link_libraries(${project_name}-lib oatpp)
EDIT-2,
I am experiencing some issues with build types too.
It seems like building in debug mode and release mode outputs similar binary size on executable around 30-40MB (on 1.3.0-latest) which I was building the project in release mode around 1-2MB (on 1.3.0).
Root cause is lines:
I am trying to build the project (1.3.0-latest) under the Windows with MinGW (C++ 17).
It throws error such as CMake not found an option "-z" and also compilation error as "undefined reference to `__stack_chk_fail'" on many source files.
For a workaround I am patching
oatpp/cmake/compiler-flags.cmake
Line 265 in 14ca5e5
oatpp/cmake/compiler-flags.cmake
Line 267 in 14ca5e5
oatpp/cmake/compiler-flags.cmake
Line 253 in 14ca5e5
The project compiles fine with this but I am not sure it is a good idea to remove those lines.
Just for the heads up...
EDIT-1,
It may be relevant that I'm including the oatpp to my project like:
EDIT-2,
I am experiencing some issues with build types too.
It seems like building in debug mode and release mode outputs similar binary size on executable around 30-40MB (on 1.3.0-latest) which I was building the project in release mode around 1-2MB (on 1.3.0).
Root cause is lines:
oatpp/cmake/compiler-flags.cmake
Line 116 in 14ca5e5
oatpp/cmake/compiler-flags.cmake
Line 120 in 14ca5e5
The text was updated successfully, but these errors were encountered: