【PTAMM】PTAMM编译过程若干非常见错误解决方法

错误整理2015.3.20
错误显示 错误来源 解决办法

cvd_src/i686/yuv411_to_stuff_MMX_64.C:246:1: 

错误: bp 不能在这里用于 asm

libcvd X64

./configure

 --without-ffmpeg 

--without-mmxext

./gvars3/serialize.h:77: error: ‘EOF’ was not declaredin this scope

./gvars3/serialize.h:92: error: ‘EOF’ was not declared in this scope

./gvars3/serialize.h: In static member function ‘staticstd::

vector<std::vector<T, std::allocator<_Tp1> >,

std::allocator<std::vector<T, std::allocator<_Tp1> > > >

GVars3::serialize::FromStream<std::vector

<std::vector<T,std::allocator<_Tp1> >, 

std::allocator<std::vector<T,std::allocator<_Tp1> > > > >::

from(std::istream&)’:

./gvars3/serialize.h:118: error: ‘EOF’ was not declared in this scope
./gvars3/serialize.h:133: error: ‘EOF’ was not declared in this scope
libcvd

在serialize.h添

加#include <stdio.h>

ShooterGame.o: In function`PTAMM::ShooterGame::Init()':

 

ShooterGame.cc:(.text+0x3ee3): undefinedreference to `gluNewQuadric'

 

ShooterGame.cc:(.text+0x3f00): undefinedreference to `gluSphere'

 

ShooterGame.cc:(.text+0x3f08): undefinedreference to `gluDeleteQuadric'

 

collect2: ld 返回 1

 

make:*** [PTAMM] 错误 1
makefile

编辑MakeFile,

加入

-lGL 

-lGLU 

-llapack选项,

再make即正常。

控制台无显示 PTAMM

blas_win32_MT_release.lib lapack_win32_MT_release

版本不对,

可以下载

MinGW使用它预编译的

libblas.lib, 

liblapack.lib, 

liblapacke.lib




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章