Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build on windows fails with "/" but works with "\" for /FI compiler option

Hello, I tried to build the most recent version of OpenCV under Windows using Visual Studio 10. Building of core fails with this message: cl : Command line error D8004: '/FI' requires an argument

If I replace the "/" (slash) to "\" (backslash) for the precompiled header file, the build works.

Is this known? How can I work around it?

Regards, Andreas

click to hide/show revision 2
retagged

updated 2013-11-08 05:27:50 -0600

berak gravatar image

Build on windows fails with "/" but works with "\" for /FI compiler option

Hello, I tried to build the most recent version of OpenCV under Windows using Visual Studio 10. Building of core fails with this message: cl : Command line error D8004: '/FI' requires an argument

If I replace the "/" (slash) to "\" (backslash) for the precompiled header file, the build works.

Is this known? How can I work around it?

Regards, Andreas