Results 1 to 1 of 1
  1. #1

    Member Since
    Mar 25, 2014
    compilation problem on Qt c++ on mac os x 10.8.5

    I need to write some code for an application that uses a camera with ethernet connection. The company who made the camera has provided include files to read images from the camera. The files are : ImageLib.h , PvApi.h and PvRegIo.h and some librarie files libImagelib.a and libPvAPI.a and libPvAPI.dylib libPvJNI.dylib
    I put the librarie files in /opt/local/lib/. I put the include files in /opt/local/include/

    In the other hand, company provided some *.cpp examples that contains makefile for compilation. I compile some example and they worked perfectly.
    Now, I decide to compile one example provided by the company to list the connected cameras called ListCamerasProsilicaII.cpp.
    I create a new project on QT and just I copied the code of ListCameras.cpp.
    My is like this:

    QT += core

    QT -= gui

    TARGET = ListCamerasProsilicaII
    CONFIG += console
    CONFIG -= app_bundle

    TEMPLATE = app

    SOURCES += main.cpp

    LIBS+= -lPvAPI
    LIBS+= -lPvJNI
    DEFINES += _x64 _OSX

    I compiled and I generate the executable file but when I try to execute file from Qt, I got this error:

    dyld: Symbol not found: __cg_jpeg_resync_to_restart
    Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    Expected in: /opt/local/lib/libJPEG.dylib
    in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO

    Any help please?
    Last edited by phdstudent; 03-27-2014 at 10:36 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Compilation albums in iTunes...
    By pod in forum macOS - Apps and Games
    Replies: 9
    Last Post: 01-04-2012, 09:08 AM
  2. Problems importing Compilation CDs
    By targle in forum Music, Audio, and Podcasting
    Replies: 0
    Last Post: 01-11-2011, 09:20 PM
  3. Importing compilation album into iTunes
    By timdanyliw in forum Switcher Hangout
    Replies: 9
    Last Post: 06-13-2009, 05:08 PM
  4. QT and ibase plugin compilation problem
    By giandrea77 in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 01-22-2009, 04:01 AM
  5. Xcode Issues with C/C++ Compilation
    By jebradfo in forum macOS - Development and Darwin
    Replies: 2
    Last Post: 12-19-2003, 03:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts