> I just realised I need to compile .dll files and I have no > idea how to do that with MSYS.
Why do you need dll files? What are you trying to do? In practice, there are only a few things that *need* to be done via DLL's, many other times it is simpy a choice, not a need...! Note that if you create DLL's based on C++ code you are heading for a world of pain and unhappiness. DLL's created from "plain" C are OK, as all C compilers (by definition) use the same mechanisms for embedding symbolic references into the object (i.e. the DLL) file, and so are more or less interchangeable. However, C++ compilers have unique and interesting ways of embedding symbolic information into DLL's, that is not compatible with the C convention, and pretty much every C++ compiler uses it's own internal representation... MS have changed ABI's a few times, and GCC has had at least 3 different C++ ABI's already. It's horrible. What this means is that DLL's based on plain C sources work interchangeably in practice, but DLL's based on C++ code only ever work with code built with the same compiler version that built the DLL, and are *not* interchangeable between compilers. Just Don't Go There. > The wizard (in code::blocks) > just ain't working for me... I even renamed Fl.H to Fl.h! Don't do that. Ever. Something must be asking for Fl.h - find out what and change that. > (it > was giving the error: Can't find Fl.h). And I can't compile > any programs with MSYS (probably because I don't know what > I'm doing) using something like "g++ mycppfile.cpp -I. > -l./fltk" (but I can using fltk-config --compile myfilename.cpp Nope - you need to list the libs to be linked, after the source files... I guess you are pretty new to all this, so you might want to read up on compilers and linkers and such. I'm sure google will fond you something... Once you get your head around that, I'm sure this will all make more sense. In the meantime, this HowTo might show you how to create a simple Makefile that will build your project for you. This approach works very well with Msys. http://www.fltk.org/articles.php?L599+I0+THow-To+P1+Qfltk-config 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

