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

error: LNK2005: #9

Open
p3im4n opened this issue Dec 4, 2020 · 1 comment
Open

error: LNK2005: #9

p3im4n opened this issue Dec 4, 2020 · 1 comment

Comments

@p3im4n
Copy link

p3im4n commented Dec 4, 2020

hi
the probem is this:

OnvifDeviceLib.lib(onvifdeviceC.obj):-1: error: LNK2005: "void * __cdecl soap_class_id_enter(struct soap *,char const *,void *,int,unsigned int,char const *,char const *)" (?soap_class_id_enter@@YAPAXPAUsoap@@PBDPAXHI11@Z) already defined in OnvifDiscoveryLib.lib(onvifdiscoC.obj)

I have 33568 error !!!
all are the same !!! error: LNK2005!!!!

this function : "soap_class_id_enter"
is repeated in all source file
so the compiler say: bla bla bla .....already defined in .....bla bla bla......
and it say right!!!

@p3im4n
Copy link
Author

p3im4n commented Dec 4, 2020

the problem is that how use lib fie with same namespace and same function name?????
I thing this source file has never worked for any one
the author put them here to some one solve his problem

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