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

build link error #68

Closed
nooperpudd opened this issue Nov 14, 2017 · 5 comments
Closed

build link error #68

nooperpudd opened this issue Nov 14, 2017 · 5 comments

Comments

@nooperpudd
Copy link

os: win10 x64
node version: node 7.9.0 x64
opencv version: 3.3.1 x64

opencv4nodejs.obj : error LNK2001: unresolved external symbol "public: static void __cdecl Dnn::Init(class v8::Local)" (?Init@Dnn@@saxv?$Local@VObject@v8@@@v8@@@z) [C:\Users\Phil\WebstormProjects\untitled1\node_modules\ope
ncv4nodejs\build\opencv4nodejs.vcxproj]
C:\Users\Phil\WebstormProjects\untitled1\node_modules\opencv4nodejs\build\Release\opencv4nodejs.node : fatal error LNK11
20: 1 unresolved externals [C:\Users\Phil\WebstormProjects\untitled1\node_modules\opencv4nodejs\build\opencv4nodejs.vcxp
roj]

@justadudewhohacks
Copy link
Owner

Oh damn thanks for reporting this,

I guess you have build opencv world, right? Atleast I could reproduce this issue when building with opencv world.

justadudewhohacks added a commit that referenced this issue Nov 14, 2017
fix for dnn link error with opencv world
@justadudewhohacks
Copy link
Owner

This should hopefully be fixed now. If you still run into this problem please let me know.

@nooperpudd
Copy link
Author

Ok, this pull request indeed fixed the build link errors.

@nooperpudd
Copy link
Author

But I think this project need appveyor to test build on Windows. https://www.appveyor.com

@justadudewhohacks
Copy link
Owner

Yes I agree, test builds for windows would be great. I will have a look at appveyor. Thanks for sharing!

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