<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 37: 2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</title><link>https://sourceforge.net/p/mathgl/bugs/37/</link><description>Recent changes to 37: 2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</description><atom:link href="https://sourceforge.net/p/mathgl/bugs/37/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 20 Oct 2017 18:31:42 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mathgl/bugs/37/feed.rss" rel="self" type="application/rss+xml"/><item><title>#37 2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</title><link>https://sourceforge.net/p/mathgl/bugs/37/?limit=25#22ce</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jouni Kosonen</dc:creator><pubDate>Fri, 20 Oct 2017 18:31:42 -0000</pubDate><guid>https://sourceforge.netdb07345323033d1f46f9f438a639cfd87ce8a6a7</guid></item><item><title>2.4.1 build failure: canvas.cpp:1222:22: error: use of undeclared identifier 'm'</title><link>https://sourceforge.net/p/mathgl/bugs/37/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ilovezfs</dc:creator><pubDate>Mon, 14 Aug 2017 12:39:54 -0000</pubDate><guid>https://sourceforge.net2074278f37efe8fedf6552d0f4d69236d58deb84</guid></item></channel></rss>