pdlan / gomibako Goto Github PK
View Code? Open in Web Editor NEWA simple blog program in C++.
License: BSD 3-Clause "New" or "Revised" License
A simple blog program in C++.
License: BSD 3-Clause "New" or "Revised" License
Hi,@pdlan,I get some trouble in compiling the project.I confused if some setting or library get error.
Could you compile it successfully?Hope for help.
The compile error is :
====================[ Build | gomibako | Debug ]================================ /home/sph/Downloads/clion-2019.1/bin/cmake/linux/bin/cmake --build /home/sph/CLionProjects/gomibako/cmake-build-debug --target gomibako -- -j 2 [ 79%] Built target yaml-cpp [ 82%] Building CXX object CMakeFiles/gomibako.dir/src/gomibako.cc.o [ 84%] Building CXX object CMakeFiles/gomibako.dir/src/handlers.cc.o In file included from /home/sph/CLionProjects/gomibako/crow/include/crow.h:19:0, from /home/sph/CLionProjects/gomibako/include/gomibako.h:5, from /home/sph/CLionProjects/gomibako/src/gomibako.cc:8: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘crow::TaggedRule<Args>::operator()(Func&&)::<lambda(const crow::request&, crow::response&, Args ...)> [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: required from ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&, class std::__cxx11::basic_string<char>)>’ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:121:57: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type (const request&, response& res, Args ... args){ ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&, class std::__cxx11::basic_string<char>)>’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:121:57: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: error: field ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, std::__cxx11::basic_string<char>)>::<f capture>’ invalidly declared function type [f] ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘crow::TaggedRule<Args>::operator()(Func&&)::<lambda(const crow::request&, crow::response&, Args ...)> [with Func = crow::response (&)(int); Args = {long unsigned int}]’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: required from ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&, long unsigned int)>’ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:123:49: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type (const request&, response& res, Args ... args){ ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&, long unsigned int)>’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:123:49: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: error: field ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, long unsigned int)>::<f capture>’ invalidly declared function type [f] ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘crow::TaggedRule<Args>::operator()(Func&&)::<lambda(const crow::request&, crow::response&, Args ...)> [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}]’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: required from ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&, class std::__cxx11::basic_string<char>, long unsigned int)>’ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:125:61: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type (const request&, response& res, Args ... args){ ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&, class std::__cxx11::basic_string<char>, long unsigned int)>’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:125:61: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: error: field ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, std::__cxx11::basic_string<char>, long unsigned int)>::<f capture>’ invalidly declared function type [f] ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘crow::TaggedRule<Args>::operator()(Func&&)::<lambda(const crow::request&, crow::response&, Args ...)> [with Func = crow::response (&)(); Args = {}]’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: required from ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&)>’ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:129:42: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type (const request&, response& res, Args ... args){ ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:485:63: error: variable ‘f’ has function type /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const struct crow::request&, struct crow::response&)>’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:479:22: required from ‘typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:129:42: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:483:18: error: field ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&)>::<f capture>’ invalidly declared function type [f] ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘crow::TaggedRule<Args>::operator()(Func&&)::<lambda(const crow::request&, crow::response&, Args ...)> [with Func = crow::response (&)(const crow::request&); Args = {}]’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:508:18: required from ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]::<lambda(const struct crow::request&, struct crow::response&)>’ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:504:22: required from ‘typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:134:91: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:510:79: error: variable ‘f’ has function type (const crow::request& req, crow::response& res, Args ... args){ ^ /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:510:79: error: variable ‘f’ has function type /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h: In instantiation of ‘struct crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]::<lambda(const struct crow::request&, struct crow::response&)>’: /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:504:22: required from ‘typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]’ /home/sph/CLionProjects/gomibako/src/gomibako.cc:134:91: required from here /home/sph/CLionProjects/gomibako/crow/include/crow/routing.h:508:18: error: field ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]::<lambda(const crow::request&, crow::response&)>::<f capture>’ invalidly declared function type [f] ^ In file included from /usr/include/c++/7/functional:58:0, from /usr/include/boost/utility/compare_pointees.hpp:15, from /usr/include/boost/optional/optional.hpp:51, from /usr/include/boost/optional.hpp:15, from /home/sph/CLionProjects/gomibako/crow/include/crow/query_string.h:9, from /home/sph/CLionProjects/gomibako/crow/include/crow.h:2, from /home/sph/CLionProjects/gomibako/include/gomibako.h:5, from /home/sph/CLionProjects/gomibako/src/gomibako.cc:8: /usr/include/c++/7/bits/std_function.h:541:2: error: ‘std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, std::__cxx11::basic_string<char>)>; _Res = void; _ArgTypes = {const crow::request&, crow::response&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<void(const crow::request&, crow::response&, std::__cxx11::basic_string<char>)>&]’, declared using local type ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, std::__cxx11::basic_string<char>)>’, is used but never defined [-fpermissive] operator=(_Functor&& __f) ^~~~~~~~ /usr/include/c++/7/bits/std_function.h:541:2: error: ‘std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, long unsigned int)>; _Res = void; _ArgTypes = {const crow::request&, crow::response&, long unsigned int}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<void(const crow::request&, crow::response&, long unsigned int)>&]’, declared using local type ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(int); Args = {long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, long unsigned int)>’, is used but never defined [-fpermissive] /usr/include/c++/7/bits/std_function.h:541:2: error: ‘std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, std::__cxx11::basic_string<char>, long unsigned int)>; _Res = void; _ArgTypes = {const crow::request&, crow::response&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<void(const crow::request&, crow::response&, std::__cxx11::basic_string<char>, long unsigned int)>&]’, declared using local type ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const std::__cxx11::basic_string<char>&, int); Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, long unsigned int}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&, std::__cxx11::basic_string<char>, long unsigned int)>’, is used but never defined [-fpermissive] /usr/include/c++/7/bits/std_function.h:541:2: error: ‘std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&)>; _Res = void; _ArgTypes = {const crow::request&, crow::response&}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<void(const crow::request&, crow::response&)>&]’, declared using local type ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(); Args = {}; typename std::enable_if<crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value, void>::type = void]::<lambda(const crow::request&, crow::response&)>’, is used but never defined [-fpermissive] /usr/include/c++/7/bits/std_function.h:541:2: error: ‘std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> std::function<_Res(_ArgTypes ...)>::operator=(_Functor&&) [with _Functor = crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]::<lambda(const crow::request&, crow::response&)>; _Res = void; _ArgTypes = {const crow::request&, crow::response&}; std::function<_Res(_ArgTypes ...)>::_Requires<std::function<_Res(_ArgTypes ...)>::_Callable<typename std::decay<_U1>::type>, std::function<_Res(_ArgTypes ...)>&> = std::function<void(const crow::request&, crow::response&)>&]’, declared using local type ‘crow::TaggedRule<Args>::operator()(Func&&) [with Func = crow::response (&)(const crow::request&); Args = {}; typename std::enable_if<((! crow::black_magic::CallHelper<Func, crow::black_magic::S<Args ...> >::value) && crow::black_magic::CallHelper<Func, crow::black_magic::S<crow::request, Args ...> >::value), void>::type = void]::<lambda(const crow::request&, crow::response&)>’, is used but never defined [-fpermissive] CMakeFiles/gomibako.dir/build.make:75: recipe for target 'CMakeFiles/gomibako.dir/src/gomibako.cc.o' failed make[3]: *** [CMakeFiles/gomibako.dir/src/gomibako.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/gomibako.dir/all' failed make[2]: *** [CMakeFiles/gomibako.dir/all] Error 2 CMakeFiles/Makefile2:84: recipe for target 'CMakeFiles/gomibako.dir/rule' failed make[1]: *** [CMakeFiles/gomibako.dir/rule] Error 2 Makefile:164: recipe for target 'gomibako' failed make: *** [gomibako] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.