error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
2014-07-25 14:39
4187 查看
When you come across this compiling error in Visual Studio, you could re-save the source file with “Advanced Save Options” setting. To address
this issue, switch to “File“->”Advanced
Save Options“, Select “Window
(CR CF)” from the “Line
endings” item, select on kind of Windows Encoding method from the “Encoding”
item. Just as the following diagram. Then re-save them. And
please make sure that those source files are open before you do with such setting. Otherwise, they will stay there the same.
From: http://www.cnblogs.com/open-coder/archive/2012/08/24/2653541.html
this issue, switch to “File“->”Advanced
Save Options“, Select “Window
(CR CF)” from the “Line
endings” item, select on kind of Windows Encoding method from the “Encoding”
item. Just as the following diagram. Then re-save them. And
please make sure that those source files are open before you do with such setting. Otherwise, they will stay there the same.
From: http://www.cnblogs.com/open-coder/archive/2012/08/24/2653541.html
相关文章推荐
- error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
- error C4335: Mac file format detected: please convert the source file to either DOS or UNIX format
- error C4335: Mac file format detected: please convert the source file t
- vs2005下出现“Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive”的解决方法
- Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive
- change file to unix or to dos /just dos2unix unix2dos
- Copy file or folder path to the clipboard in Mac OS X Lion
- convert the .pfx file to pem format
- How to disable the warning message "File is probably not DOS format
- How to Convert Windows/DOS Text Files to Linux/UNIX Format
- 在Mac下运行swt出错:java.lang.UnsatisfiedLinkError: no swt-carbon-3346 or swt-carbon in swt.library.path, java.library.path or the jar file
- "The file you are trying to open, '[filename]', is in a different format" Excel Error
- Could not load file or assembly An attempt was made to load a program with an incorrect format.
- vmware:Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: failed to lock the file.
- DDK 出现:error C4335: 检测到 Mac 文件格式: 请将源文件转换为 DOS 格式或 UNIX 格式,这是如何弄的?如何解决?
- The source file is different from when the module was built. Would you like the debugger to use it anyway?
- error : A file found in a source-path must have an externally visible definition. If a definition in the file is meant to be ext
- RMAN-06024: no backup or copy of the control file found to restore
- Convert png's from the iPod Touch to readable png's on a MAC
- No such file or directory: Failed to enable the 'httpready' Accept Filter