List Info

Thread: Error while building app that #includes "lcms.h" on Windows




Error while building app that #includes "lcms.h" on Windows
country flaguser name
United States
2007-04-16 20:29:57
My Google Summer of Code student is trying to get LProf to
build on his 
Windows workstation.  He was able to get LCMS to build but
when he tries to 
build LProf the compiler goes nuts on the lcms header file. 
The errors start 
out like this:

........lcms-1.16includelcms.h(239) : error C2146:
syntax error : 
missing ';' before identifier 'LCMSHANDLE'
........lcms-1.16includelcms.h(239) : error C4430:
missing type 
specifier - int assumed. Note: C++ does not support
default-int
........lcms-1.16includelcms.h(239) : error C4430:
missing type 
specifier - int assumed. Note: C++ does not support
default-int
........lcms-1.16includelcms.h(439) : error C2146:
syntax error : 
missing ';' before identifier 'cmsHPROFILE'
........lcms-1.16includelcms.h(439) : error C4430:
missing type 
specifier - int assumed. Note: C++ does not support
default-int
........lcms-1.16includelcms.h(439) : error C2378:
'LCMSHANDLE' : 
redefinition; symbol cannot be overloaded with a typedef
        ........lcms-1.16includelcms.h(239) : see
declaration 
of 'LCMSHANDLE'

With many more just like the above.

I am fairly sure that this is related to something that is
not corrected 
defined and is causing the preprocessor to do the wrong
things.  But I don't 
do much with Windows and I am also only able to exchange
emails with the GSoC 
student and I need to get some clues about what exactly to
look for.

He is using VS 2005 Express on Windows Vista.  Anyone seen
this before or have 
any ideas about what is needed to correct the problem?

Hal

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Lcms-user mailing list
Lcms-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )