[Paraview-developers] Build ParaView 4.0 on Mac 10.6, OPENGL_INCLUDE_DIR not found

Sunrise helios.corona at gmail.com
Mon Oct 14 11:47:56 EDT 2013


You are right Utkarsh. It appears that this is a common Qt bug in mac
32bit in virtual machines.

On 10/06/2013 09:05 AM, Utkarsh Ayachit wrote:
> Try running the tool it's pointing to manually.
> /Developer/Tools/Qt/moc. Does it work? Looks like your Qt installation
> is possibly messed up.
>
> On Fri, Oct 4, 2013 at 7:01 PM, Sunrise <helios.corona at gmail.com> wrote:
>> Thanks Utkarsh. I am trying PV 3.98 now, and set the OpenGL, GLUT and Cocoa
>> framework from C-flags directly. It seems I do not get the previous error.
>> However the build process terminates by the following error:
>>
>> [ 17%] Generating moc_Q4VTKWidgetPlugin.cxx
>> /bin/sh: /Developer/Tools/Qt/moc: Bad CPU type in executable
>> make[2]: *** [VTK/GUISupport/Qt/moc_Q4VTKWidgetPlugin.cxx] Error 126
>> make[1]: *** [VTK/GUISupport/Qt/CMakeFiles/QVTKWidgetPlugin.dir/all] Error 2
>>
>> I am running Mac on VirtualBox hosted on Linux. Can you please let me know
>> how can I fix this?
>>
>>
>> On 10/04/2013 02:12 PM, Utkarsh Ayachit wrote:
>>
>> ParaView 4.0 and later doesn't support building on Snow Leopard,
>> unfortunately. You can build on Lion while targetting Snow Leopard,
>> however.
>>
>> Utkarsh
>>
>> On Fri, Oct 4, 2013 at 4:18 PM, Sunrise <helios.corona at gmail.com> wrote:
>>
>> I am trying to build ParaView 4.0 on Mac Snow Leopard (10.6). First, I have
>> installed Xcode 3.1.4 (that is the latest compatible version with Snow
>> Leopard), also Qt 4.8 and Mesa SDK.
>>
>> I have problem with choosing the right path for OpenGL. Cmake can not
>> recognize OPENGL_INCLUDE_DIR. I found the following directories that contain
>> gl.h and tried each of them to set OPENGL_INCLUDE_DIR with:
>>
>> /Xcode3.1.4/SDKs/macOSX10.5.sdk/System/Library/Frameworks/OpenGL.Frameworks/Versions/A/Headers/gl.h
>> /Xcode3.1.4/SDKs/macOSX10.5.sdk/usr/X11/include/GL/gl.h
>>
>> Also I tried
>> /System/Library/Frameworks/OpenGL.Frameworks/
>> although this directory misses the "Headers" folder and I do not know why.
>> My guess is that OpenGL/gl.h should be here when I install Xcode.
>>
>> However, the build process returns the following:
>> vtkOpenGL:24:27: error: OpenGL/gl.h no such file or directory. Can anyone
>> help me to set OpenGL correctly please?
>>
>> Thanks.
>>
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>>



More information about the Paraview-developers mailing list