【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




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