游戏开发论坛

 找回密码
 立即注册
搜索
查看: 5373|回复: 1

OpenAL新手问题?

[复制链接]

1

主题

2

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2007-6-28 22:30:00 | 显示全部楼层 |阅读模式
#include <conio.h>
#include <windows.h>
#include <al/alut.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPreviousInstance,
                   char *pszCommandLine, int nCommandShow)
{
    alutInit(0, NULL);
    alutExit();
    return 0;
}

出错:
[Linker error]undefined reference to'lutlinit'
[Linker error]undefined reference to'alutExit'

什么问题啦???

180

主题

3511

帖子

3520

积分

论坛元老

Rank: 8Rank: 8

积分
3520
发表于 2008-7-2 17:51:00 | 显示全部楼层

Re:OpenAL新手问题?

[Linker error]
你的C++里没有装 ALUT库
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-22 03:00

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表