Add new comment

LibRaw 0.15.0-Beta 1 Compile error with mingw

I have a problem. When I'm compiling libraw-0-15.0 with "mingw32-make -f makefile.mingw" i get the following errors:

g++ -c  -O4 -I. -w -DLIBRAW_NODLL  -DLIBRAW_NOTHREADS   -o object/libraw_datastream.o src/libraw_datastream.cpp
src/libraw_datastream.cpp: In constructor 'LibRaw_file_datastream::LibRaw_file_datastream(const wchar_t*)':
src/libraw_datastream.cpp:106:61: error: no matching function for call to 'std::basic_filebuf<char>::open(const wchar_t*&, std::_Ios_Openmod
e)'
c:\mingw32-xy\bin\../lib/gcc/mingw32/4.5.2/include/c++/bits/fstream.tcc:93:5: note: candidate is: std::basic_filebuf<_CharT, _Traits>::__fil
ebuf_type* std::basic_filebuf<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits<c
har>, std::basic_filebuf<_CharT, _Traits>::__filebuf_type = std::basic_filebuf<char>, std::ios_base::openmode = std::_Ios_Openmode]
src/libraw_datastream.cpp: In member function 'virtual int LibRaw_file_datastream::subfile_open(const wchar_t*)':
src/libraw_datastream.cpp:226:57: error: no matching function for call to 'std::basic_filebuf<char>::open(const wchar_t*&, std::_Ios_Openmod
e)'
c:\mingw32-xy\bin\../lib/gcc/mingw32/4.5.2/include/c++/bits/fstream.tcc:93:5: note: candidate is: std::basic_filebuf<_CharT, _Traits>::__fil
ebuf_type* std::basic_filebuf<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char, _Traits = std::char_traits<c
har>, std::basic_filebuf<_CharT, _Traits>::__filebuf_type = std::basic_filebuf<char>, std::ios_base::openmode = std::_Ios_Openmode]
make: *** [object/libraw_datastream.o] Error 1

Can anyone help please?

Regards

Forums: