Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
21st May 2015, 17:51 | #1 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
TCanny
https://github.com/HomeOfVapourSynth...urSynth-TCanny
As the Canny filter in GenericFilters has line shift problem and the plugin is likely to be obsolete, hence here is the port. Last edited by HolyWu; 13th May 2016 at 14:53. |
21st May 2015, 19:38 | #2 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,580
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
14th August 2016, 10:48 | #5 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 392
|
Update r6.
|
19th September 2016, 22:20 | #11 | Link |
Registered User
Join Date: Apr 2016
Posts: 85
|
I'm unable to compile on OS X (10.9.5). I'm using default autogen.sh + configure.
I get the following error: Code:
CXX TCanny/TCanny.lo error: invalid value 'c++14' in '-std=c++14' make: *** [TCanny/TCanny.lo] Error 1 |
19th September 2016, 23:55 | #13 | Link |
Registered User
Join Date: Apr 2016
Posts: 85
|
Code:
g++ --version Code:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix |
1st March 2017, 10:28 | #14 | Link |
Registered User
Join Date: Jan 2017
Posts: 146
|
I am getting the following errors when building on macOS, after autogen and configure. Anyone can assist ?
$ g++ --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin16.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin $ make TCanny/TCanny.cpp:579:27: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "malloc failure (buffer)" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:586:27: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "malloc failure (blur)" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:594:31: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "malloc failure (gradient)" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:605:31: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "malloc failure (direction)" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:616:31: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "malloc failure (label)" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:622:38: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' } catch (const std::string & error) { ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:681:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "only constant format 8-16 bits integer ... ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:684:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "the clip's height must be greater than ... ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:688:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "more sigma given than the number of planes" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:728:23: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "sigma must be greater than or equa... ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:732:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "t_h must be greater than t_l" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:735:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "mode must be -1, 0, 1, 2 or 3" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:738:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "op must be 0, 1, 2 or 3" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:741:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "gmmax must be greater than or equal to 1.0" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:744:19: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "opt must be 0, 1, 2, 3 or 4" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:755:23: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "plane index out of range" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:758:23: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "plane specified twice" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:792:27: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' throw std::string { "malloc failure (weights)" }; ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ TCanny/TCanny.cpp:808:34: error: implicit instantiation of undefined template 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >' } catch (const std::string & error) { ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:193:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_string; ^ 19 errors generated. |
3rd March 2017, 07:32 | #16 | Link | |
Registered User
Join Date: Jan 2017
Posts: 146
|
Quote:
CXXLD libtcanny.la Undefined symbols for architecture x86_64: "binarizeCE<float>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "binarizeCE<unsigned char>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "binarizeCE<unsigned short>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "discretizeGM<float>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "discretizeGM<unsigned char>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "discretizeGM<unsigned short>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "gaussianBlurVertical<float>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "gaussianBlurVertical<unsigned char>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "gaussianBlurVertical<unsigned short>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "copyData<float>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "copyData<unsigned char>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "copyData<unsigned short>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "outputGB<float>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "outputGB<unsigned char>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o "outputGB<unsigned short>", referenced from: tcannyCreate(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) in TCanny.o tcannyGetFrame(int, int, void**, void**, VSFrameContext*, VSCore*, VSAPI const*) in TCanny.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) |
|
3rd March 2017, 15:13 | #18 | Link | |
Registered User
Join Date: Jan 2017
Posts: 146
|
Quote:
$ clang --version Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin16.4.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin You want me to test something else ? What exactly to change in configure ? |
|
3rd March 2017, 15:30 | #19 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 322
|
Code:
CC=clang CXX=clang++ ./configure make V=1 Oh, and it is usually better if you paste your _full_ log and your _full_ configure log when you want assistance with stuff like that (with some paste-site instead of raw printing it in the forums). Last edited by Are_; 3rd March 2017 at 15:41. |
3rd March 2017, 16:15 | #20 | Link | |
Registered User
Join Date: Jan 2017
Posts: 146
|
Quote:
http://pastebin.com/KLWSV1ZH |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|