Linking...
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void __cdecl InitH263Decoder(void)" (?InitH263Decoder@@YAXXZ)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void (__cdecl* WriteByteFunction)(int)" (?WriteByteFunction@@3P6AXH@ZA)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl InitH263Encoder(struct compression_parameters *)" (?InitH263Encoder@@YAHPAUcompression_parameters@@@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void __cdecl InitLookupTable(void)" (?InitLookupTable@@YAXXZ)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl DecompressFrame(unsigned char *,int,unsigned char *,int)" (?DecompressFrame@@YAHPAEH0H@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl CompressFrame(struct compression_parameters *,struct bits_counted *)" (?CompressFrame@@YAHPAUcompression_parameters@@PAUbits_counted@@@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl ConvertRGB2YUV(int,int,unsigned char *,unsigned int *)" (?ConvertRGB2YUV@@YAHHHPAEPAI@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void __cdecl ExitH263Encoder(struct compression_parameters *)" (?ExitH263Encoder@@YAXPAUcompression_parameters@@@Z)
Debug/vfw视频聊天.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
我把encode decode2个文件夹考到工程里面了(#include "Encoder/libr263.h"
#include "Decoder/tmndec.h"),但是编译出错,我没想出是什么问题,请大家帮帮忙 我可能少了什么东西 或者其他问题
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void __cdecl InitH263Decoder(void)" (?InitH263Decoder@@YAXXZ)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void (__cdecl* WriteByteFunction)(int)" (?WriteByteFunction@@3P6AXH@ZA)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl InitH263Encoder(struct compression_parameters *)" (?InitH263Encoder@@YAHPAUcompression_parameters@@@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void __cdecl InitLookupTable(void)" (?InitLookupTable@@YAXXZ)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl DecompressFrame(unsigned char *,int,unsigned char *,int)" (?DecompressFrame@@YAHPAEH0H@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl CompressFrame(struct compression_parameters *,struct bits_counted *)" (?CompressFrame@@YAHPAUcompression_parameters@@PAUbits_counted@@@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "int __cdecl ConvertRGB2YUV(int,int,unsigned char *,unsigned int *)" (?ConvertRGB2YUV@@YAHHHPAEPAI@Z)
vfw视频聊天Dlg.obj : error LNK2001: unresolved external symbol "void __cdecl ExitH263Encoder(struct compression_parameters *)" (?ExitH263Encoder@@YAXPAUcompression_parameters@@@Z)
Debug/vfw视频聊天.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
我把encode decode2个文件夹考到工程里面了(#include "Encoder/libr263.h"
#include "Decoder/tmndec.h"),但是编译出错,我没想出是什么问题,请大家帮帮忙 我可能少了什么东西 或者其他问题
如果是库Lib, 需要把Lib加到link里面去