[odb-users] Toolchain issue with Qt 5.1.1 and odb
Danny Gale
danny.m.gale at gmail.com
Sun Nov 24 15:00:10 EST 2013
Hi,
Let me start by saying that odb seems to be the most extensive and easiest
to integrate ORM solution for C++. I'm excited to have these capabilities
without having to write SQL myself.
I'm trying to get odb integrated into my Qt Creator 2.8.1 (using Qt 5.1.1)
build chain. Qt Creator has found the headers (I followed the instructions
here: http://wiki.codesynthesis.com/Using_ODB_with_Qt_Creator_on_Linux) but
when make calls odb, I get:
odb --database sqlite --profile qt --generate-schema --generate-query
--generate-session -I/Users/galed/Qt5.1.1/5.1.1/clang_64/include
-I/Users/galed/Qt5.1.1/5.1.1/clang_64/include/ -I/usr/local/include/
../../daedal/PCB/pcblayer.h
make[1]: odb: No such file or directory
ODB was configured and make'd in /opt/odb-2.3.0-i686-macosx. My path is:
GALED:~ galed$ echo $PATH
/Applications/microchip/xc32/v1.00/bin:/Applications/microchip/xc32/v1.00/bin:/Users/galed/Documents/Programming/lib/xerces-c-3.1.1-x86-macosx-gcc-4.0:/opt/local/bin:/opt/local/sbin:/opt/local/lib:/opt/local/share:/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/usr/local/CrossPack-AVR/bin:/usr/local/bin:/usr/local/bin:/usr/local/bin:/opt/odb-2.3.0-i686-macosx/bin/
and
GALED:~ galed$ odb --version
ODB object-relational mapping (ORM) compiler for C++ 2.3.0
Copyright (c) 2009-2013 Code Synthesis Tools CC
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GALED:~ galed$ which odb
/opt/odb-2.3.0-i686-macosx/bin//odb
Why is Qt Creator (or, more specifically, make as called from Qt Creator)
not finding the odb executable? What is the soluction to this?
Thanks for your help. Looking forward to using odb to extend my Qt
applications,
Danny Gale
danny.m.gale at gmail.com
More information about the odb-users
mailing list