liteserver / binn

Binary Serialization
Apache License 2.0
440 stars 58 forks source link

unable to create dll in visual studio 2019 #40

Open theElementZero opened 2 years ago

theElementZero commented 2 years ago

Hi,

i am trying to create dll file to use in c# project. i am getting following error:

cc -Wall -c src/binn.c process_begin: CreateProcess(NULL, cc -Wall -c src/binn.c, ...) failed. make (e=2): The system cannot find the file specified. make: *** [binn.o] Error 2

i followed the step given in readme

git clone https://github.com/liteserver/binn cd binn make

i have GNU Make 3.81 installed on my system, Windows 10.

Also i tried to compile the code in src/win32 using visual studio 2019, it created binn-1.0.dll, but i am unable to add this file in c# project. i am getting following error

A reference to the "binn-1.0.dll" could not be added.Please make sure that the file is accessible and that it is a valid assembly or COM component.

it will be helpful if anybody can share steps for adding dll, or if i can add this dll for c# project or not ? Also as mention in readme

Both will create the file binn-3.0.dll

but when i build the project the output file is binn-1.0.dll, is this old repo am i doing something wrong ? if any further info is required from my end please inform