Changes between Initial Version and Version 1 of Ticket #41794


Ignore:
Timestamp:
Dec 13, 2013, 5:14:59 PM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

On what operating system? If OS X 10.9 Mavericks or later, this is expected because of the mismatch between libstdc++ (used by FSF GCC) and libc++ (used by all other compilers, including Apple's GCC, llvm-gcc and clang). The solution is to use a compiler other than FSF GCC.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41794

    • Property Cc ryandesign@… mww@… stromnov@… added
    • Property Port gcc48 opencv added
  • Ticket #41794 – Description

    initial v1  
    11I installed using macport gcc48 and opencv. I tried to compile a simple opencv example with the compiler and I get:
    22
     3{{{
    34Undefined symbols for architecture x86_64:
    45  "cv::namedWindow(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)", referenced from:
     
    1011ld: symbol(s) not found for architecture x86_64
    1112collect2: error: ld returned 1 exit status
     13}}}
    1214
    1315If i use the gcc provided by apple or clang the program compiles. I also tried to recompile opencv by myself and i still get the same error. I tested all this also on a second