kylemcdonald / ofxCv

Alternative approach to interfacing with OpenCv from openFrameworks.
Other
658 stars 276 forks source link

Error Compiling OfxCv in Xcode #56

Closed mayankchouhan1089 closed 11 years ago

mayankchouhan1089 commented 11 years ago

I have compiler errors attempting to compile ofxcv, I am using XCode 4.2 and Mac-OS 10.6.8 with OpenFrame Works version 0073 (Latest available.)

The errors are : Semanti Issues in :

  1. Core.hpp
  2. Operations.hpp
  3. matt.hpp

and Apple LLVM Compiler 3.0 Error

Find the snapShots for the errors here :

Error Image1

Error Image 2

I have also placed the OfxCv folder in addons and generated the project through Project Generator.

Even the Ofxcv Examples are also not working (Examples are giving some different compilation errors).

OpenFrameWorks programs and Examples are working fine.

Help me out in solving these errors.

Thanks Mayank

kylemcdonald commented 11 years ago

hi, it looks like you're trying to compile ofxCv for iOS.

i've never done any iOS development so i'm not sure what's wrong.

if you're using the project generator, you could try adding both ofxCv and ofxOpenCv to the project and see what happens.

mayankchouhan1089 commented 11 years ago

Hi Kyle,

I am trying to compile ofxCv for iOS, and I have already added both Ofxcv and OpenCv to the project.

I have tried running the example apps also, but none of them works. Could you suggest me some way of getting it to work.

Thanks :)

mayankchouhan1089 commented 11 years ago

Hey Kyle,

I have got rid of all the compile time errors in iOS and that is pretty easy. I have got rid of all the conflicts and now So half of the problem is solved but when I try running it it throws 15 Linker Errors.

here is a snapshot for errors :

http://i45.tinypic.com/w89nxl.png

Let me know how can I get rid of the linker errors.

Thanks Mayank :)

kylemcdonald commented 11 years ago

hey mayank, it looks like those errors are specific to iOS and not related to ofxCv or opencv... so i'm not sure what's wrong. sorry :(

also, if you ever have compile errors and figure out a way to solve them, it's super helpful to people in the future if you could make a few notes about what you found broken, and how you fixed it. that way if someone else has the same problem they'll be able to figure it out too :)