#36 fatal error: exampledatabase.hpp: No such file or directory

v0.3.17
closed
nobody
None
1
2014-07-24
2014-05-14
No

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

Discussion

  • Gulliver

    Gulliver - 2014-06-05
    • status: open --> closed
     
  • Gulliver

    Gulliver - 2014-06-05

    fixed with 0.3.17

     
  • Anonymous - 2014-07-24

    no, i'm using 0.3.17 and I still have the problem..

     
  • Anonymous - 2014-07-24

    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.

     


Anonymous

Cancel  Add attachments