AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

no ‘object' file generated

Open LeadgerLee opened this issue 9 years ago • 9 comments

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.

LeadgerLee avatar Feb 20 '17 11:02 LeadgerLee

Which OS are you using? Are you compiling using build command? Also please post more error details.

sytelus avatar Feb 20 '17 15:02 sytelus

I've got the same problem.My graphics card is NVDIA GeForce GTX745.

jy723 avatar Feb 21 '17 00:02 jy723

I've got the same problem. My OS ist Windows10 and the Visual Studio is 2015. I compile use build command.

fmzhu avatar Feb 21 '17 03:02 fmzhu

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 avatar Feb 21 '17 04:02 jy723

@jy723 thank you very much. The problem is fixed.

fmzhu avatar Feb 21 '17 10:02 fmzhu

@jy723 Thank you very much. The problem is fixed.

LeadgerLee avatar Feb 21 '17 10:02 LeadgerLee

@jy723 I met the same problem today. How can I fix it?

Jackyjae avatar Dec 07 '17 04:12 Jackyjae

How is this happen? Everyone have this issue? Is this file can be fixed? @jy723

bys1123 avatar Apr 07 '18 15:04 bys1123

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

goldsail avatar Jul 15 '18 11:07 goldsail