CuteCash build errors -no rule to make target... iso-currencies-to-c.in

Mark Murray mamurray at optusnet.com.au
Mon Apr 20 00:54:19 EDT 2015


Hi,

I am trying to build cuteCash, but get the following make errors:

make[2]: *** No rule to make target
`../src/engine/iso-currencies-to-c.in', needed by
`src/engine/iso-4217-currencies.c'.  Stop.
make[1]: *** [src/engine/CMakeFiles/engine.dir/all] Error 2
make: *** [all] Error 2

CMakeList.txt for src/engine has the following

# Command to generate the iso-4217-currencies.c file
SET (ISO_4217_C ${CMAKE_CURRENT_BINARY_DIR}/iso-4217-currencies.c)
ADD_CUSTOM_COMMAND (
  OUTPUT ${ISO_4217_C}
  DEPENDS iso-4217-currencies.scm iso-currencies-to-c.in
  COMMAND
    ${GUILE_EXECUTABLE} -s
"${CMAKE_CURRENT_SOURCE_DIR}/iso-currencies-to-c.in"
"${CMAKE_CURRENT_SOURCE_DIR}"
)
# Add dependency on iso-4217-currencies.c
SET_SOURCE_FILES_PROPERTIES (gnc-commodity.c PROPERTIES OBJECT_DEPENDS
${ISO_4217_C})

However, the only currency files in the directory are:
iso-4217-currencies.xml, and
iso-currencies-to-c.xsl

I'm new to CMake, so would appreciate any guidance to solve this
problem.
I'm working on a Linux box (Linux Mint 17).
git pull is up-to-date.

Thanks
Mark



More information about the gnucash-devel mailing list