On 18.10.2010, at 11:02, Stewart wrote:

>>> I'm using windows xp and trying to compile with=20
>>> gcc (my ide is code::blocks). When I compilied the library, I=20
>>> actually used MSYS, but am about to try with Visual Studio in=20
>>> case there is something wrong with using MSYS....
>>
>> There's nothing wrong with Msys. I use it all the time. Perhaps this
>> how-to would help?
>>
>> http://www.fltk.org/articles.php?L598
>>
>> http://www.fltk.org/articles.php?L599=20
> ----------------------------------------------------------------
> Thanks so much for the help! I just tried what the second link you gave me 
> said, and my program compiled! I would be all cheery, and this is great, I 
> can finally start coding, BUT I still can't get Code::Blocks to build my 
> projects (which would save me a LOT of time, instead of using MSYS).

It's good that it works for you now. But please note that it is usually
not possible to mix different C++ compilers to build the lib and your
app. (project), because of different name mangling in C++. Although
MinGW/MSYS also uses gcc, I recommend to compile the FLTK libs and
your app with exactly the same compiler versions and build tools -
otherwise you might get subtle bugs that are difficult to find (if
you can link the app at all).

But maybe Code::Blocks uses an installed MinGW gcc/g++ compiler
anyway ?

> Where is my link line, and how can I put my lib before my project?

Sorry, I can't help you with this, but I saw someone else just
answered this question.

Albrecht
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to