I'm desperately trying to port an ancient Qt 4.8 application to Mac OS X 10.10. I already successfully ported it from Windows to Ubuntu 14.04 with almost no problems. However, on Mac I get the error of "iostream file not found". I know this sounds rather like an issue with my clang++/g++ compiler, however a simple hello-world program runs just fine.
I installed Xcode and the command line tools and I can also find iostream under "/usr/include/c++/4.2.1" since 'g++ -v' outputs:
@Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix@
However, I don't know why 'clang++ -v' does not show the include path:
@App
最后
以上就是义气指甲油最近收集整理的关于linux下的qt缺少iostream,"iostream not found" on Mac OS的全部内容,更多相关linux下的qt缺少iostream,"iostream内容请搜索靠谱客的其他文章。
发表评论 取消回复