Open akai-katto opened 1 year ago
I've also tried this in my ncnn cmake:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNCNN_DISABLE_RTTI=OFF -DNCNN_DISABLE_EXCEPTION=OFF")
add_compile_definitions(NCNN_DISABLE_RTTI=OFF NCNN_DISABLE_EXCEPTION=OFF)
Commenting out this in src/cmake.txt
was able to get it to work,
if(NCNN_DISABLE_EXCEPTION)
# target_compile_options(ncnn PUBLIC -fno-exceptions)
endif()
Works, but none of my attempts at enabling errors from my forked
waifu2x-ncnn-vulkan` have been successful. Hoping I'm missing something obvious.
error log | 日志或报错信息 | ログ
context | 编译/运行环境 | バックグラウンド
I'm trying to use asio standalone library with waifu2x-ncnn-vulkan. I've tried to enable exceptions using options in the cmake.
how to reproduce | 复现步骤 | 再現方法
Using this code will produce the error on "resolver"
more | 其他 | その他
This is what I've tried so far with the cmake,
To no success.