fatal error C1047: The object or library file "..."was created with an older compiler than other obj

Debug下编译正常生成,切换到Release就报这个错误。

昨天用VS2005变异时遇到的这个问题,网上搜了一大堆,试了很多不见效。微软这货真是坑爹!

终极解决方法:安装SP1升级包,去搜索:sp1-KB926601-X86-ENU吧。(我用的英文版VS2005,所以这里是英文版的),网上的其他的解决方法都是扯淡,浪费时间。

还有种方法:升级VS,建议使用VS2008及以上版本。

时间: 2024-08-13 12:28:03

fatal error C1047: The object or library file "..."was created with an older compiler than other obj的相关文章

fatal error C1083: Cannot open type library file: 'swpublished.tlb': No such file or directory 解决办法

在平台VC++2005 ,VC++2010 或是VC+2012 上使用 SolidWorks API SDK模板对Solidworks进行二次开发的时候 新建了一个项目在生成的时候总是得到下面的错误信息,现将解决办法分享出来! Error Information: Error 1 fatal error C1083: Can not open type library file: 'swpublished.tlb': No such file or directory c: \ users \

fatal error: openssl/sha.h: No such file or directory 解决方案

出现这个或者fatal error: openssl/名单.h: No such file or directory.都是没有安装libssl-dev- libssl-dev包含libraries, header files and manpages,他是openssl的一部分,而openssl对ssl进行了实现- 解决方案: 使用sudo apt-get install libssl-dev来安装libssl-dev即可

lua.c:80:31: fatal error: readline/readline.h: No such file or directory

make linuxcd src && make linuxmake[1]: Entering directory `/root/lua/lua-5.3.2/src'make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"make[2]: Entering directory `/root/lua/lua-5.3.2/src'gcc -std=gnu99 -O2 -Wa

解决fatal error: sys/system_properties.h: No such file or directory compilation terminated.

编译的异常log: system/core/include/cutils/properties.h:22:35: fatal error: sys/system_properties.h: No such file or directory compilation terminated. make[1]: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libinput_intermediates/<strong>xxxxx</strong>

cocos2d-x 移植到android中编译的一些问题:fatal error: Box2D/Box2D.h: No such file or directory&amp;quot;

1.fatal error: Box2D/Box2D.h: No such file or directory" 须要加入box2d库的支持,改动android.mk文件,例如以下: 查看文本打印? LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := game_shared LOCAL_MODULE_FILENAME := libgame LOCAL_SRC_FILES := hellocpp/main.cpp \

fatal error: openssl/opensslv.h: No such file

ubuntu系统pip安装paramiko报错fatal error: openssl/opensslv.h: No such file or directory 首先根据报错检查OpenSSL是正常安装的,查看openssl-devel是没有安装的,尝试安装无法安装成功,网上搜索了一下看到这篇文章https://jingyan.baidu.com/article/ea24bc39f72681da62b331d7.html是因为缺少libssh-dev,安装之后可以正常安装paramiko模块了

转:fatal error: SDL/SDL.h: No such file or directory

Ubuntu的新得立已经包含SDL库,所以通过几个简单的命令就可以安装,比windows还傻瓜! sudo apt-get install libsdl1.2-dev(比较大,10M左右) 附加包: sudo apt-get install libsdl-image1.2-dev sudo apt-get install libsdl-mixer1.2-dev sudo apt-get install libsdl-ttf2.0-dev sudo apt-get install libsdl-g

cocos2d-x3.2中fatal error: cocostudio/CocoStudio.h: No such file or directory

Android工程环境下jni/android.mk 需要自己手动把引用cocostudio引用库添加上才可以编译 代码参考如下 LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static LOCAL_WHOLE_STATIC_LIBRARIES += cocostu

错误: fatal error: bits/libc-header-start.h: No such file or directory #include &lt;bits/libc-header-start.h&gt;

出现这个错误时,这多半是你所编译的项目是在64位机器上生成32位的项目,你需要安装对应的gcc 32位的库:此时检查gcc一定有-m32的存在: 你系统中gcc没有安装multilib 库:使用这个库可以在64位的机器上产生32位的程序或者库文件: 你可以选择:apt install gcc-multilib进行完善安装: 也可以只编译特定平台的文件: 例如 make x86_64: 具体编译的目标,请查看Makefile文件进行阅读: 保持更新,转载请注明出处:更多内容请关注cnblogs.c