标题:OpenAL 音乐播放器源代码 的帖子
只看楼主
yangt
Rank: 2
等 级:论坛游民
帖 子:49
专家分:20
注 册:2012-11-28
结帖率:61.11%
已结贴  问题点数:20 回复次数:2 
OpenAL 音乐播放器源代码 的帖子
帖子地址:https://bbs.bccn.net/viewthread.php?tid=332023&extra=&highlight=%B2%A5%B7%C5%C6%F7&page=1
我用的VC98打开 main.c 后编译就出现了如下错误,有弄这个帖子里的东西的吗,一般双击错误会自动到错误处,但是这个却没有,这是怎么回事呢?求哥哥!!!

c:\program files\microsoft visual studio\vc98\include\vorbis\vorbisfile.h(59) : warning C4013: '_fseeki64' undefined; assuming extern returning int
d:\我的文档\c语言\openal 音乐播放器源代码\source\main.c(265) : warning C4244: '=' : conversion from 'double ' to 'long ', possible loss of data
Linking...
main.obj : error LNK2001: unresolved external symbol __imp__alcCloseDevice
main.obj : error LNK2001: unresolved external symbol __imp__alcMakeContextCurrent
main.obj : error LNK2001: unresolved external symbol __imp__alcCreateContext
main.obj : error LNK2001: unresolved external symbol __imp__alcOpenDevice
main.obj : error LNK2001: unresolved external symbol __imp__alcGetString
main.obj : error LNK2001: unresolved external symbol __imp__alcIsExtensionPresent
main.obj : error LNK2001: unresolved external symbol __imp__alcDestroyContext
main.obj : error LNK2001: unresolved external symbol _ov_read
main.obj : error LNK2001: unresolved external symbol _ov_clear
main.obj : error LNK2001: unresolved external symbol __imp__alDeleteBuffers
main.obj : error LNK2001: unresolved external symbol __imp__alDeleteSources
main.obj : error LNK2001: unresolved external symbol __imp__alSourcei
main.obj : error LNK2001: unresolved external symbol __imp__alSourceStop
main.obj : error LNK2001: unresolved external symbol __imp__alSourceUnqueueBuffers
main.obj : error LNK2001: unresolved external symbol __imp__alGetSourcei
main.obj : error LNK2001: unresolved external symbol __imp__alSourcePlay
main.obj : error LNK2001: unresolved external symbol __imp__alSourceQueueBuffers
main.obj : error LNK2001: unresolved external symbol __imp__alBufferData
main.obj : error LNK2001: unresolved external symbol __imp__alGenSources
main.obj : error LNK2001: unresolved external symbol __imp__alGenBuffers
main.obj : error LNK2001: unresolved external symbol __imp__alGetEnumValue
main.obj : error LNK2001: unresolved external symbol _ov_time_total
main.obj : error LNK2001: unresolved external symbol _ov_info
main.obj : error LNK2001: unresolved external symbol _ov_open_callbacks
Debug/main.exe : fatal error LNK1120: 24 unresolved externals
Error executing link.exe.

main.exe - 25 error(s), 2 warning(s)
搜索更多相关主题的帖子: undefined conversion microsoft 音乐播放器 include 
2014-02-26 23:29
beyondyf
Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19Rank: 19
等 级:贵宾
威 望:103
帖 子:3282
专家分:12654
注 册:2008-1-21
得分:10 
你的编译器没找到需要调用的库。

重剑无锋,大巧不工
2014-02-26 23:47
Alar30
Rank: 10Rank: 10Rank: 10
等 级:贵宾
威 望:10
帖 子:988
专家分:1627
注 册:2009-9-8
得分:10 
调用的库没加。。。
2014-02-27 16:34



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-427724-1-1.html




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

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