smartboyathome
July 6th, 2008, 06:02 PM
I didn't know where I should post this, so I thought here would be the best place. I am trying to install the program NICOLE (see here (http://sourceforge.net/projects/nicole/)), but I can't get it to compile. Since it is no longer maintained, I am going to have to make this compile myself. When I try to run make, I get this:
log.cpp: In constructor ‘Log::Log(std::string)’:
log.cpp:36: error: no matching function for call to ‘std::basic_ofstream<char, std::char_traits<char> >::open(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, const std::_Ios_Openmode&)’
/usr/include/c++/4.2/fstream:648: note: candidates are: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
make[1]: *** [log.o] Error 1
Can someone tell me what is wrong with the compile code? Thanks.
log.cpp: In constructor ‘Log::Log(std::string)’:
log.cpp:36: error: no matching function for call to ‘std::basic_ofstream<char, std::char_traits<char> >::open(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, const std::_Ios_Openmode&)’
/usr/include/c++/4.2/fstream:648: note: candidates are: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
make[1]: *** [log.o] Error 1
Can someone tell me what is wrong with the compile code? Thanks.