SDL_mixer in VS2008 compiled against SDL 1.3

Hi guys,

I’m trying to recompile SDL_mixer so that it’ll work with SDL 1.3 however
I’m being streamed with the error:
“definition of dllimport data not allowed”

Any ideas? Is there a compile flag that needs setting?

Also, fixing the above error may resolve this but I’m also getting “SEEK_SET
not defined” for SDL_mixer.

Many thanks for any help.–
View this message in context: http://www.nabble.com/SDL_mixer-in-VS2008-compiled-against-SDL-1.3-tp25731435p25731435.html
Sent from the SDL mailing list archive at Nabble.com.

GMScribe wrote:

Hi guys,

I’m trying to recompile SDL_mixer so that it’ll work with SDL 1.3 however
I’m being streamed with the error:
“definition of dllimport data not allowed”

Any ideas? Is there a compile flag that needs setting?

Also, fixing the above error may resolve this but I’m also getting
"SEEK_SET not defined" for SDL_mixer.

Many thanks for any help.

OK I’ve fixed the issue by removing the DLL build check. However SDL_mixer
will not play any sound in my program. I did have to comment out the use of
MOD if that would make a difference however it is loading my wav file ok,
it’s setting up the sound-card ok and it appears to be playing the file
actively on a channel, i just can’t hear it.

The SDL wav test example is also working fine so I’m not sure where it’s
going wrong!

Any ideas guys?

Would really appreciate if anyone can mail/post a link to a compiled
SDL_mixer for SDL 1.3

Cheers.–
View this message in context: http://www.nabble.com/SDL_mixer-in-VS2008-compiled-against-SDL-1.3-tp25731435p25732502.html
Sent from the SDL mailing list archive at Nabble.com.