Mac build fail with missing tif_config.h

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
pvn
Earned some good credits
Earned some good credits
Posts: 105
Joined: Mon Dec 26, 2016 5:21 am
Contact:

Mac build fail with missing tif_config.h

Post by pvn »

/wxWidgets-3.2.2.1/src/tiff/libtiff/tiffiop.h:31:10: fatal error: 'tif_config.h' file not found
#include <tif_config.h>
PB
Part Of The Furniture
Part Of The Furniture
Posts: 4204
Joined: Sun Jan 03, 2010 5:45 pm

Re: Mac build fail with missing tif_config.h

Post by PB »

Are you sure this is not caused by missing source code from modules just like the zip in your other thread?
pvn
Earned some good credits
Earned some good credits
Posts: 105
Joined: Mon Dec 26, 2016 5:21 am
Contact:

Re: Mac build fail with missing tif_config.h

Post by pvn »

Are you sure this is not caused by missing source code from modules just like the zip in your other thread?
Yes, the previous issue was my mistake.

'tif_config.h' is a file not included in the TIFF library , it is auto generated on the build configuration for each system
probably a bit of twisting in the cmake script would fix it, but TIFF is not needed for my project, so I turned it off

cmake ../../../ext/wxWidgets-3.2.2.1 -DwxBUILD_SHARED=OFF -DwxBUILD_SAMPLES=OFF \
-DwxUSE_LIBTIFF=OFF

This also happens in Linux btw
Post Reply