Hi,
I am building litesql from cmake and I found this issue :
[ 89%] Building CXX object src/examples/CMakeFiles/example.dir/example.cpp.o
/home/will/Documents/litesql/src/litesql-src-0.3.17/src/examples/example.cpp:4:31: fatal error: exampledatabase.hpp: No such file or directory
#include "exampledatabase.hpp"
^
compilation terminated.
ExampleDatabase.hpp looks to be the correct filename.
I have this error with Arch linux x64, cygwin x64 is able to build
Anonymous
fixed with 0.3.17
no, i'm using 0.3.17 and I still have the problem..
Did you compile your code before share it?
grep -R "exampledatabase.hpp" src/examples/
src/examples/Makefile.in:example_SOURCES = example.cpp exampledatabase.cpp exampledatabase.hpp
src/examples/Makefile.in:$(srcdir)/exampledatabase.hpp: $(srcdir)/exampledatabase.xml
src/examples/example.cpp:#include "exampledatabase.hpp"
src/examples/Makefile.am:example_SOURCES=example.cpp exampledatabase.cpp exampledatabase.hpp
src/examples/Makefile.am:$(srcdir)/exampledatabase.hpp: $(srcdir)/exampledatabase.xml
src/examples/Makefile:example_SOURCES = example.cpp exampledatabase.cpp exampledatabase.hpp
src/examples/Makefile:$(srcdir)/exampledatabase.hpp: $(srcdir)/exampledatabase.xml
src/examples/CMakeLists.txt:set(example_SOURCES example.cpp exampledatabase.cpp exampledatabase.hpp exampledatabase.xml auth.xml exampledatabase.dot)
src/examples/CMakeLists.txt: OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/exampledatabase.cpp ${CMAKE_CURRENT_SOURCE_DIR}/exampledatabase.hpp
now I'm gonna fix manually and see if works, finally.
By the way it will be nice have a documentation for installation, prerequisites and usage.