CMake failure with LIB_OFX OFF
Sumit Bhardwaj
bhardwajs at gmail.com
Sat Sep 2 03:22:31 EDT 2017
After pulling the latest master, I was able to make and make check using
autotools. However, cmake failed.
With the command:
>cmake -D WITH_AQBANKING=OFF -D WITH_OFX=OFF -G Ninja ../gnucash/ && ninja
check && ninja install
The error at the end is:
FAILED:
gnucash/import-export/ofx/test/CMakeFiles/test-link-ofx.dir/test-link.c.o
/usr/bin/cc -DHAVE_CONFIG_H -DHAVE_GUILE20 -Werror
-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wno-unused
-Wno-deprecated-declarations -std=gnu11 -MD -MT
gnucash/import-export/ofx/test/CMakeFiles/test-link-ofx.dir/test-link.c.o
-MF
gnucash/import-export/ofx/test/CMakeFiles/test-link-ofx.dir/test-link.c.o.d
-o
gnucash/import-export/ofx/test/CMakeFiles/test-link-ofx.dir/test-link.c.o
-c
/home/bhardwajs/ac/devel/gnucash/gnucash/import-export/ofx/test/test-link.c
/home/bhardwajs/ac/devel/gnucash/gnucash/import-export/ofx/test/test-link.c:21:10:
fatal error: libofx/libofx.h: No such file or directory
#include <libofx/libofx.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
[745/1002] Building CXX object
gnucash/import-export/csv-imp/CMakeFiles/gncmod-csv-import.dir/gnc-tx-import.cpp.o
ninja: build stopped: subcommand failed.
Environment: Fedora 26
Thanks,
Sumit
More information about the gnucash-devel
mailing list