<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 37: 2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</title><link href="https://sourceforge.net/p/mathgl/bugs/37/" rel="alternate"/><link href="https://sourceforge.net/p/mathgl/bugs/37/feed.atom" rel="self"/><id>https://sourceforge.net/p/mathgl/bugs/37/</id><updated>2017-10-20T18:31:42.738000Z</updated><subtitle>Recent changes to 37: 2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</subtitle><entry><title>#37 2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</title><link href="https://sourceforge.net/p/mathgl/bugs/37/?limit=25#22ce" rel="alternate"/><published>2017-10-20T18:31:42.738000Z</published><updated>2017-10-20T18:31:42.738000Z</updated><author><name>Jouni Kosonen</name><uri>https://sourceforge.net/u/jkosonen/</uri></author><id>https://sourceforge.netdb07345323033d1f46f9f438a639cfd87ce8a6a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Same on Linux. It looks like the name of the mutex is missing from the non-omp branch.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</title><link href="https://sourceforge.net/p/mathgl/bugs/37/" rel="alternate"/><published>2017-08-14T12:39:54.581000Z</published><updated>2017-08-14T12:39:54.581000Z</updated><author><name>ilovezfs</name><uri>https://sourceforge.net/u/ilovezfs/</uri></author><id>https://sourceforge.net2074278f37efe8fedf6552d0f4d69236d58deb84</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Full log &lt;a href="https://gist.github.com/ilovezfs/b7e6ecb47c73dba5337bc3c88fb85a28" rel="nofollow"&gt;https://gist.github.com/ilovezfs/b7e6ecb47c73dba5337bc3c88fb85a28&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On OS X I'm getting the following build failure:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mathgl/2.4.1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DHAVE_CLOCK_GETTIME:INTERNAL=0 -Denable-glut=ON -Denable-gsl=ON -Denable-jpeg=ON -Denable-pdf=ON -Denable-python=OFF -Denable-octave=OFF -Denable-openmp=OFF -Denable-pthread=ON -DGLUT_glut_LIBRARY=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/GLUT.framework ..
&lt;/pre&gt;&lt;/div&gt;


&lt;div class="codehilite"&gt;&lt;pre&gt;[  5%] Building CXX object src/CMakeFiles/mgl-static.dir/canvas.cpp.o
cd /tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/brewery/src &amp;amp;&amp;amp; /usr/local/Homebrew/Library/Homebrew/shims/super/clang++  -DMGL_HAVE_GSL2 -DMGL_SRC -DMGL_STATIC_DEFINE -DNO_COLOR_ARRAY -I/tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/include -I/tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/brewery/include -I/usr/local/include -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks -I/tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/src/prc  -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.11   -o CMakeFiles/mgl-static.dir/canvas.cpp.o -c /tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/src/canvas.cpp
/tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/src/canvas.cpp:1222:22: error: use of undeclared identifier 'm'
        pthread_mutex_lock(&amp;amp;m);
                            ^
/tmp/mathgl-20170814-63403-1nnmje2/mathgl-2.4.1/src/canvas.cpp:1224:24: error: use of undeclared identifier 'm'
        pthread_mutex_unlock(&amp;amp;m);
                              ^
2 errors generated.
make[2]: *** [src/CMakeFiles/mgl-static.dir/canvas.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/mgl-static.dir/all] Error 2
make: *** [all] Error 2
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry></feed>