Git Product home page Git Product logo

small_notes's People

Contributors

manhnt avatar

Stargazers

 avatar

Watchers

 avatar  avatar

small_notes's Issues

Compiling and installing C++ extension

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.