-
Notifications
You must be signed in to change notification settings - Fork 295
SWIG missing... #39
Comments
Just another user here. Have you tried the swig directions at
https://github.com/Microsoft/ELL/blob/244273ee64ec9432243a8d0e354d3769b642e502/interfaces/README.md
…On Wed, Jul 5, 2017 at 6:14 PM, ack72tdp ***@***.***> wrote:
-- Using BLAS include path: /usr/include
-- Using BLAS library: /usr/lib/libblas.so
-- Using BLAS DLLs:
-- Found PythonInterp: /root/miniconda3/bin/python (found version "3.6.1")
-- Found PythonLibs: /root/miniconda3/lib/libpython3.6m.so (found version
"3.6.1")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
least version "3.0.12")
CMake Warning at CMakeLists.txt:85 (message):
SWIG not found, interfaces and projects that depend on them will not build
properly. They are not part of the default make targets, so can be
skipped. If you want to build interfaces (such as the Python bindings),
follow the instructions in INSTALL-XXXXX.md file to install SWIG. Then
delete the CMakeCache.txt file from your build directory run the cmake
command again.
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
least version "3.0.12")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
least version "3.0.12")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
least version "3.0.12")
-- Creating wrappers for python
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
least version "3.0.12")
-- Creating wrappers for javascript
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at
least version "3.0.12")
-- Creating wrappers for xml
-- Configuring done
-- Generating done
-- Build files have been written to: /root/ELL/build
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#39>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAb0dJe2xJH4z1YNgyQuVnfv9epLqHRFks5sLAq4gaJpZM4OO70T>
.
|
Thanks Jacob. It helped move forward bit... However I run into few other issues.. (py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# python darknetDemo.py (py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# sh compile_darknetReference.sh Compiling darknetReference from ELL, emitting LLVM IR Parsing darknetReference from ELL, generating SWIG interface Compiling darknetReference LLVM IR, generating model object file Running disutils setup to compile and link model + SWIG wrappers into Python module, and install package locally |
OR with microsoft cognitive kit (py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# python cntkDemo.py |
Thats covered here: I actually got stuck here as well (on osx) with this issue:
even though i installed openblas per instructions with both brew This issue said conda-forge/opencv-feedstock#69 Which got me up and running with |
Thanks a lot Jacob. Unfortunately it didn't work in my case after running all 3 below.. conda install -c conda-forge opencv (py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# python cntkDemo.py (py36) root@8fa27a83d7dd:~/ELL/build/tutorials/vision/gettingStarted# python darknetDemo.py |
Probably unrelated, but note I didnt do Youve got a different error there you should google |
Thanks a lot Jacob. I am able to move forward much more.. Appreciate all your help. |
Care to post your fix for others? Also if this is resolved please close your issue. |
Certainly, all I did is follow step 5 ELL Python Language Bindings and Step 6.Microsoft Cognitive Toolkit install steps again and then used Step 7:Darknet model to .. run .. microsoft cognitive toolkit didn't quite work.. but darnet model seems to atleast run, but also bailed out at the end ... Any case we can close this here and I opened new.. |
-- Using BLAS include path: /usr/include
-- Using BLAS library: /usr/lib/libblas.so
-- Using BLAS DLLs:
-- Found PythonInterp: /root/miniconda3/bin/python (found version "3.6.1")
-- Found PythonLibs: /root/miniconda3/lib/libpython3.6m.so (found version "3.6.1")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.12")
CMake Warning at CMakeLists.txt:85 (message):
SWIG not found, interfaces and projects that depend on them will not build
properly. They are not part of the default make targets, so can be
skipped. If you want to build interfaces (such as the Python bindings),
follow the instructions in INSTALL-XXXXX.md file to install SWIG. Then
delete the CMakeCache.txt file from your build directory run the cmake
command again.
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.12")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.12")
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.12")
-- Creating wrappers for python
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.12")
-- Creating wrappers for javascript
-- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0.12")
-- Creating wrappers for xml
-- Configuring done
-- Generating done
-- Build files have been written to: /root/ELL/build
The text was updated successfully, but these errors were encountered: