After updating my MiKTeX distribution, I suddenly got a compile error with a .tex file that compiled perfectly fine before. After removing everything that did not contribute to the error, I ended up with the following minimal example:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\node[shape=rounded rectangle, draw=black] {bla};
\end{tikzpicture}
\end{document}
If I use rectangle instead of rounded rectangle or if I remove the pgfplots package, everything works well.
As a workaround, I'm using rectangle with the rounded corners attribute for now, but I would like to know whether there is also a possibility to use rounded rectangle together with pgfplots (and if so, how).
My pgfplots package has version 1.11. When inspecting the version of my pgf package with the MiKTeX Package Manager, it shows version 3.0.0. However, when inspecting the logfile, it shows that version 2.10 is used.
For the sake of completeness: Moreover I'm using MiKTeX-pdfTeX 2.9.4902 (1.40.14) (MiKTeX 2.9) on a Windows 7 Professional (Service Pack 1) OS.
The error message I get with the example above is:
! Undefined control sequence.
<recently read> \pgfmath@multiply@thousand
l.12 ...hape=rounded rectangle, draw=black] {bla};
While searching for related questions, I found these other questions here:
Miktex 2.9 pgfplots, circuitikz library collision problem
Problem using atan in pgfplots
It seems this is a case of different symptoms for the same disease (as discussed in the meta: Same disease, different symptoms). At least the error message is the same and the situation (problem occurred after update) is similar.
I first thought the solutions there would not apply to my problem as I have both pgfplots in version 1.11 and pgf in version 3.0.0 (which should work according to the accepted answer of the latter question). However, by checking the logfile it turns out that version 2.10 of pgf is actually used. So the underlying problem seems to be identical with the former of the two related questions. How is this difference between the Package Manager and the logfile possible and how can I fix it?
pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=pdflatex 2013.7.29). What do you with Cygwin? Running some bash programms for MiKTeX? I guess you installed MiKTeX and later Cygwin, because MiKTeX does not run under Cygwin as far as I know. Please add more information to your question, for example the steps you compile (were do we find Cygwin tere?) ... – Mensch Dec 23 '14 at 13:18shapes.miscif you are using version 3 but it shouldn't break anything to useshapes. – cfr Dec 24 '14 at 03:34pgfplots, I have an interest to repair such problems with high priority. You can find my address in thepgfplotsmanual. – Christian Feuersänger Dec 25 '14 at 19:16