Thread: stray '@' in program

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    1

    stray '@' in program

    Dear all,

    am compling openCV 2.1.0 on my macbook with OS 10.4.11.
    I have the following compiling error:
    /Users/admin/src/OpenCV-2.1.0/src/highgui/window_cocoa.mm:57: error: stray '@' in program


    Does any one know from where it comes?

    Thx for any help
    cheers
    Hilbert16

  2. #2
    Registered User Swarvy's Avatar
    Join Date
    Apr 2008
    Location
    United Kingdom
    Posts
    195
    Bearing in mind it gives you the location of the file and a line number, have you thought about trying to open the file and seeing what is happening inside? If I were you, that would be my first move.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    What compiler? How do you compile it? Do you know if OpenCV 2.1 is Tiger-compatible?

    Look what I found in the README:

    Known problems:
    ===============

    * On MacOSX 10.5 and earlier Cocoa and QTKit bindings do not compile and/or do not work, so it is recommended to pass WITH_CARBON=ON and WITH_QUICKTIME=ON to CMake.
    So either upgrade to 10.6 or pass the flags they mentioned.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What does: 'error: stray ‘o357’ in program' mean?
    By Phanixis in forum Linux Programming
    Replies: 8
    Last Post: 12-04-2010, 01:48 AM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM