diff --git a/configure.ac b/configure.ac index 6174b6263..2a8d616dd 100644 --- a/configure.ac +++ b/configure.ac @@ -1120,7 +1120,7 @@ else XI_LIB_PREF="lib" XIMEA_CFLAGS="-I$XIAPI_PATH/../include" else - if test -n "$GENICAM_GENTL64_PATH"; then + if test -d "$GENICAM_GENTL64_PATH/../../API/xiAPI"; then # the env var contains actually something like "C:\XIMEA\GenTL Producer\64bit" XIAPI_PATH=$(realpath "$GENICAM_GENTL64_PATH/../../API/xiAPI") else diff --git a/src/utils/video_frame_pool.cpp b/src/utils/video_frame_pool.cpp index 0930e3f9a..ef1a74906 100644 --- a/src/utils/video_frame_pool.cpp +++ b/src/utils/video_frame_pool.cpp @@ -35,6 +35,12 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif // defined HAVE_CONFIG_H +#include "config_unix.h" +#include "config_win32.h" + #include #include #include