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
project(SimpleDenoise LANGUAGES C) # change to project(SimpleDenoise)
After that, cmake runs OK. but compilation failed.
the C-compilation must comply with C99 stadand, so I added this
set(CMAKE_C_FLAGS "-std=c99")
the C-style compilation errors have gone, however, there is still issue in main.c.
the author uses some object that comes from c++11, so I need to add the c++11 support in the CMakeList.txt too
the CMakeList.txt will raise error in Centos 7
After that, cmake runs OK. but compilation failed.
the C-compilation must comply with C99 stadand, so I added this
the C-style compilation errors have gone, however, there is still issue in main.c.
the author uses some object that comes from c++11, so I need to add the c++11 support in the CMakeList.txt too
Anyway, it's working now.
The text was updated successfully, but these errors were encountered: