[odb-users] odb: error: unable to locate options file for
profile 'qt' (-p)
Adnan RIHAN
axel50397 at gmail.com
Thu Oct 2 17:00:20 EDT 2014
[Corrected, mistake from my GPG plugin]
Hi Boris,
On 2 octobre 2014 at 14:42:42, Boris Kolpackov (boris at codesynthesis.com=
(mailto:boris at codesynthesis.com)) wrote:
> Run ODB with the -v option. This, besides other things, will print
> a list of profile search paths. One of these paths should be where
> you have installed your libodb-qt headers. Check that there is the
> qt.options file in this path.
OK then. Here is what I get:
odb -v --changelog apps/LGC/schemas/odb-changelog.xml -d sqlite -p qt -q -s --schema-name categories -o . Category.hpp
Profile search paths:
> /Users/Max13/Qt/5.3/clang=5F64/lib/QtCore.framework/Headers // Added in default.options
> /usr/local/Cellar/gcc/4.9.1/lib/gcc/x86=5F64-apple-darwin13.4.0/4.9.1/include/c++
> /usr/local/Cellar/gcc/4.9.1/lib/gcc/x86=5F64-apple-darwin13.4.0/4.9.1/include/c++/x86_64-apple-darwin13.4.0
> /usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.4.0/4.9.1/include/c++/backward
> /usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.4.0/4.9.1/include
> /usr/local/Cellar/gcc/4.9.1/lib/gcc/x86_64-apple-darwin13.4.0/4.9.1/include-fixed
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks
odb: error: unable to locate options file for profile 'qt'
OK... I don't even need to see that the libodb-qt path is missingO_O
> If it is not there, try re-installing
> libodb-qt (e.g., make install) and study the output to see if
> qt.options is installed and if so, where.
I'll try to figure out this. Actually, THIS output is from the compiled-from-source version of odb and it's libs, and the EXACT SAME compilation options don't output the same architecture on 10.9(Maverick) than 10.10 (Yosemite DP)... BTW, the pre-compiled version fails because of missing .h (but this would be another thread).
> I believe your source of problems is trying (and changing) too many things
> at once without ever trying to get to the bottom of why things don't work.
Yeah... Maybe... ^^'
The thing is that we've figured it out earlier, but I was on 10.10-DP, so I wanted to clear my system and reinstalled the last final release of OSX, and now it seems that (I don't know why and how) odb isn't looking in /usr/local/include (as it did on 10.10). Manually adding "-x -I/usr/local/include" solves this issue.
Thank you for pointing out my faults, I'll try to modify 1 thing at a time now ;)
But I'm still having my linking issue with "odb::access::object_traits_impl", I'll try minor changes this time.
--
Cordialement, Adnan RIHAN.
Directeur-Gérant de Eolis-Software, société de services informatiques.
GPG: 5675-62BA (https://keybase.io/max13/key.asc)
-> Si vous n'utilisez pas GPG mais souhaitez quand même m’envoyer un e-mail chiffré: (https://encrypt.to/0x567562BA).
More information about the odb-users
mailing list