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

Reporting a series of errors after installing #10

Open
nasagfunaro opened this issue Aug 28, 2017 · 3 comments
Open

Reporting a series of errors after installing #10

nasagfunaro opened this issue Aug 28, 2017 · 3 comments

Comments

@nasagfunaro
Copy link

          _

_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: https://docs.julialang.org
_ _ | | __ _ | Type "?help" for help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.6.0 (2017-06-19 13:05 UTC)
/ |_'|||_'_| | Official http://julialang.org/ release
|__/ | x86_64-apple-darwin13.4.0

julia> Pkg.clone("https://github.com/Keno/Cxx.jl")
INFO: Initializing package repository /Users/gfunaro/.julia/v0.6
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
INFO: Cloning Cxx from https://github.com/Keno/Cxx.jl
INFO: Computing changes...
INFO: Updating cache of Compat...
INFO: Installing Compat v0.31.0
INFO: Package database updated

julia> Pkg.build("Cxx")
INFO: Building Cxx
INFO: Building julia binary build
% Total % Received % Xferd Average Speed Time Time T i m%e T oCtuarlr e n t
% R e c e i v e d % Xferd A v e r a g e S p e e d T i m eD l o a dT i mUep l o a d T i mTeo t aClu r r eSnpte
n t L e f t S p e e d
D l0o a d U0p l o a d0 T o t0a l 0S p e n t 0 L e f t0 S p e e d0
100 17.2M 100 17.2M 0 0 3210k 0 0:00:05 0:00:05 --:--:-- 4436k-0- : - - : - -0 -0-::0-0-::0-2- - -0::-0-0::-0-2 - - : -0-:-- 0 0
100 9.8M 100 9.8M 0 0 1164k 0 0:00:08 0:00:08 --:--:-- 2553k
CMake Warning:
Manually-specified variables were not used by the project:

LLVM_BUILD_LLVM_DYLIB

julia> Pkg.clone("https://github.com/JuliaOpenCV/CVCore.jl")
INFO: Cloning CVCore from https://github.com/JuliaOpenCV/CVCore.jl
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.clone("https://github.com/JuliaOpenCV/CVCalib3d.jl")
INFO: Cloning CVCalib3d from https://github.com/JuliaOpenCV/CVCalib3d.jl
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.clone("https://github.com/JuliaOpenCV/CVHighGUI.jl")
INFO: Cloning CVHighGUI from https://github.com/JuliaOpenCV/CVHighGUI.jl
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.clone("https://github.com/JuliaOpenCV/CVVideoIO.jl")
INFO: Cloning CVVideoIO from https://github.com/JuliaOpenCV/CVVideoIO.jl
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.clone("https://github.com/JuliaOpenCV/CVImgProc.jl")
INFO: Cloning CVImgProc from https://github.com/JuliaOpenCV/CVImgProc.jl
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.clone("https://github.com/JuliaOpenCV/CVImgCodecs.jl")
INFO: Cloning CVImgCodecs from https://github.com/JuliaOpenCV/CVImgCodecs.jl
INFO: Computing changes...
INFO: No packages to install, update or remove

julia> Pkg.clone("https://github.com/JuliaOpenCV/LibOpenCV.jl")
INFO: Cloning LibOpenCV from https://github.com/JuliaOpenCV/LibOpenCV.jl
INFO: Computing changes...
INFO: Updating cache of BinDeps...
INFO: Cloning cache of DocStringExtensions from https://github.com/JuliaDocs/DocStringExtensions.jl.git
INFO: Updating cache of SHA...
INFO: Updating cache of URIParser...
INFO: Installing BinDeps v0.7.0
INFO: Installing DocStringExtensions v0.4.0
INFO: Installing SHA v0.5.1
INFO: Installing URIParser v0.2.0

julia> Pkg.clone("https://github.com/JuliaOpenCV/OpenCV.jl")
INFO: Cloning OpenCV from https://github.com/JuliaOpenCV/OpenCV.jl
INFO: Computing changes...
INFO: Installing Reexport v0.0.3

julia> Pkg.build("LibOpenCV")
INFO: Building Cxx
INFO: Building julia binary build
INFO: Building LibOpenCV

julia> Pkg.test("OpenCV")
INFO: Testing OpenCV

WARNING: deprecated syntax "typealias cvScalar_{T} @cxxt_str "cv::Scalar_<$T>"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:128.
Use "cvScalar_{T} = @cxxt_str "cv::Scalar_<$T>"" instead.

