I’m trying to compile Avogadro on Mac OS 10.6 and have so far succeeded in
generating an executable which can launch without crashing using gcc-4.2.1
and forcing 32 bit compilation with the appropriate C_FLAGS, CXX_FLAGS set
to “-m32”. This works - so far so good.
Although the “recommended” way of compiling Avogadro is the "superpackage"
way, I’ve never gotten around successfully compiling it using that method.
Instead, the traditional linux approach with compiling (and installing) the
followed by Avogadro (latest git snapshot) has shown to be the most
successful so far. My problem, and question is thus, that with the following
flags for cmake
-DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32 …
followed by make and ultimately “sudo make install”, the openbabel files,
which are supposed to be located in:
are not copied over to the Avogadro.app folder as intended. Instead, I can
make symbolic links or copy the files manually but I think this defeats the
purpose of cmake’s job. Unfortunately, my skills in cmake are horrible so I
have no clue where to look. Any pointers or a fix would be