noahwilliamsson / openspotify

An open source Spotify client library which is API compatible with libspotify 0.0.2. Abandoned in 2010; use libspotify instead!
http://despotify.se
Other
65 stars 9 forks source link

Visual C++ 2008 Build Error #12

Open osirisguitar opened 14 years ago

osirisguitar commented 14 years ago

When trying to compile I get the following. It doesn't need VC++ Express right, the full version should work as well?

Error 110 error C2440: '=' : cannot convert from 'void (stdcall _)(sp_playlist ,const sp_track _,int,int,void *)' to 'void (stdcall )(sp_playlist ,sp_track const ,int,int,void *)' c:\temp\noahwilliamsson-openspotify-570b95d\examples\winamp\ml_openspotify\openspotify.cpp 278 ml_openspotify

noahwilliamsson commented 14 years ago

I suppose that piece of code hasn't been upated to reflect a change in the sp_playlist prototype in libspotify 0.0.3.

You'll have to update the prototype of the callback in ml_openspotify manually.

ml_openspotify isn't really needed for libopenspotify and was merely an experiment with writing a Winamp plugin.