Since I\'m more comfortable using Eclipse, I thought I\'d try converting my project from Visual Studio. Yesterday I tried a very simple little test. No matter what I try,
The error "multiple target patterns. Stop." will occur because src/Window.d have the paths generated by compiler in windows platform as:
C:/Program\ Files/OpenCV/cv/include/cv.h \
C:/Program\ Files/OpenCV/cxcore/include/cxcore.h \
C:/Program\ Files/OpenCV/cxcore/include/cxtypes.h \
C:/Program\ Files/OpenCV/cxcore/include/cxerror.h \
If you import this project into Eclipse in Linux platform, I would recommend you to give a clean build so that next build generates the path in Linux format as:
/home/user/OpenCV/cv/include/cv.h \
/home/user/OpenCV/cxcore/include/cxcore.h \
/home/user/OpenCV/cxcore/include/cxtypes.h \
/home/user/OpenCV/cxcore/include/cxerror.h \
The same is applicable, if you are using cygwin. The path format in cygwin is linux like format /cygdrive/c/
instead of C:/