openspotify icon indicating copy to clipboard operation
openspotify copied to clipboard

Visual C++ 2008 Build Error

Open osirisguitar opened this issue 15 years ago • 1 comments

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

osirisguitar avatar Apr 13 '10 12:04 osirisguitar

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.

noahwilliamsson avatar Apr 13 '10 12:04 noahwilliamsson