I'm using memoir (a beautiful documentclass that gets me in trouble too often)... and I'm trying to use wrapfigure.
This is what I use:
\documentclass[a4paper,oneside,12pt,openright,final,oldfontcommands]{memoir}
\usepackage{wrapfig}
\begin{document}
\begin{wrapfigure}{./Images/13-SubdivisionRule}{o}{width=0.5\textwidth}
\caption[Shape Grammar Subdivision]{The subdivision of a surface by shape grammars for fabrication of the sheets \cite{shelden02}}
\label{SubdivisionSG}
\end{wrapfigure}
\end{document}
This is the error I get:
Package wrapfig Warning: wrapfigure used inside a conflicting environment on in
put line 129.

wrapfigureenvironment is being used in the wrong way (see my answer). – Gonzalo Medina May 12 '12 at 20:44