[odb-users] "unable to extract profile paths"
Adnan RIHAN
adnan at rihan.fr
Sun Sep 14 13:28:56 EDT 2014
Le 14 septembre 2014 à 19:14:38, Boris Kolpackov (boris at codesynthesis.com) a écrit:
Can you tell me what
was the version of MacOS before you upgraded (and where ODB worked
fine)?
I was on 10.9 (Mavericks), with Xcode 5 I think. It worked well without doing anything special.
'g++' that ships with XCode is actually Clang. This won't work with
ODB.
Yea right...
So the two options are:
1. Wait for me to figure out and hopefully fix the pre-built
package. I won't be able to look into this until the end
of the week (I am currently travelling from CppCon).
It won’t hurt if you look into it ;)
2. Build GCC and ODB from source yourself.
http://www.codesynthesis.com/pipermail/odb-users/2014-September/002055.html
Just to expand on building from source, make sure you are using
GCC 4.8.X and not 4.9.X
First, download and build GCC (we install it to /opt/gcc-4.8.3):
./configure --prefix=/opt/gcc-4.8.3 --enable-plugin
make
sudo make install
At this point check that the GCC compiler is functional by
trying to compile a test program:
/opt/gcc-4.8.3/bin/g++ -c hello.cpp
Then download and build the ODB compiler:
./configure CXX=/opt/gcc-4.8.3/bin/g++
make
sudo make install
I will try it and keep you updated.
--
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