stray '@' in program

This is a discussion on stray '@' in program within the C++ Programming forums, part of the General Programming Boards category; 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: ...

  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,893
    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 \357 in program' mean?
    By Phanixis in forum Linux Programming
    Replies: 8
    Last Post: 12-04-2010, 12: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, 12: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, 01:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21