Open
Description
Hi, when I was trying to build this example project. I got this error:
[2/3] Building CXX object CMakeFiles/crud-exe.dir/src/App.cpp.o
FAILED: CMakeFiles/crud-exe.dir/src/App.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++ -DDATABASE_FILE=\"/Users/zeyuan.shang/Coding/web/example-crud/db.sqlite\" -DDATABASE_MIGRATIONS=\"/Users/zeyuan.shang/Coding/web/example-crud/sql\" -DOATPP_SWAGGER_RES_PATH=\"/usr/local/include/oatpp-1.3.0/oatpp-swagger//../bin/oatpp-swagger/res\" -DTESTDATABASE_FILE=\"/Users/zeyuan.shang/Coding/web/example-crud/test-db.sqlite\" -I/Users/zeyuan.shang/Coding/web/example-crud/src -isystem /usr/local/include/oatpp-1.3.0/oatpp -isystem /usr/local/include/oatpp-1.3.0/oatpp-swagger -isystem /usr/local/include/oatpp-1.3.0/oatpp-sqlite -isystem /usr/local/include/oatpp-1.3.0/oatpp-sqlite/sqlite -g -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -std=gnu++11 -MD -MT CMakeFiles/crud-exe.dir/src/App.cpp.o -MF CMakeFiles/crud-exe.dir/src/App.cpp.o.d -o CMakeFiles/crud-exe.dir/src/App.cpp.o -c /Users/zeyuan.shang/Coding/web/example-crud/src/App.cpp
In file included from /Users/zeyuan.shang/Coding/web/example-crud/src/App.cpp:7:
/usr/local/include/oatpp-1.3.0/oatpp-swagger/oatpp-swagger/Controller.hpp:104:37: error: expected ':'
ENDPOINT("GET", SWAGGER_ROOT_PATH SWAGGER_UI_PATH, getUIRoot) {
It seems that SWAGGER_ROOT_PATH
is undefined? Any idea on how to fix this would be appreciated, thanks!