no ‘object' file generated
Hello, everyone. When I build the AirSim project, it displayed some errors while compiling. As follow,
d:\code\eigen3\eigen\src/Core/arch/CUDA/Half.h : error C2220: warning treated as error - no 'object' file generated [D:\GitHub\repo\AirSim\AirLib\AirLib.vcxproj] d:\code\eigen3\eigen\src/Core/arch/CUDA/Half.h : error C2220: warning treated as error - no 'object' file generated ... etc...
Should I change the option "Treat warning as error" from "Yes(/WX)" to "No(/WX-)" in the property page of project? Thank you very much.
Which OS are you using? Are you compiling using build command? Also please post more error details.
I've got the same problem.My graphics card is NVDIA GeForce GTX745.
I've got the same problem. My OS ist Windows10 and the Visual Studio is 2015. I compile use build command.
error message: half.h : warning C4819: error936 The file eigen3\Eigen\src\Core\arch\CUDA\half.h is saves as Unicode-1200,the warnings disapperance;
@jy723 thank you very much. The problem is fixed.
@jy723 Thank you very much. The problem is fixed.
@jy723 I met the same problem today. How can I fix it?
How is this happen? Everyone have this issue? Is this file can be fixed? @jy723
Open eigen3\Eigen\src\Core\arch\CUDA\half.h and save using UTF-8 coding with BOM
Thanks @whyscience https://github.com/Microsoft/AirSim/issues/97