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

Issues with the installation #81

Open
magicBanana3 opened this issue Apr 7, 2020 · 1 comment
Open

Issues with the installation #81

magicBanana3 opened this issue Apr 7, 2020 · 1 comment

Comments

@magicBanana3
Copy link

Hello I try to initialize the library, but I'm failing.
I added the librarys in my project-folder, but I get a lot of errors after try one of the examples.
So I tried just to make a connection with this code:

`#ifdef _WIN32
#define _CRT_SECURE_NO_DEPRECATE
#endif

#include "cs104_connection.h"

#include <stdio.h>
#include <stdlib.h>

int main(){
CS104_Connection con = CS104_Connection_create("127.0.0.1", 2404);
}
`

And I get the error: LNK2019 reference to unresolved external symbol "_CS104_Connection_create" in main function.

I don't know why it's not working, because my compile recognize the library.
Maybe I made a mistake in the installation. I also tried to use CMaker, but here I also got some errors. In this case what is exactly meant with the command "make" where should I write it down?
I'm using Visual Studios 2019.

I already thank you for your help!

@Noschvie
Copy link

Noschvie commented Jun 4, 2020

@magicBanana3 : Did you got your example compiled using VS 2019 ?

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

2 participants