Poll #1

  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Show All Polls | Show Comments | Submit Comment ]

Poll #1

What should be the default Cygwin mode for FLTK?
Use Cygwin DLL 142 / 25%
Don't Use Cygwin DLL 415 / 74%
0 0 / 0%
0 0 / 0%
0 0 / 0%
0 0 / 0%
0 0 / 0%
0 0 / 0%
0 0 / 0%
0 1 / 0%
558 total votes.

User Comments

Submit Comment ]

From Anonymous, 04:29 Jan 14, 2005 (score=2)

FLTK in itself needs to avoid using dlls or anything dynamically linked, that is not already on the system. That is one of the biggest reasons I use it beacuse of static linking.
Reply ]

From Anonymous, 19:19 Sep 25, 2004 (score=2)

I prefer building windows apps from Linux and testing them under wine.  With that in mind, there is support in the configuration scripts of wxWindows for cross compiling using the cross tools of the gnu compilers.

I've made several attempts to build fltk using them, but I've had to go through and alter the makeincludes  file because reagardless of what options I use and symbols I define, X11 code and libraries are included in the compiling and linking stages.

The library builds fine, but when trying to link with the windows libraries in /opt/cross-tools/lib etc. I get several errors regarding undefined calls to windows api calls.

I believe the problem is in the windows port as I've had trouble with this before using standard Windows api calls; the problem is in parameter mismatching etc.

Many windows compilers will allow you to use HANDLE and HWND, HDC etc. interchangeably, but more strict compilers and particularly c++ compilers will generate many errors when linking since the handle type declarations aren't simply pointers to a void type in the headers distributed with many compilers.

If anyone has had luck compiling with the cross tools, I wouldn't mind  suggestions.
Reply ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2015 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.