<div class="gmail_quote">Dear all,<br>
<br>
I use mingw to port my code from mac to windows. For that, I<br>
have to indicate the compiler used by cmake to that of mingw.<br>
That is set CMAKE_CXX_COMPILER to "i386-mingw32-g++" (which compiles a<br>
binary for windows). You can see the command and the error below.<br>
<br>
cmake -DCMAKE_INSTALL_PREFIX=~/local/install/bpp/windows -<br>
CMAKE_CXX_COMPILER=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-g++<br>
loading initial cache file MAKE_CXX_COMPILER=/usr/local/i386-<br>
mingw32-4.3.0/bin/i386-mingw32-g++<br>
CMake Error: Error processing file:MAKE_CXX_COMPILER=/usr/local/i386-<br>
mingw32-4.3.0/bin/i386-mingw32-g++<br>
-- Configuring incomplete, errors occurred!<br>
<br>
Could you help me please.<br>
<br>
Best<br>
<font color="#888888">JP</font></div>