Re: [Avogadro-devel] Building Avogadro on OpenBSD

2011-09-20 Thread Marcus D. Hanwell
On Tue, Sep 20, 2011 at 10:43 AM, David Lonie lonieda...@gmail.com wrote:
 Hi Anthony,

 Run make VERBOSE=1, and look at the gcc/g++ commands that are being
 executed to see what include dirs (-I/include/path) are being
 searched.

 HTH,
 Dave

 On Sun, Sep 18, 2011 at 12:54 PM, Anthony J. Bentley
 anthonyjbent...@gmail.com wrote:
 Hi,

 I am attempting to build Avogadro on OpenBSD 5.0. During the compile,
 I get this error:

 In file included from /usr/local/include/X11/qt4/QtOpenGL/QGLWidget:1,
                 from
 /usr/ports/pobj/avogadro-1.0.3/avogadro-1.0.3/libavogadro/src/glwidget.h:35,
                 from
 /usr/ports/pobj/avogadro-1.0.3/avogadro-1.0.3/libavogadro/src/camera.cpp:26:
 /usr/local/include/X11/qt4/QtOpenGL/qgl.h:77:20: error: GL/gl.h: No
 such file or directory
 /usr/local/include/X11/qt4/QtOpenGL/qgl.h:79:23: error: GL/glu.h: No
 such file or directory

 It looks like it is not finding the GL headers, which are located at
 /usr/X11R6/include/GL/gl.h and /usr/X11R6/include/GL/glu.h.

I suspect we missed a call to include_directories somewhere, I will take a look.

Marcus

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel


[Avogadro-devel] Building Avogadro on OpenBSD

2011-09-18 Thread Anthony J. Bentley
Hi,

I am attempting to build Avogadro on OpenBSD 5.0. During the compile,
I get this error:

In file included from /usr/local/include/X11/qt4/QtOpenGL/QGLWidget:1,
 from
/usr/ports/pobj/avogadro-1.0.3/avogadro-1.0.3/libavogadro/src/glwidget.h:35,
 from
/usr/ports/pobj/avogadro-1.0.3/avogadro-1.0.3/libavogadro/src/camera.cpp:26:
/usr/local/include/X11/qt4/QtOpenGL/qgl.h:77:20: error: GL/gl.h: No
such file or directory
/usr/local/include/X11/qt4/QtOpenGL/qgl.h:79:23: error: GL/glu.h: No
such file or directory

It looks like it is not finding the GL headers, which are located at
/usr/X11R6/include/GL/gl.h and /usr/X11R6/include/GL/glu.h.

How can I tell the build to look in the right directory for these headers?

--
Thanks,
Anthony J. Bentley

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Avogadro-devel mailing list
Avogadro-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-devel