> Fltk 1.1.10 is successfully installed on my new workstation. > It's running Windows XP Pro X64 (dictated by my employer).
Still - that set up ought to work just fine. > Used Visual C++ 2008 Express to compile and link. The FLTK > demos compiled and ran fine. Used the dsw file in the > FLTK/visualc folder to compile them. Was also able to port a > small OpenGL/Glut app from my old system to the new one. It > compiled and ran fine. OK - all good so far. > But I can't get a larger OpenGL/FLTK > app to compile. The compiler couldn't find config.h. Ah! Why is your code looking for config.h? It is really meant only to be used internally by fltk, to tailor itself to each specific platform. But it is not generally intended that it would be used by other code... > There isn't one in the FL folder. No, there should not be - it is not meant to be "public". > But there are lots of them in > other folders. I tried copying the one in the visualc folder > to the FL folder. Hmmm, uneasy about that... Actually, the "deault" place for "config.h", if built with a full configure script, is actually in the top fltk folder (next to the configh.in file!), so if you *have* to put it anywhere, that would be the "right" place. But you really ought not be using it at all. Whay *are* you using it, BTW? > Didn't help. Get 219 compile errors with or > without the config.h file. Lots of the errors emanate from > windef.h. Some examples are: > > windef.h(157) : error C2143: syntax error : missing ';' before '*' > windef.h(157) : error C4430: missing type specifier - int > assumed. .... > windef.h(157) : error C2365: 'FLOAT' : redefinition; previous > definition was 'enumerator' That looks very much like a missing header file - what was the first thing it complained about? > These seem like very fundamental problems. Indeed so. > Why would FLTK > 1.1.10 compile, my small app (without FLTK) compile, but not > my app which uses FLTK? Why do these fundamental problems > only show up when I try to compile a FLTK app? Thanks. Something is hosed in your installation. We need to figure out what. Others are using 1.1.10 succesfuly in the same set up as you, so rest assured we can make it work, we just need to figure out what's mangled here... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

