Disable deprecations treated like errors? #22146
Closed
andreamancuso
started this conversation in
General
Replies: 1 comment 1 reply
-
It looks like You can suppress the warning or you can update mapbox to avoid using it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to compile https://github.com/maplibre/maplibre-native using emscripten. I'm trying to retain the existing CMakeLists.txt, though I have had to disable the /WX flag.
I am trying to figure out how to run
emcmake
but I ideally need help figuring out which flags I need to pass. Has anyone ever tried anything like it?I ran
emcmake cmake . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DMLN_WITH_CORE_ONLY=1 -DMLN_WITH_WERROR=OFF
but then I've noticed that the .lib file generated as part of runningcmake --build build
does not contain WASM or LLVM output. How do I force it to useem++
?I also tried a different approach, I added add_subdirectory(${DEPS}/maplibre-native) to my CMakeLists.txt so now I am certain that em++ is being used.
Also:
target_link_libraries(reactDearImgui PRIVATE imgui::imgui implot::implot nlohmann_json::nlohmann_json $<IF:$<TARGET_EXISTS:libuv::uv_a>,libuv::uv_a,libuv::uv> JPEG::JPEG mbgl-core)
I am getting errors such as
It seems deprecations are treated like errors?
Beta Was this translation helpful? Give feedback.
All reactions