User Ratings
Rate This Project
Login To Rate This Project
User Reviews
-
please help me i ve a proble scons: Reading SConscript files ... Checking for C header file gl.h... (cached) yes Checking for C header file glu.h... (cached) yes Checking for C++ header file fltk/run.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... g++ -o src/shading/scene_serialization.o -c -g -Wall -Wno-non-virtual-dtor -I/usr/local/include -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib/i386-linux-gnu/sigc++-2.0/include -I/usr/include -I/usr/include/GL -I/usr/local/include/fltk/compat -Isrc/application -Isrc/miscellaneous -Isrc/shading src/shading/scene_serialization.cpp In file included from src/shading/scene_serialization.cpp:26:0: src/shading/../miscellaneous/misc_string_functions.h: In function 'std::string remove_all_spaces(const string&)': src/shading/../miscellaneous/misc_string_functions.h:131:9: warning: variable 'pos' set but not used [-Wunused-but-set-variable] size_t pos = 0; ^ src/shading/scene_serialization.cpp: In member function 'bool scene::save_as(const string&)': src/shading/scene_serialization.cpp:300:26: error: 'fltk' has not been declared const char* extension = fltk::filename_ext (m_file_name.c_str()); ^ In file included from src/shading/shader_block.h:25:0, from src/shading/scene.h:25, from src/shading/scene_serialization.cpp:22: src/shading/../miscellaneous/misc_xml.h: In instantiation of 'void xml::element::push_attribute(const string&, const T&) [with T = double; std::string = std::basic_string<char>]': src/shading/scene_serialization.cpp:326:62: required from here src/shading/../miscellaneous/misc_xml.h:57:103: error: 'string_cast' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] void push_attribute(const std::string& Name, const T& Value) { push_attribute(Name, string_cast(Value)); } ^ In file included from src/shading/scene_serialization.cpp:26:0: src/shading/../miscellaneous/misc_string_functions.h:34:19: note: 'template<class type> const string string_cast(const type&)' declared here, later in the translation unit const std::string string_cast(const type& Value) ^ In file included from src/shading/shader_block.h:25:0, from src/shading/scene.h:25, from src/shading/scene_serialization.cpp:22: src/shading/../miscellaneous/misc_xml.h: In instantiation of 'void xml::element::push_attribute(const string&, const T&) [with T = int; std::string = std::basic_string<char>]': src/shading/scene_serialization.cpp:444:37: required from here src/shading/../miscellaneous/misc_xml.h:57:103: error: 'string_cast' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] void push_attribute(const std::string& Name, const T& Value) { push_attribute(Name, string_cast(Value)); } ^ In file included from src/shading/scene_serialization.cpp:26:0: src/shading/../miscellaneous/misc_string_functions.h:34:19: note: 'template<class type> const string string_cast(const type&)' declared here, later in the translation unit const std::string string_cast(const type& Value) ^ scons: *** [src/shading/scene_serialization.o] Error 1 scons: building terminated because of errors. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ eorhan(bymcrap@gmail.com)
- Previous
- You're on page 1
- Next