Zerpico / libShout-csharp

simple libshout wrapper for C#
Apache License 2.0
12 stars 3 forks source link

Can't build project with target platform x64 #2

Closed haitc21 closed 2 years ago

haitc21 commented 2 years ago

I run this code in Visual Studio and has error: "'An attempt was made to load a program with an incorrect format. (Exception from ". I change property > build > target platform > x86 then ok. But I want build this project in x64. Could you help me?

Zerpico commented 2 years ago

Library libshout-3.dll which I took from icecast.org compiled only for x86. I tried to compile the library for the x64 platform from the source, but so far I have not been successful. Perhaps you can find this library for x64 and dependencies from another place, or compile it yourself. I'll try to do this later. And a better project would be nice to get better

Zerpico commented 2 years ago

Add x64/x86 support d467884 you can use this solution