simpleVRML编译不通过,是怎么回事?大致的错误就是:- openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_set_expand,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_set_packing,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_set_strip_16,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_get_channels,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_get_IHDR,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_read_info,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_init_io,该符号在函数 "int __cdecl `anonymous namespace'::pngreadstr(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *,struct png_struct_def *,struct png_info_struct *,unsigned char * *,unsigned char * * *)" (?pngreadstr@?A0x45f15a9f@@YAHPAU_iobuf@@PAI11PAUpng_struct_def@@PAUpng_info_struct@@PAPAEPAPAPAE@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_create_info_struct,该符号在函数 "unsigned char * __cdecl `anonymous namespace'::pngread(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *)" (?pngread@?A0x45f15a9f@@YAPAEPAU_iobuf@@PAI11@Z) 中被引用
- 1>openvrml.lib(img.obj) : error LNK2019: 无法解析的外部符号 _png_create_read_struct,该符号在函数 "unsigned char * __cdecl `anonymous namespace'::pngread(struct _iobuf *,unsigned int *,unsigned int *,unsigned int *)" (?pngread@?A0x45f15a9f@@YAPAEPAU_iobuf@@PAI11@Z) 中被引用
- 1>simpleVRMLd.exe : fatal error LNK1120: 114 个无法解析的外部命令
复制代码 |