On Tue, May 17, 2016 at 08:43:35PM -0400, Partha Bagchi wrote:
Tried compiling on the Mac. Get the following error:
make[2]: *** No rule to make target `src/inkscape-version.cpp', needed by
`src/CMakeFiles/inkscape_base.dir/inkscape-version.cpp.o'. Stop. make[1]: *** [src/CMakeFiles/inkscape_base.dir/all] Error 2 make: *** [all] Error 2
My command line invocation:
CXX="g++ -stdlib=libc++ " cmake -DCMAKE_CXX_FLAGS="-std=c++11
-Wno-error=c++11-narrowing -Wc++11-extensions -O3 -ffast-math -ftree-vectorize -mmacosx-version-min=10.8" -DCMAKE_EXE_LINKER_FLAGS="-headerpad_max_install_names" -DCMAKE_INSTALL_PREFIX=./Release -DWITH_GTK3_EXPERIMENTAL=YES -DCMAKE_BUILD_TYPE=Release ..
inkscape-version.cpp is a generated file, see CMakeScripts/inkscape-version.cmake. If you're doing an out of tree build it will be present in your build directory rather than your source directory. Hope that helps you figure out the source of the problem.
Bryce