CMake failure with LIB_OFX OFF

Sumit Bhardwaj bhardwajs at gmail.com
Sat Sep 2 17:36:06 EDT 2017


You meant second. Right? :)

https://github.com/Gnucash/gnucash/pull/181

Thanks,
Sumit

On Sat, Sep 2, 2017 at 6:46 AM, John Ralls <jralls at ceridwen.us> wrote:

>
>
> > On Sep 2, 2017, at 12:22 AM, Sumit Bhardwaj <bhardwajs at gmail.com> wrote:
> >
> > 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
>
>
> Looks like an opportunity for your first PR! Obviously if WITH_OFX is off
> import-export/ofx shouldn’t build.
>
> Regards,
> John Ralls
>
>


More information about the gnucash-devel mailing list