• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems when linking/using ZeroLink in XCode 1.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems when linking/using ZeroLink in XCode 1.5


  • Subject: Problems when linking/using ZeroLink in XCode 1.5
  • From: "Alex Juarez" <email@hidden>
  • Date: Fri, 7 Jul 2006 14:46:53 +0200

Hi:

I am having some troubles trying to link a hybrid C/C++ carbon
application using XCode Tool. I'm running Panther (10.3.9) with Xcode
1.5 (all Developer Tools extras installed also). The application is a
simple Quicktime based video capture with some custom image processing
libraries as well as the linux distribution of OpenCV included. The
compile phase works well, however, the problem starts when xcode tries
to link the libraries needed by the app, then i get the following
error in the Build Results window:

Native Build of Target "testcvproj"

CompileC build/testcvproj.build/testcvproj.build/Objects-normal/ppc/main.o
main.c normal ppc c++ com.apple.compilers.gcc.3_3
   cd /testcv/testcvproj
   /usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs
-fasm-blocks -fpascal-strings -g -O0 -mtune=G4 -fmessage-length=0
-ffix-and-continue -F/testcv/testcvproj/build
-I/testcv/testcvproj/build/include -I/usr/local/include/opencv
-I/testcv/testcvproj/build/testcvproj.build/testcvproj.build/DerivedSources
-Wp,-header-mapfile,/testcv/testcvproj/build/testcvproj.build/testcvproj.build/testcvproj.hmap
-include /testcv/testcvproj/testcvproj_Prefix.pch -c
/testcv/testcvproj/main.c -o
/testcv/testcvproj/build/testcvproj.build/testcvproj.build/Objects-normal/ppc/main.o

Ld /testcv/testcvproj/build/testcvproj.app/Contents/MacOS/testcvproj
   cd /testcv/testcvproj
   /usr/bin/g++-3.3 -o
/testcv/testcvproj/build/testcvproj.app/Contents/MacOS/testcvproj
-L/testcv/testcvproj/build -L/usr/local/lib -F/testcv/testcvproj/build
-filelist /testcv/testcvproj/build/testcvproj.build/testcvproj.build/Objects-normal/testcvproj.LinkFileList
-framework Carbon -lstdc++ -framework QuickTime -arch ppc -prebind
-Wl,-no_arch_warnings -bind_at_load -lcxcore -lcv -lhighgui -lcvaux
ld: warning prebinding disabled because dependent library:
/usr/local/lib/libcxcore.0.dylib is not prebound
ld: warning multiple definitions of symbol _icvCompareC_8u_C1R_p
/usr/local/lib/libcv.dylib(single module) definition of _icvCompareC_8u_C1R_p
/usr/local/lib/libcxcore.dylib(single module) definition of
_icvCompareC_8u_C1R_p
ld: /usr/lib/gcc/darwin/3.3/libstdc++.a(eh_personality.o) illegal
reference to symbol: ___cxa_allocate_exception defined in indirectly
referenced dynamic library /usr/lib/libstdc++.6.dylib


After getting this error, I went to the project properties and enabled ZeroLink and then the application ran smoothly until the point when i try to use one of the functions of the external (OpenCV specifically) libraries that I previously included in the Other Linker Flags option in the XCode project info pane. Then i get the following error from the Run Log window:

[Session started at 2006-07-07 14:40:01 +0200.]
(255,128,0) 0.000000 0 'Orange'
(255,255,0) 0.000000 0 'Yellow'
(0,0,255) 0.000000 0 'Blue'
(255,255,255) 0.000000 0 'White'
(255,0,255) 0.000000 0 'Pink'
(160,0,160) 0.000000 0 'Purple'
ZeroLink: unknown symbol '_cvReleaseImage'

Executable "testcvproj" has exited due to signal 6 (SIGABRT).

I've been trying for quite a while to solve this but no success :'( .I
would really appreciate any help you can provide me cause i'm running
out of time to find a solution to this issue.

Thanks for yout time.
Best Regards

Alex J.

P.D. If this is not a question for this mailing list, please indicate
which/who I have to ask. thnx!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problems when linking/using ZeroLink in XCode 1.5
      • From: Syd Polk <email@hidden>
  • Prev by Date: Re: Xcode and external bundles
  • Next by Date: Universal binary & multiple OS targets
  • Previous by thread: Linking fails .... cant locate file for -lfmod
  • Next by thread: Re: Problems when linking/using ZeroLink in XCode 1.5
  • Index(es):
    • Date
    • Thread