Re: [Avogadro-devel] CMake Error building MoleQueue on OSX 10.9.5

2016-10-12 Thread Patrick Avery
FYI, this might not be directly related, but I've had issues with Anaconda
before when compiling as well.

The problem I was having was due to Anaconda prepending my $PATH. Anaconda
has Qt header files in the Anaconda directory, and when my program would
compile, it would sometimes include Qt header files from Anaconda instead
of where I actually installed Qt. I had to remove Anaconda from my $PATH to
fix it, but it was difficult to figure out at first because I was getting
errors in Qt header files...

Just something you might want to watch out for.

Patrick

On Wed, Oct 12, 2016 at 10:20 AM, Marcus D. Hanwell <
marcus.hanw...@kitware.com> wrote:

> On Tue, Oct 11, 2016 at 10:44 PM, Geoffrey Hutchison
>  wrote:
> > I've installed Qt (5.6.0) and Cmake (3.3.1) using anaconda, and followed
> the
> > instructions here:
> >
> >
> > That may be the problem. I've had trouble with anaconda (or homebrew)
> > versions of the Qt packages.
> >
> > I'd highly recommend Mac users go for the binary distribution:
> > http://download.qt.io/official_releases/online_
> installers/qt-unified-mac-x64-online.dmg
> >
> > It'll ask for an account, but skip that step - it's for commercial Qt
> > licenses.
> >
> > Then, before running cmake (i.e., /path/to/your/Qt/5.6 …)
> > export CMAKE_PREFIX_PATH=/Users/ghutchis/Qt/5.6/clang_64/lib/cmake
> >
> Never used Anaconda, good to know, I didn't know they packaged things
> like Qt. I have used homebrew quite successfully, but will look out
> for issues. With some of the recent updates you can continue using
> CMAKE_PREFIX_PATH, but Qt5 should only need Qt5_DIR to be defined.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Avogadro-devel mailing list
> Avogadro-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/avogadro-devel
>
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] CMake Error building MoleQueue on OSX 10.9.5

2016-10-12 Thread Marcus D. Hanwell
On Tue, Oct 11, 2016 at 10:44 PM, Geoffrey Hutchison
 wrote:
> I've installed Qt (5.6.0) and Cmake (3.3.1) using anaconda, and followed the
> instructions here:
>
>
> That may be the problem. I've had trouble with anaconda (or homebrew)
> versions of the Qt packages.
>
> I'd highly recommend Mac users go for the binary distribution:
> http://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg
>
> It'll ask for an account, but skip that step - it's for commercial Qt
> licenses.
>
> Then, before running cmake (i.e., /path/to/your/Qt/5.6 …)
> export CMAKE_PREFIX_PATH=/Users/ghutchis/Qt/5.6/clang_64/lib/cmake
>
Never used Anaconda, good to know, I didn't know they packaged things
like Qt. I have used homebrew quite successfully, but will look out
for issues. With some of the recent updates you can continue using
CMAKE_PREFIX_PATH, but Qt5 should only need Qt5_DIR to be defined.

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


Re: [Avogadro-devel] CMake Error building MoleQueue on OSX 10.9.5

2016-10-11 Thread Geoffrey Hutchison
> I've installed Qt (5.6.0) and Cmake (3.3.1) using anaconda, and followed the 
> instructions here:

That may be the problem. I've had trouble with anaconda (or homebrew) versions 
of the Qt packages.

I'd highly recommend Mac users go for the binary distribution:
http://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg
 


It'll ask for an account, but skip that step - it's for commercial Qt licenses.

Then, before running cmake (i.e., /path/to/your/Qt/5.6 …)
export CMAKE_PREFIX_PATH=/Users/ghutchis/Qt/5.6/clang_64/lib/cmake

Hope that helps,
-Geoff--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel