<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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:<br>
<br>
<font face="Courier New, Courier, monospace">[ 17%] Generating
moc_Q4VTKWidgetPlugin.cxx<br>
/bin/sh: /Developer/Tools/Qt/moc: Bad CPU type in executable<br>
make[2]: *** [VTK/GUISupport/Qt/moc_Q4VTKWidgetPlugin.cxx] Error
126<br>
make[1]: ***
[VTK/GUISupport/Qt/CMakeFiles/QVTKWidgetPlugin.dir/all] Error 2</font><br>
<br>
I am running Mac on VirtualBox hosted on Linux. Can you please let
me know how can I fix this?<br>
<br>
On 10/04/2013 02:12 PM, Utkarsh Ayachit wrote:<br>
</div>
<blockquote
cite="mid:CADHSJjAfEGhvYj5=5PZfg4xP68Q+ECs4g=T0hpSAdBLeCuZg9w@mail.gmail.com"
type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:helios.corona@gmail.com"><helios.corona@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview-developers">http://public.kitware.com/mailman/listinfo/paraview-developers</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>