manhnt / small_notes Goto Github PK
View Code? Open in Web Editor NEWVarious small notes which I keep for my self as quick reference documents
License: GNU General Public License v2.0
Various small notes which I keep for my self as quick reference documents
License: GNU General Public License v2.0
Hi
I am at the stage were I am installing the C++ extension.
I have set the include and lib path in setup.py and installed MS Build Tools. When I run python setup.py install in Anaconda Prompt,
It comes up with an error :
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\User\Anaconda3\Library\lib\ /LIBPATH:C:\Users\User\Anaconda3\lib\site-packages\torch\lib /LIBPATH:C:\Users\User\Anaconda3\libs /LIBPATH:C:\Users\User\Anaconda3\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" opencv_core.lib opencv_calib3d.lib c10.lib torch.lib torch_python.lib _C.lib /EXPORT:PyInit_ngransac build\temp.win-amd64-3.5\Release\ngransac.obj build\temp.win-amd64-3.5\Release\thread_rand.obj /OUT:build\lib.win-amd64-3.5\ngransac.cp35-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.5\Release\ngransac.cp35-win_amd64.lib
LINK : fatal error LNK1181: cannot open input file 'opencv_core.lib'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1181
I have searched for the opencv_core.lib file in Anaconda and it doesn't exist. Does this mean opencv was not built and installed properly? I installed it using the instruction "conda install opencv".
How can I solve this LINK error?
Second question, I am using Pycharm, do you know how I can setup and import from within pycharm?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.