| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 529 人关注过本帖
标题:很奇怪的问题
只看楼主 加入收藏
dingyunda
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2006-9-8
收藏
 问题点数:0 回复次数:0 
很奇怪的问题

编译会出现如下错误。
但是对应的函数已经查过都没错。我实在想不到解决方案,请各位大虾请教。
Linking...
lazy_wavelet_int.obj : error LNK2001: unresolved external symbol _QccVectorIntCopy
lifting_int.obj : error LNK2001: unresolved external symbol _QccVectorIntCopy
lazy_wavelet_int.obj : error LNK2001: unresolved external symbol _QccVectorIntFree
lifting_int.obj : error LNK2001: unresolved external symbol _QccVectorIntFree
wavelet_analysis_synthesis_int.obj : error LNK2001: unresolved external symbol _QccVectorIntFree
lazy_wavelet_int.obj : error LNK2001: unresolved external symbol _QccVectorIntAlloc
lifting_int.obj : error LNK2001: unresolved external symbol _QccVectorIntAlloc
wavelet_analysis_synthesis_int.obj : error LNK2001: unresolved external symbol _QccVectorIntAlloc
SPIHT3D.OBJ : error LNK2001: unresolved external symbol "void __cdecl QccWAVSubbandPyramid3DIntFree(struct QccWAVSubbandPyramid3DInt *)" (?QccWAVSubbandPyramid3DIntFree@@YAXPAUQccWAVSubbandPyramid3DInt@@@Z)
SPIHT3D.OBJ : error LNK2001: unresolved external symbol "int __cdecl QccWAVSubbandPyramid3DIntAlloc(struct QccWAVSubbandPyramid3DInt *)" (?QccWAVSubbandPyramid3DIntAlloc@@YAHPAUQccWAVSubbandPyramid3DInt@@@Z)
SPIHT3D.OBJ : error LNK2001: unresolved external symbol "int __cdecl QccWAVSubbandPyramid3DIntInitialize(struct QccWAVSubbandPyramid3DInt *)" (?QccWAVSubbandPyramid3DIntInitialize@@YAHPAUQccWAVSubbandPyramid3DInt@@@Z)
SPIHT3D.OBJ : error LNK2001: unresolved external symbol "int __cdecl QccWAVSubbandPyramid3DIntDWT(struct QccWAVSubbandPyramid3DInt *,int,int,int,int)" (?QccWAVSubbandPyramid3DIntDWT@@YAHPAUQccWAVSubbandPyramid3DInt@@HHHH@Z)
SPIHT3D.OBJ : error LNK2001: unresolved external symbol "int __cdecl QccWAVSubbandPyramid3DIntSubtractMean(struct QccWAVSubbandPyramid3DInt *,int *)" (?QccWAVSubbandPyramid3DIntSubtractMean@@YAHPAUQccWAVSubbandPyramid3DInt@@PAH@Z)
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccVolumeIntAlloc
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccVolumeIntFree
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccWAVSubbandPyramid3DNumLevelsToNumSubbandsDyadic
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccWAVSubbandPyramid3DNumSubbandsToNumLevelsDyadic
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccWAVSubbandPyramid3DCalcLevelFromSubbandDyadic
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccFileClose
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccFileReadInt
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccFileSkipWhiteSpace
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccFileWriteInt
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccVolumeIntCopy
subband_pyramid3D_int.obj : error LNK2001: unresolved external symbol _QccVolumeIntMean
subband_pyramid_int.obj : error LNK2001: unresolved external symbol _QccMatrixIntAlloc
subband_pyramid_int.obj : error LNK2001: unresolved external symbol _QccMatrixIntFree
test.obj : error LNK2001: unresolved external symbol "int __cdecl QccIMGImageCubeReadData(struct QccIMGImageCube *)" (?QccIMGImageCubeReadData@@YAHPAUQccIMGImageCube@@@Z)
Debug/spiht3d.exe : fatal error LNK1120: 22 unresolved externals
Error executing link.exe.

spiht3d.exe - 28 error(s), 0 warning(s)
对应的头文件如下:
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>

#define QCCSTRINGLEN 1200
typedef char QccString[QCCSTRINGLEN + 1];
typedef int *QccVectorInt;//060813因为图象象素是整型
typedef QccVectorInt *QccMatrixInt;
typedef QccMatrixInt *QccVolumeInt;
/*phase*/
#define QCCWAVWAVELET_PHASE_EVEN 0
#define QCCWAVWAVELET_PHASE_ODD 1
/*type of wavelet_int*/
#define WAVNULL 0
#define QCCWAVLIFTINGSCHEME_IntLWT 1
#define QCCWAVLIFTINGSCHEME_IntCohenDaubechiesFeauveau9_7 2
#define QCCWAVLIFTINGSCHEME_IntCohenDaubechiesFeauveau5_3 3
#define QCC_INT_SIZE 4

#define QccFree(p) (p != NULL) ? free(p):(void)0, (p) = NULL
……
/*vector*/
QccVectorInt QccVectorIntAlloc(int vector_dimension);
int QccVectorIntCopy(QccVectorInt vector1,
const QccVectorInt vector2,
int vector_dimension);
void QccVectorIntFree(QccVectorInt vector);
/*Matrix*/

QccMatrixInt QccMatrixIntAlloc(int num_rows,
int num_cols);
void QccMatrixIntFree(QccMatrixInt matrix,
int num_rows);
double QccMatrixIntMean(const QccMatrixInt matrix,
int num_rows,
int num_cols);
/*Volume*/
int QccVolumeIntCopy(QccVolumeInt volume1,
const QccVolumeInt volume2,
int num_frames,
int num_rows,
int num_cols);
QccVolumeInt QccVolumeIntAlloc(int num_frames,
int num_rows,
int num_cols);
void QccVolumeIntFree(QccVolumeInt volume,
int num_frames,
int num_rows);
double QccVolumeIntMean(const QccVolumeInt volume,
int num_frames,
int num_rows,
int num_cols);

……
#include "imagecube.h"
#include "libQccPackWAV.h"
#include "SPIHT3D.H"

搜索更多相关主题的帖子: obj int symbol wavelet 
2006-09-08 21:03
快速回复:很奇怪的问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.011894 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved