<div dir="ltr">Hello Anna<div><br></div><div>I managed to fixed by compiling using homebrew libraries. The trick was to set --with-opengl=aqua, so it uses the opengl librarie from the system. Using --with-opengl=x11 results in the black screen.</div><div><br></div><div>Carlos</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 22, 2017 at 10:48 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Carlos,<br>
<br>
I couldn't get 3D view working with homebrew either. The error you see<br>
seems to happen when you click and drag in the window, so the actual<br>
problem happens before, because it never loads. Interestingly, when I<br>
compiled GRASS myself (using the homebrew libraries), the 3D worked.<br>
Unfortunately I have no idea what's wrong.<br>
<br>
Anna<br>
<div><div class="h5"><br>
On Wed, Nov 22, 2017 at 5:11 PM, Carlos Grohmann<br>
<<a href="mailto:carlos.grohmann@gmail.com">carlos.grohmann@gmail.com</a>> wrote:<br>
> Hi all<br>
><br>
> I'm running 7.2.2 on MacOS Sierra, installed via homebrew. Trying to display<br>
> anything in 3D results only in a black screen. Checking the console I get<br>
> these error messages:<br>
><br>
> Traceback (most recent call last):<br>
>   File "/usr/local/Cellar/grass7/7.2.<wbr>2/grass-7.2.2/gui/wxpyt<br>
> hon/nviz/mapwindow.py", line 628, in OnMouseAction<br>
><br>
> self.OnDragging(event)<br>
>   File "/usr/local/Cellar/grass7/7.2.<wbr>2/grass-7.2.2/gui/wxpyt<br>
> hon/nviz/mapwindow.py", line 722, in OnDragging<br>
><br>
> angle, x, y, z = self._display.<wbr>GetRotationParameters(dx, dy)<br>
>   File "/usr/local/Cellar/grass7/7.2.<wbr>2/grass-7.2.2/gui/wxpyt<br>
> hon/nviz/wxnviz.py", line 1975, in GetRotationParameters<br>
><br>
> inv = matrix(m).I<br>
>   File "/usr/local/lib/python2.7/<wbr>site-<br>
> packages/numpy/matrixlib/<wbr>defmatrix.py", line 972, in getI<br>
><br>
> return asmatrix(func(self))<br>
>   File "/usr/local/lib/python2.7/<wbr>site-<br>
> packages/numpy/linalg/linalg.<wbr>py", line 526, in inv<br>
><br>
> ainv = _umath_linalg.inv(a, signature=signature,<br>
> extobj=extobj)<br>
>   File "/usr/local/lib/python2.7/<wbr>site-<br>
> packages/numpy/linalg/linalg.<wbr>py", line 90, in<br>
> _raise_linalgerror_singular<br>
><br>
> raise LinAlgError("Singular matrix")<br>
> numpy.linalg.linalg<br>
> .<br>
> LinAlgError<br>
> :<br>
> Singular matrix<br>
><br>
><br>
> thanks<br>
><br>
> Carlos<br>
><br>
><br>
><br>
><br>
> --<br>
> Prof. Carlos Henrique Grohmann<br>
> Institute of Energy and Environment - Univ. of São Paulo, Brazil<br>
> - Digital Terrain Analysis | GIS | Remote Sensing -<br>
><br>
> <a href="http://carlosgrohmann.com" rel="noreferrer" target="_blank">http://carlosgrohmann.com</a><br>
> <a href="http://orcid.org/0000-0001-5073-5572" rel="noreferrer" target="_blank">http://orcid.org/0000-0001-<wbr>5073-5572</a><br>
> ________________<br>
> Can’t stop the signal.<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/grass-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Prof. Carlos Henrique Grohmann<br>Institute of Energy and Environment - Univ. of São Paulo, Brazil<div>- Digital Terrain Analysis | GIS | Remote Sensing - </div><div><br></div><div><a href="http://carlosgrohmann.com/" target="_blank">http://carlosgrohmann.com</a></div><div><a href="http://orcid.org/0000-0001-5073-5572" style="font-size:13px;color:rgb(17,85,204);font-family:arial,sans-serif;background-color:rgb(255,255,255)" target="_blank">http://orcid.org/0000-0001-5073-5572</a><br><div>________________<br>Can’t stop the signal.</div></div></div></div>
</div>