microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.78k stars 5.37k forks source link

win32_interop.lib and ws2_32.lib conflict #577

Open etertal opened 6 years ago

etertal commented 6 years ago

Redis relies on win32_interop.lib and activeMQ dependent ws2_32.lib library conflicts, but I need these two libraries. How do you solve this conflict?. Running shows that many functions are redefined

shezio commented 6 years ago

You might wanna try this one (am new to redis but this looks promising 🙏)

https://www.google.co.il/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/23824286/visual-studio-c-redis-msopentech-port-client-hiredis&ved=0ahUKEwiRp-K5leHXAhVJuhQKHZlxB_0QFggnMAE&usg=AOvVaw0jNUizZhjDDjUxjHOhpWav

isaf commented 6 years ago

I have the same problem. Did you find the answer?

etertal commented 6 years ago

No,I used redis version is 2.6 ,It has a hiredis library that doesn't need win32_interop.lib. url : https://github.com/MicrosoftArchive/redis/tree/2.6.