WARNING: deprecated syntax "typealias AbstractCvScalar Union{cvScalar,cvScalar_}" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:133.
Use "const AbstractCvScalar = Union{cvScalar,cvScalar_}" instead.

WARNING: deprecated syntax "typealias cvPoint_{T} @cxxt_str "cv::Point_<$T>"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:135.
Use "cvPoint_{T} = @cxxt_str "cv::Point_<$T>"" instead.

WARNING: deprecated syntax "typealias cvPoint3_{T} @cxxt_str "cv::Point3_<$T>"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:139.
Use "cvPoint3_{T} = @cxxt_str "cv::Point3_<$T>"" instead.

WARNING: deprecated syntax "typealias cvPoint @cxxt_str "cv::Point"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:143.
Use "const cvPoint = @cxxt_str "cv::Point"" instead.

WARNING: deprecated syntax "typealias AbstractCvPoint Union{cvPoint,cvPoint_}" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:146.
Use "const AbstractCvPoint = Union{cvPoint,cvPoint_}" instead.

WARNING: deprecated syntax "typealias cvSize_{T} @cxxt_str "cv::Size_<$T>"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:148.
Use "cvSize_{T} = @cxxt_str "cv::Size_<$T>"" instead.

WARNING: deprecated syntax "typealias cvSize @cxxt_str "cv::Size"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:152.
Use "const cvSize = @cxxt_str "cv::Size"" instead.

WARNING: deprecated syntax "typealias AbstractCvSize Union{cvSize,cvSize_}" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:155.
Use "const AbstractCvSize = Union{cvSize,cvSize_}" instead.

WARNING: deprecated syntax "typealias Scalar cvScalar_" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:212.
Use "const Scalar = cvScalar_" instead.

WARNING: deprecated syntax "typealias TermCriteria @cxxt_str "cv::TermCriteria"" at /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl:224.
Use "const TermCriteria = @cxxt_str "cv::TermCriteria"" instead.
ERROR: LoadError: LoadError: LoadError: LoadError: Cannot find /usr/local/include/opencv2/opencv.hpp
Stacktrace:
[1] error(::String) at ./error.jl:21
[2] include_from_node1(::String) at ./loading.jl:569
[3] eval(::Module, ::Any) at ./boot.jl:235
[4] _require(::Symbol) at ./loading.jl:483
[5] require(::Symbol) at ./loading.jl:398
[6] include_from_node1(::String) at ./loading.jl:569
[7] eval(::Module, ::Any) at ./boot.jl:235
[8] _require(::Symbol) at ./loading.jl:483
[9] require(::Symbol) at ./loading.jl:398
[10] include_from_node1(::String) at ./loading.jl:569
while loading /Users/gfunaro/.julia/v0.6/LibOpenCV/src/LibOpenCV.jl, in expression starting on line 85
while loading /Users/gfunaro/.julia/v0.6/CVCore/src/CVCore.jl, in expression starting on line 112
while loading /Users/gfunaro/.julia/v0.6/OpenCV/src/OpenCV.jl, in expression starting on line 80
while loading /Users/gfunaro/.julia/v0.6/OpenCV/test/runtests.jl, in expression starting on line 1
========================================================================================================================[ ERROR: OpenCV ]=========================================================================================================================

failed process: Process(/Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia -Ccore2 -J/Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/sys.dylib --compile=yes --depwarn=yes --check-bounds=yes --code-coverage=none --color=yes --compilecache=yes /Users/gfunaro/.julia/v0.6/OpenCV/test/runtests.jl, ProcessExited(1)) [1]

==================================================================================================================================================================================================================================================================
ERROR: OpenCV had test errors

@stemann
Copy link

stemann commented Aug 29, 2017

Consider the maxruby/OpenCV.jl repo. instead (though that repo. was not working for me either).

I have a functioning OpenCV.jl repo. on 0.6 - without anything but ability to call OpenCV via Cxx (@cxx and @cxxnew macros). Let me know if it is of interest.

@nasagfunaro
Copy link
Author

nasagfunaro commented Aug 29, 2017 via email

@r9y9
Copy link
Member

r9y9 commented Aug 30, 2017

I've fixed a couple of deprecations, but I found there are still problems due to v0.6 breaking changes. Sorry for your convenience.

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

3 participants