Home Forums Development [OSx Build Error] No viable conversion from ‘ifstream’ to ‘bool’ while compiling

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #287

    Im using osx 10.10.1 and compiling with Clang++.

    I think I have every dependency to build keeperrl. I'm working with SFML and I've compiled it myself.

    While compiling keeperrl using “make -j 8 CLANG=true OSX=true ” I have the following error:

    main.cpp:216:10: fatal error: no viable conversion from 'ifstream' (aka 'basic_ifstream') to 'bool'
      return ifstream(“tiles_int.png”);

    You can get a full output here.

    I'm missing something?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.