build process - following instructions as documented in ./docs/osx/install.md
tomsk@tomskem1 Desktop % cd wxWidgets
tomsk@tomskem1 wxWidgets % mkdir build-cocoa-debug
tomsk@tomskem1 wxWidgets % cd build-cocoa-debug
tomsk@tomskem1 build-cocoa-debug % ../configure --enable-debug
...
.... config messages)
...
tomsk@tomskem1 build-cocoa-debug % make
config.log: (not the problem)
config.log
build fails during make : fatal error **'tiff.h' file not found**
output from make:
/Users/tomsk/Desktop/wxWidgets/build-cocoa-debug/bk-deps g++ -std=gnu++11 -mmacosx-version-min=10.10 -c -o coredll_imagtiff.o -I../src/jpeg -I../src/png -I/Users/tomsk/Desktop/wxWidgets/build-cocoa-debug/lib/wx/include/osx_cocoa-unicode-3.3 -I../include -D_FILE_OFFSET_BITS=64 -D__WXOSX_COCOA__ -DWXBUILDING -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -g -O0 -I/opt/homebrew/Cellar/pcre2/10.42/include -fno-common -fvisibility=hidden -fvisibility-inlines-hidden ../src/common/imagtiff.cpp
**../src/common/imagtiff.cpp:37:14:** **fatal error:** **'tiff.h' file not found**
#include "tiff.h"
**^~~~~~~~**
1 error generated.
missing tiff.h file is in tiff/libtiff/tiff.h
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@ext2txe ,
How exactly did you clone the repo?
Please check the https://wxwidgets.org/develop/code-repository/ on how to properly fix your issue.
Thx.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
There is indeed a problem when using system libtiff, for now you should be able to fix the problem by rerunning configure with --with-libtiff=builtin
option, but I'll fix this a bit later, thanks for reporting.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
@oneeyeman1 Please stop posting wrong information, this has nothing to do with the submodules.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
In fact, fixing this is even simpler than I thought (it's a literally 4 character fix), so I've done it in the associated PR and you should be able to patch your configure to fix the problem by doing just this:
diff --git a/configure b/configure
index a6bf7fe6ba..4e0fcd183e 100755
--- a/configure
+++ b/configure
@@ -25977,7 +25977,7 @@ else
$as_echo "yes" >&6; }
TIFF_LINK=$LIBTIFF_LIBS
- CFLAGS="$LIBTIFF_CFLAGS $CFLAGS"
+ CXXFLAGS="$LIBTIFF_CFLAGS $CXXFLAGS"
fi
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Closed #23702 as completed via 340320d.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.