Thread: [Cppcms-users] Build error "Building CXX object CMakeFiles/tc_skin.dir/tc_skin.cpp.o"
Brought to you by:
artyom-beilis
|
From: Kostya S. <ksa...@gm...> - 2014-02-04 10:41:57
|
Hello. Could somebody help me with this: I'm trying to build cppcmc 1.0.4 according to build instructions I do "cmake .." result is success "make" output is following .... [ 65%] Built target session_interface_test [ 66%] Built target skin3 [ 66%] Built target status_test [ 67%] Built target storage_test [ 67%] Building CXX object CMakeFiles/tc_skin.dir/tc_skin.cpp.o /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl: In member function 'virtual void tc_skin::foreach_tmpl::auto_test()': /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:9: error: 'automatic_type_identification_is_not_supported_by_this_compiler' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:51: error: expected ';' before 'x_ptr' /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:119: error: 'x_ptr' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:126: error: 'x_ptr_end' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:28: error: 'x' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:9: error: 'automatic_type_identification_is_not_supported_by_this_compiler' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:52: error: expected ';' before 'x_ptr' /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:122: error: 'x_ptr' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:129: error: 'x_ptr_end' was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:28: error: 'x' was not declared in this scope make[2]: *** [CMakeFiles/tc_skin.dir/tc_skin.cpp.o] Error 1 make[1]: *** [CMakeFiles/tc_skin.dir/all] Error 2 make: *** [all] Error 2 gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Do I miss something? -- Thanks, Kostya. |
|
From: Marcel H. <ke...@co...> - 2014-02-04 11:02:32
Attachments:
signature.asc
|
> /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:9: error: > ‘automatic_type_identification_is_not_supported_by_this_compiler’ was > not declared in this scopeorge.net > https://lists.sourceforge.net/lists/listinfo/cppcms-users > your compiler does not support decltype or similar. > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) you should update your gcc version!!! |
|
From: Kostya S. <ksa...@gm...> - 2014-02-04 12:04:52
|
Thanks a lot. The issue is fixed/ 2014-02-04 Marcel Hellwig <ke...@co...>: > > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:9: error: > > 'automatic_type_identification_is_not_supported_by_this_compiler' was > > not declared in this scopeorge.net > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > your compiler does not support decltype or similar. > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > you should update your gcc version!!! > > > > > > > > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Thanks, Kostya. |
|
From: Artyom B. <art...@ya...> - 2014-02-04 11:58:57
|
Hi, It is really strange Can you give the FULL output of the build? Also there are ready to go deb packages for ubuntu Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ -------------------------------------------- On Tue, 2/4/14, Kostya Samarin <ksa...@gm...> wrote: Subject: [Cppcms-users] Build error "Building CXX object CMakeFiles/tc_skin.dir/tc_skin.cpp.o" To: cpp...@li... Date: Tuesday, February 4, 2014, 12:41 PM Hello. Could somebody help me with this: I'm trying to build cppcmc 1.0.4 according to build instructions I do "cmake .." result is success "make" output is following .... [ 65%] Built target session_interface_test [ 66%] Built target skin3 [ 66%] Built target status_test [ 67%] Built target storage_test [ 67%] Building CXX object CMakeFiles/tc_skin.dir/tc_skin.cpp.o /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl: In member function ‘virtual void tc_skin::foreach_tmpl::auto_test()’: /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:9: error: ‘automatic_type_identification_is_not_supported_by_this_compiler’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:51: error: expected ‘;’ before ‘x_ptr’ /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:119: error: ‘x_ptr’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:126: error: ‘x_ptr_end’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:28: error: ‘x’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:9: error: ‘automatic_type_identification_is_not_supported_by_this_compiler’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:52: error: expected ‘;’ before ‘x_ptr’ /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:122: error: ‘x_ptr’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:129: error: ‘x_ptr_end’ was not declared in this scope /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:28: error: ‘x’ was not declared in this scope make[2]: *** [CMakeFiles/tc_skin.dir/tc_skin.cpp.o] Error 1 make[1]: *** [CMakeFiles/tc_skin.dir/all] Error 2 make: *** [all] Error 2 gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Do I miss something? -- Thanks, Kostya. -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk -----Inline Attachment Follows----- _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
|
From: Kostya S. <ksa...@gm...> - 2014-02-04 12:08:37
|
Thanks a lot for response. I've updated gcc and now the issue is fixed. 2014-02-04 Artyom Beilis <art...@ya...>: > Hi, > > It is really strange > > Can you give the FULL output of the build? > Also there are ready to go deb packages for ubuntu > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > -------------------------------------------- > On Tue, 2/4/14, Kostya Samarin <ksa...@gm...> wrote: > > Subject: [Cppcms-users] Build error "Building CXX object > CMakeFiles/tc_skin.dir/tc_skin.cpp.o" > To: cpp...@li... > Date: Tuesday, February 4, 2014, 12:41 PM > > Hello. > > Could somebody help me with this: > I'm trying to build cppcmc 1.0.4 > according to build instructions I do > "cmake .." result is success > > "make" output is following > .... > [ 65%] Built target session_interface_test > [ 66%] Built target skin3 > [ 66%] Built target status_test > [ 67%] Built target storage_test > [ 67%] Building CXX object > CMakeFiles/tc_skin.dir/tc_skin.cpp.o > > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl: In member function > 'virtual void > tc_skin::foreach_tmpl::auto_test()': > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:9: error: > 'automatic_type_identification_is_not_supported_by_this_compiler' > was not declared in this scope > > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:51: error: > expected ';' before 'x_ptr' > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:119: error: > 'x_ptr' was not declared in this scope > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:126: error: > 'x_ptr_end' was not declared in this scope > > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:34:28: error: > 'x' was not declared in this scope > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:9: error: > 'automatic_type_identification_is_not_supported_by_this_compiler' > was not declared in this scope > > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:52: error: > expected ';' before 'x_ptr' > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:122: error: > 'x_ptr' was not declared in this scope > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:129: error: > 'x_ptr_end' was not declared in this scope > > /home/ks/cppcms-1.0.4/tests/tc_skin.tmpl:35:28: error: > 'x' was not declared in this scope > make[2]: *** [CMakeFiles/tc_skin.dir/tc_skin.cpp.o] Error 1 > make[1]: *** [CMakeFiles/tc_skin.dir/all] Error 2 > make: *** [all] Error 2 > > > gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) > > Do I miss something? > > -- > > Thanks, Kostya. > > > -----Inline Attachment Follows----- > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common > Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > -----Inline Attachment Follows----- > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- Thanks, Kostya. |