0

编译 LMMS 时出现以下错误:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lshell32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lcomdlg32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lgdi32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -ladvapi32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -luser32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lkernel32
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: cannot find -lntdll

我有 32 位和 64 位版本的 wine,所有库都位于 /usr/lib(64)/wine/

我应该怎么做才能让它编译?

制作文件:http : //pastebin.com/kgUe0cW1

4

1 回答 1

0

在您的编译命令中添加此选项行?
-L/usr/lib(64)/wine

然后您的 ld 将找到该.so文件。

于 2012-04-24T10:28:52.440 回答