I'd like to draw a Spring-Mass-Damping system by TikZ. I found the example in Drawing Mechanical Systems in LaTeX
But I have problems compiling it. If I delete the damper code
\draw [dampener] (ground2.north) -- ($(M.south east)!(ground2.north)!(M.south west)$)
it works well
The error message as below:
! Package pgfkeys Error: I do not know the key '/pgf/decoration/mark connection node' and I am going to ignore it. Perhaps you misspelled it. See the pgfkeys package documentation for explanation. Type H <return> for immediate help. ... l.30 \draw [dampener] (ground2.north) -- ($(M.south east)!(ground2.north)!(M... ? [1
As I can't reply to the original question, I have to posted a new question about this issue.