ffmpeg yasm not found, use --disable-yasm for a crippled build
摘要:yasm是汇编编译器,因为ffmpeg中为了提高效率用到了汇编指令,比如MMX和SSE。解决这个问题方面有两个:1、在网上下载一个yasm.exe并安装在mingw/bin下面,编译代码时你注意看,会发现asm后缀的文件用的编译器是yasm,c文件用的是gcc;2、不使用汇编指令,在配置时加上,即./configure--disable-yasmyasm下载地址:http://yasm.tortall.net/Download.html下载yasm-1.2.0-cygwin.exe改名后放到cygwin/bin下这样就可以继续编译了。
阅读全文
ln: creating symbolic link `asm' to `asm-arm': Operation not supported
摘要:在编译u-boot的时候出现了这样的错误: Configuring for smdk2410 board... ln: creating symbolic link `asm' to `asm-arm': Operation not supported make: *** [smdk2410_config] Error 1 在网上查找原因得: 出现这类问题,主要是由于在编译的时候,要用ln去建立一些软链接, 而这些文件是从Windows中,通过VMWare虚拟机共享进Linux的, 而虽然此种操作在Linux系统中很常见,但Windows不支持,所以, 编译会报错。 有个解决办
阅读全文
Problem: 当调试时,出现错误提示:"Debugging information cannot be found or does not match"
摘要:Solution: 通过使能调试,可以解决该问题,具体步骤为:打开Project Properties展开 "Configuration Properties"展开 "C/C++"选择 "General",将 "Debug Information Format" 改为 "Program Database For Edit And Continue (/ZI)"选择 "Optimization",将 "Optimization" 改为 "Disab
阅读全文
Problem: 程序运行时,出现错误提示 Debug Assertion Failed! Program: d:\Program\Prg.exe File: f:\rtm\vctools\vc7libs\ship\atlmfc\include\afxwin1.inl Line: 24
摘要:Solution: 打开Project Properties,选择"Configuration Properties",将"Character Set"设为"No Set"。
阅读全文
LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
摘要:出现编译错误:LINK : fatal error LNK1104: cannot open file 'LIBC.lib'解决办法,在Project-->Setting-->Linker-->Command Line-->Additional options中加入: /nodefaultlib:libc
阅读全文