03-27-2014, 11:10 PM #1
compilation problem on Qt c++ on mac os x 10.8.5
- Member Since
- Mar 25, 2014
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 ListCamerasProsilicaII.pro is like this:
QT += core
QT -= gui
TARGET = ListCamerasProsilicaII
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
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
Any help please?
Last edited by phdstudent; 03-27-2014 at 11:36 PM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By pod in forum OS X - Apps and GamesReplies: 9Last Post: 01-04-2012, 10:08 AM
By targle in forum Music, Audio, and PodcastingReplies: 0Last Post: 01-11-2011, 10:20 PM
By timdanyliw in forum Switcher HangoutReplies: 9Last Post: 06-13-2009, 06:08 PM
By giandrea77 in forum OS X - Development and DarwinReplies: 0Last Post: 01-22-2009, 05:01 AM
By jebradfo in forum OS X - Development and DarwinReplies: 2Last Post: 12-19-2003, 04:29 PM