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
I am trying to install dqn in the caffe.
I cannot find any solution to the following problem.
In the dqn-in-the-caffe directory, I did cmake and then, make, but make command doesn't work well.
There is a problem. I paste the problem below.
Could you tell me a solution ?
Thanks you.
~/dqn-in-the-caffe/build$ make
[ 50%] Building CXX object CMakeFiles/dqn.dir/dqn_main.cpp.o
In file included from /home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:3:0:
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp:124:28: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp:125:29: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
In file included from /home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:6:0:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:19: error: expected nested-name-specifier before ‘yes’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:19: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:23: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:23: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:19: error: expected nested-name-specifier before ‘no’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:19: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:23: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:23: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:41:42: error: ‘yes’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:42:42: error: ‘no’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:44:46: error: ‘test’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:44:52: error: expected primary-expression before ‘>’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:44:74: error: ‘yes’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:19: error: expected nested-name-specifier before ‘type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:19: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:24: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:24: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:53:20: error: ‘yes’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:57:42: error: ‘no’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:60:20: error: ‘yes’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:64:42: error: ‘no’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:67:50: error: ‘f’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:67:53: error: expected primary-expression before ‘>’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:67:75: error: ‘yes’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:68:50: error: ‘g’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:68:53: error: expected primary-expression before ‘>’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:68:75: error: ‘yes’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:15: error: expected nested-name-specifier before ‘char_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:25: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:25: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:80:15: error: ‘char_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:81:15: error: ‘char_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:82:15: error: ‘char_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:15: error: expected nested-name-specifier before ‘type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:20: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:20: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:92:22: error: ‘type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:15: error: expected nested-name-specifier before ‘delimiters_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:31: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:31: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:15: error: expected nested-name-specifier before ‘ostream_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:112:49: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:139:32: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: In static member function ‘static void pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer::print_body(const U&, int&)’:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:128:25: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:129:35: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: In member function ‘void pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::operator()(int&) const’:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:141:17: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:142:27: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:146:17: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:147:27: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: At global scope:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:15: error: expected nested-name-specifier before ‘ostream_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:162:61: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:15: error: expected nested-name-specifier before ‘ostream_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:15: error: expected nested-name-specifier before ‘element_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:182:38: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:182:53: error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:182:56: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:187:39: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:187:52: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:187:55: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:191:39: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:191:54: error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:191:57: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:199:39: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:199:54: error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:199:57: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: In static member function ‘static void pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer<std::tuple<Args ...> >::tuple_print(const int&, int&, typename std::conditional<(sizeof (Args ...) != 0), pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer<std::tuple<Args ...> >::Int<0ul>, std::nullptr_t>::type)’:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:194:36: error: no matching function for call to ‘get(const int&)’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:194:36: note: candidates are:
/usr/include/c++/4.6/utility:133:5: note: template<long unsigned int _Int, class _Tp1, class _Tp2> typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
/usr/include/c++/4.6/utility:138:5: note: template<long unsigned int _Int, class _Tp1, class _Tp2> const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
/usr/include/c++/4.6/tuple:531:5: note: template<long unsigned int __i, class ... _Elements> typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
/usr/include/c++/4.6/tuple:538:5: note: template<long unsigned int __i, class ... Elements> typename std::add_c_ref<typename std::tuple_element<i, std::tuple<Elements ...> >::type>::type std::get(const std::tuple<Elements ...>&)
In file included from /home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:7:0:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp: At global scope:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:7: error: expected nested-name-specifier before ‘FrameData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:7: error: ‘FrameData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:17: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:17: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:7: error: expected nested-name-specifier before ‘FrameDataSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:7: error: ‘FrameDataSp’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:19: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:19: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:7: error: expected nested-name-specifier before ‘InputFrames’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:7: error: ‘InputFrames’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:19: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:19: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:7: error: expected nested-name-specifier before ‘Transition’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:7: error: ‘Transition’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:18: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:18: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:7: error: expected nested-name-specifier before ‘FramesLayerInputData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:7: error: ‘FramesLayerInputData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:7: error: expected nested-name-specifier before ‘TargetLayerInputData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:7: error: ‘TargetLayerInputData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:7: error: expected nested-name-specifier before ‘FilterLayerInputData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:7: error: ‘FilterLayerInputData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:66:29: error: ‘InputFrames’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:66:42: error: ISO C++ forbids declaration of ‘input_frames’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:71:28: error: ‘Transition’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:71:40: error: ISO C++ forbids declaration of ‘transition’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:9: error: expected nested-name-specifier before ‘SolverSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:18: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:18: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:9: error: expected nested-name-specifier before ‘NetSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:15: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:15: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:9: error: expected nested-name-specifier before ‘BlobSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:16: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:16: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:9: error: expected nested-name-specifier before ‘MemoryDataLayerSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:27: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:27: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:87:55: error: ‘InputFrames’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:87:68: error: ISO C++ forbids declaration of ‘last_frames’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:89:25: error: ‘InputFrames’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:89:36: error: template argument 1 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:89:36: error: template argument 2 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:88:41: error: ‘std::vector<std::pair<Action, float> > dqn::DQN::SelectActionGreedily(const int&)’ cannot be overloaded
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:87:28: error: with ‘std::pair<Action, float> dqn::DQN::SelectActionGreedily(const int&)’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:91:13: error: ‘FramesLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:91:35: error: ISO C++ forbids declaration of ‘frames_data’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:92:13: error: ‘TargetLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:92:35: error: ISO C++ forbids declaration of ‘target_data’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:93:13: error: ‘FilterLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:93:35: error: ISO C++ forbids declaration of ‘filter_data’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:100:14: error: ‘Transition’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:100:24: error: template argument 1 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:100:24: error: template argument 2 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:101:3: error: ‘SolverSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:102:3: error: ‘NetSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:103:3: error: ‘BlobSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:104:3: error: ‘MemoryDataLayerSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:105:3: error: ‘MemoryDataLayerSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:106:3: error: ‘MemoryDataLayerSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:107:3: error: ‘TargetLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp: In member function ‘int dqn::DQN::memory_size() const’:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:78:51: error: request for member ‘size’ in ‘((const dqn::DQN*)this)->dqn::DQN::replay_memory’, which is of non-class type ‘const int’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp: At global scope:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:114:1: error: ‘FrameDataSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:119:29: error: ‘FrameData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:119:40: error: ISO C++ forbids declaration of ‘frame’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp: In function ‘double PlayOneEpisode(ALEInterface&, dqn::DQN&, double, bool)’:
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:14: error: ‘FrameDataSp’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:14: error: ‘FrameDataSp’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:30: error: template argument 1 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:30: error: template argument 2 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:43: error: invalid type in declaration before ‘;’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:45:32: error: ‘PreprocessScreen’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:45:69: error: unable to deduce ‘const auto’ from ‘’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:49:17: error: request for member ‘push_back’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:50:21: error: request for member ‘size’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:56:23: error: request for member ‘size’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:57:21: error: request for member ‘pop_front’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:59:7: error: ‘InputFrames’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:59:24: error: expected ‘;’ before ‘input_frames’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:60:29: error: request for member ‘begin’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:60:50: error: request for member ‘end’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:60:57: error: ‘input_frames’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:61:65: error: unable to deduce ‘const aut
o’ from ‘’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:77:13: error: ‘Transition’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:78:13: error: ‘Transition’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:82:17: error: ‘PreprocessScreen’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:82:55: error: unable to deduce ‘const auto’ from ‘’
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp: In function ‘void createOSystem(int, char*, std::auto_ptr&, std::auto_ptr&)’:
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp:84:49: warning: ignoring return value of ‘FILE freopen(const char, const char, FILE)’, declared with attribute warn_unused_result [-Wunused-result]
make[2]: ** [CMakeFiles/dqn.dir/dqn_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/dqn.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I am trying to install dqn in the caffe.
I cannot find any solution to the following problem.
In the dqn-in-the-caffe directory, I did cmake and then, make, but make command doesn't work well.
There is a problem. I paste the problem below.
Could you tell me a solution ?
Thanks you.
~/dqn-in-the-caffe/build$ make
[ 50%] Building CXX object CMakeFiles/dqn.dir/dqn_main.cpp.o
In file included from /home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:3:0:
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp:124:28: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp:125:29: warning: ‘auto_ptr’ is deprecated (declared at /usr/include/c++/4.6/backward/auto_ptr.h:87) [-Wdeprecated-declarations]
In file included from /home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:6:0:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:19: error: expected nested-name-specifier before ‘yes’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:19: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:23: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:33:23: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:19: error: expected nested-name-specifier before ‘no’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:19: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:23: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:34:23: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:41:42: error: ‘yes’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:42:42: error: ‘no’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:44:46: error: ‘test’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:44:52: error: expected primary-expression before ‘>’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:44:74: error: ‘yes’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:19: error: expected nested-name-specifier before ‘type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:19: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:24: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:45:24: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:53:20: error: ‘yes’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:57:42: error: ‘no’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:60:20: error: ‘yes’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:64:42: error: ‘no’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:67:50: error: ‘f’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:67:53: error: expected primary-expression before ‘>’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:67:75: error: ‘yes’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:68:50: error: ‘g’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:68:53: error: expected primary-expression before ‘>’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:68:75: error: ‘yes’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:15: error: expected nested-name-specifier before ‘char_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:25: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:79:25: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:80:15: error: ‘char_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:81:15: error: ‘char_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:82:15: error: ‘char_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:15: error: expected nested-name-specifier before ‘type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:20: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:91:20: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:92:22: error: ‘type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:15: error: expected nested-name-specifier before ‘delimiters_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:31: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:106:31: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:15: error: expected nested-name-specifier before ‘ostream_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:107:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:112:49: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:139:32: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: In static member function ‘static void pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer::print_body(const U&, int&)’:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:128:25: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:129:35: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: In member function ‘void pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::operator()(int&) const’:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:141:17: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:142:27: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:146:17: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:147:27: error: ‘delimiters_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: At global scope:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:15: error: expected nested-name-specifier before ‘ostream_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:160:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:162:61: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:15: error: expected nested-name-specifier before ‘ostream_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:177:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:15: error: expected nested-name-specifier before ‘element_type’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:15: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:178:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:182:38: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:182:53: error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:182:56: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:187:39: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:187:52: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:187:55: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:191:39: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:191:54: error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:191:57: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:199:39: error: ‘element_type’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:199:54: error: ISO C++ forbids declaration of ‘c’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:199:57: error: ‘ostream_type’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp: In static member function ‘static void pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer<std::tuple<Args ...> >::tuple_print(const int&, int&, typename std::conditional<(sizeof (Args ...) != 0), pretty_print::print_container_helper<T, TChar, TCharTraits, TDelimiters>::printer<std::tuple<Args ...> >::Int<0ul>, std::nullptr_t>::type)’:
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:194:36: error: no matching function for call to ‘get(const int&)’
/home/mil/ksaito/dqn-in-the-caffe/prettyprint.hpp:194:36: note: candidates are:
/usr/include/c++/4.6/utility:133:5: note: template<long unsigned int _Int, class _Tp1, class _Tp2> typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)
/usr/include/c++/4.6/utility:138:5: note: template<long unsigned int _Int, class _Tp1, class _Tp2> const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)
/usr/include/c++/4.6/tuple:531:5: note: template<long unsigned int __i, class ... _Elements> typename std::__add_ref<typename std::tuple_element<__i, std::tuple<_Elements ...> >::type>::type std::get(std::tuple<_Elements ...>&)
/usr/include/c++/4.6/tuple:538:5: note: template<long unsigned int __i, class ... Elements> typename std::add_c_ref<typename std::tuple_element<i, std::tuple<Elements ...> >::type>::type std::get(const std::tuple<Elements ...>&)
In file included from /home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:7:0:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp: At global scope:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:7: error: expected nested-name-specifier before ‘FrameData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:7: error: ‘FrameData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:17: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:27:17: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:7: error: expected nested-name-specifier before ‘FrameDataSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:7: error: ‘FrameDataSp’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:19: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:28:19: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:7: error: expected nested-name-specifier before ‘InputFrames’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:7: error: ‘InputFrames’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:19: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:29:19: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:7: error: expected nested-name-specifier before ‘Transition’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:7: error: ‘Transition’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:18: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:30:18: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:7: error: expected nested-name-specifier before ‘FramesLayerInputData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:7: error: ‘FramesLayerInputData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:32:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:7: error: expected nested-name-specifier before ‘TargetLayerInputData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:7: error: ‘TargetLayerInputData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:33:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:7: error: expected nested-name-specifier before ‘FilterLayerInputData’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:7: error: ‘FilterLayerInputData’ has not been declared
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:28: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:34:28: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:66:29: error: ‘InputFrames’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:66:42: error: ISO C++ forbids declaration of ‘input_frames’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:71:28: error: ‘Transition’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:71:40: error: ISO C++ forbids declaration of ‘transition’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:9: error: expected nested-name-specifier before ‘SolverSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:18: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:82:18: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:9: error: expected nested-name-specifier before ‘NetSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:15: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:83:15: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:9: error: expected nested-name-specifier before ‘BlobSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:16: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:84:16: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:9: error: expected nested-name-specifier before ‘MemoryDataLayerSp’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:9: error: using-declaration for non-member at class scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:27: error: expected ‘;’ before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:85:27: error: expected unqualified-id before ‘=’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:87:55: error: ‘InputFrames’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:87:68: error: ISO C++ forbids declaration of ‘last_frames’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:89:25: error: ‘InputFrames’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:89:36: error: template argument 1 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:89:36: error: template argument 2 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:88:41: error: ‘std::vector<std::pair<Action, float> > dqn::DQN::SelectActionGreedily(const int&)’ cannot be overloaded
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:87:28: error: with ‘std::pair<Action, float> dqn::DQN::SelectActionGreedily(const int&)’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:91:13: error: ‘FramesLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:91:35: error: ISO C++ forbids declaration of ‘frames_data’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:92:13: error: ‘TargetLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:92:35: error: ISO C++ forbids declaration of ‘target_data’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:93:13: error: ‘FilterLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:93:35: error: ISO C++ forbids declaration of ‘filter_data’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:100:14: error: ‘Transition’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:100:24: error: template argument 1 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:100:24: error: template argument 2 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:101:3: error: ‘SolverSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:102:3: error: ‘NetSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:103:3: error: ‘BlobSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:104:3: error: ‘MemoryDataLayerSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:105:3: error: ‘MemoryDataLayerSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:106:3: error: ‘MemoryDataLayerSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:107:3: error: ‘TargetLayerInputData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp: In member function ‘int dqn::DQN::memory_size() const’:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:78:51: error: request for member ‘size’ in ‘((const dqn::DQN*)this)->dqn::DQN::replay_memory’, which is of non-class type ‘const int’
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp: At global scope:
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:114:1: error: ‘FrameDataSp’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:119:29: error: ‘FrameData’ does not name a type
/home/mil/ksaito/dqn-in-the-caffe/dqn.hpp:119:40: error: ISO C++ forbids declaration of ‘frame’ with no type [-fpermissive]
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp: In function ‘double PlayOneEpisode(ALEInterface&, dqn::DQN&, double, bool)’:
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:14: error: ‘FrameDataSp’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:14: error: ‘FrameDataSp’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:30: error: template argument 1 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:30: error: template argument 2 is invalid
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:41:43: error: invalid type in declaration before ‘;’ token
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:45:32: error: ‘PreprocessScreen’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:45:69: error: unable to deduce ‘const auto’ from ‘’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:49:17: error: request for member ‘push_back’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:50:21: error: request for member ‘size’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:56:23: error: request for member ‘size’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:57:21: error: request for member ‘pop_front’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:59:7: error: ‘InputFrames’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:59:24: error: expected ‘;’ before ‘input_frames’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:60:29: error: request for member ‘begin’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:60:50: error: request for member ‘end’ in ‘past_frames’, which is of non-class type ‘int’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:60:57: error: ‘input_frames’ was not declared in this scope
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:61:65: error: unable to deduce ‘const aut
o’ from ‘’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:77:13: error: ‘Transition’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:78:13: error: ‘Transition’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:82:17: error: ‘PreprocessScreen’ is not a member of ‘dqn’
/home/mil/ksaito/dqn-in-the-caffe/dqn_main.cpp:82:55: error: unable to deduce ‘const auto’ from ‘’
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp: In function ‘void createOSystem(int, char*, std::auto_ptr&, std::auto_ptr&)’:
/home/mil/ksaito/ale_0.4.4/ale_0_4/src/ale_interface.hpp:84:49: warning: ignoring return value of ‘FILE freopen(const char, const char, FILE)’, declared with attribute warn_unused_result [-Wunused-result]
make[2]: ** [CMakeFiles/dqn.dir/dqn_main.cpp.o] Error 1
make[1]: *** [CMakeFiles/dqn.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: