构建错误“没有匹配的函数调用sg_ofstream :: open(const wchar_t *,std :: ios_base :: openmode&)”

时间:2019-10-18 07:14:10

标签: c++ gcc cygwin

我正在按照here的说明尝试在cygwin64平台下构建Jsbsim。

但是我得到了错误:

$ cmake ..
$ make
[ 1%] Building CXX object src/simgear/io/iostreams/CMakeFiles/IOStreams.dir/sgstream.cxx.o
/home/Igor/jsbsim/src/simgear/io/iostreams/sgstream.cxx: In constructor ‘sg_ifstream::sg_ifstream(const SGPath&, std::ios_base::openmode)’:
/home/Igor/jsbsim/src/simgear/io/iostreams/sgstream.cxx:39:41: error: no matching function for call to ‘sg_ifstream::open(const wchar_t*, std::ios_base::openmode&)’

0 个答案:

没有答案