Thread: sourceannotations.h error in face recognition

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    1

    sourceannotations.h error in face recognition

    i have been trying to compile this program but i am getting these header file errors . i don't know what wrong with em . i did troubleshooting but its still not working .
    i have attached the code ... please help me


    1>------ Build started: Project: OnlineFaceRec, Configuration: Debug Win32 ------
    1>Compiling...
    1>FaceRec.cpp
    1>c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19 ) : error C2144: syntax error : '__w64 unsigned int' should be preceded by ';'
    1>c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(19 ) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    1>e:\project work\onlinefacerec\onlinefacerec\onlinefacerec\fac erec.cpp(341) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
    1>Build log was saved at "file://e:\project work\onlineFaceRec\onlineFaceRec\onlineFaceRec\Deb ug\BuildLog.htm"
    1>OnlineFaceRec - 2 error(s), 1 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Attached Files Attached Files

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    This isn't really a forum where you can just show up with some random code you downloaded from the net, dump it and say "it doesn't work".

    Have you asked the various people, and visited the various places listed in the comments?
    For example, which compilers has this code been tested with?

    As for trouble shooting, show us what you did, rather than just saying you did some.

    For a start, you need to figure out the include files in the source code is actually responsible for attempting to include this file.

    c:\program files\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h
    Anything included from the compiler path usually means there is something missing from an include file immediately before, not something wrong with this .h file.

    Some later visual studios have a compiler command flag called something like /showincludes, to help figure out the nested hierarchy of #include.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error in sourceannotations.h
    By Brad0407 in forum C Programming
    Replies: 3
    Last Post: 03-01-2008, 06:11 PM
  2. Inter Face
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 02-27-2004, 11:58 PM
  3. Face recognition...
    By rahaydenuk in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-06-2003, 03:11 PM
  4. Why is this crashing on my face?
    By incognito in forum Windows Programming
    Replies: 7
    Last Post: 04-23-2003, 08:49 AM
  5. Face transplants
    By PJYelton in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 12-13-2002, 11:31 PM