Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to create dll in visual studio 2019 #40

Open
theElementZero opened this issue Jan 6, 2022 · 0 comments
Open

unable to create dll in visual studio 2019 #40

theElementZero opened this issue Jan 6, 2022 · 0 comments

Comments

@theElementZero
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant