Web lists-archives.com

Re: [Mingw-users] Mingw64 & include directory?




> From: Domonic Tom <AbDomTom@xxxxxxxxxxx>
> Date: Fri, 17 Jun 2016 09:51:00 +0000
> 
> I have installed Mingw64 on my PC. Recently I found a problem.

This list is not for MinGW64 distribution.

> I built a gui toolkit called Fast Light Tool Kit (FLTK) and my build environment directories (using MSYS) was
> structured as:
> 
> c:/minw/include & c:/mingw/lib
> 
> The problem started when I included the math.h file in my project #include <math.h>
> 
> FLTK contains a math.h file which refers to usr/include/math.h which then directs my compiler to find the
> math.h file in the designated include directory c:/mingw/include... But this is not what happens.
> 
> My math.h c++ header is actually located in the lib directory?? 
> 
> C:\mingw\lib\gcc\x86_64-w64-mingw32\5.1.0\include\c++\tr1
> 
> Because of this, the compiler cannot find the file it is being directed to via the FLTK math.h file. 

Are you compiling with the C++ compiler?  Only the C++ compiler (g++)
will look into that directory for header files.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe