libbitmessage icon indicating copy to clipboard operation
libbitmessage copied to clipboard

How can i compile on windows?

Open MrBruz opened this issue 3 years ago • 3 comments

see title. I have MinGW and Visual studio installed rn

MrBruz avatar Aug 28 '21 02:08 MrBruz

The code should be pretty OS agnostic, but you would have to define these for the Windows platform in btypes.h

#define big_to_host_16(v) be16toh(v) #define big_to_host_32(v) be32toh(v) #define big_to_host_64(v) be64toh(v) #define host_to_big_16(v) htobe16(v) #define host_to_big_32(v) htobe32(v) #define host_to_big_64(v) htobe64(v)

That said, it's really just a "playing around" project for me, and I haven't compiled it in years

bytting avatar Oct 16 '21 01:10 bytting

thanks for the help! Just tried to compile this on linux as a test but I had problems installing the old version of botan, how hard do you think it'd be to make it compatible with botan v2.18.1(from 1.11.0)?

MrBruz avatar Oct 17 '21 20:10 MrBruz

It shouldn't be too hard. I'll see if I can get the time to compile this in a couple of weeks, maybe I can figure it out

bytting avatar Oct 29 '21 08:10 bytting