在获取了libspotify例子在Windows 7下工作 [英] Getting the examples in libspotify to work under Windows 7

查看:213
本文介绍了在获取了libspotify例子在Windows 7下工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要开始使用libspotify我的Win 7的计算机上,但我没有关于如何得到这一切的设置,这样我可以甚至可以运行包括在包中的例子线索。我有一个Spotify的premium帐户,我试图通过复制libspotify.dll到c安装libspotify:\\ WINDOWS,C:\\ Windows \\ System32下和C:\\ WINDOWS \\ Syswow64资料也改变路径变量,包括路径其中,libspotify.dll所在,但我还是不明白如何让例子来工作。

I want to get started with libspotify on my Win 7 machine but I dont have a clue on how to get it all setup so that I can even run the examples included in the pack. I have a Spotify Premium account and I have tried installing libspotify by copying libspotify.dll to c:\windows, c:\windows\system32 and to c:\windows\SysWOW64 and also changed the path variable to include the path where libspotify.dll is located but I still dont understand how to get the examples to work.

我有code ::安装块,但只要我尝试导入并运行包含在/例子/文件夹中,我得到的各种错误信息任何.c文件中。事实是,我甚至不知道如何安装libspotify和文档是绝对不存在这样的初学者是不可能的甚至在入门的机会。
有没有人在那里谁可以做如何安装libspotify并获得例子一个简单的演练和一个双赢7(64位)的计算机上运行?

I have Code::Blocks installed but as soon as I try to import and run any of the .c files included in the /examples/ folder I get all kinds of error messages. The truth is that I am not even sure how to install libspotify and the documentation is absolutely non existent so for a beginner it is impossible to even have a chance at getting started. Is there somebody out there who can do a simple walkthrough on how to install libspotify and get the examples up and running on a Win 7 (64-bit) machine?

我真的很想跟libspotify做的唯一的事情就是要能够通过命令提示符或类似的东西能够在排队Spotify的一首歌,所以我真的不关心其他部分。不过,我也许可以解决我自己,只要我能得到一个实例运行起来。

The only thing I really want to do with libspotify is to be able to via a command prompt or something like that be able to queue a song in Spotify so I dont really care about the other parts. But I can probably solve that by myself as long as I can get an example up and running.

推荐答案

不幸的是libspotify不能很好地支持在Windows上,其实例如code甚至不会建立因为它们没有Windows音频驱动程序。最好的办法,以刚起床和运行是使用MinGW的,或Linux在VirtualBox环境。

Sadly libspotify is not well-supported on Windows, in fact the example code won't even build because there is no Windows audio driver for them. Your best bet to just get up and running would be to use mingw, or linux in a VirtualBox environment.

这篇关于在获取了libspotify例子在Windows 7下工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