Make error, multiple target patterns
-
I have a project that is composed by a main core, with three sub dirs that are building like "libraries":https://github.com/thanatosJSSE/Sipred/blob/Dev_Test/src/src.pro.
@Makefile.module_mngr.Release:76: *** multiple target patterns. Stop.
mingw32-make.exe[3]: *** [release] Error 2
mingw32-make.exe[2]: *** [sub-module-module_mngr-pro-make_default-ordered] Error 2
mingw32-make.exe[1]: *** [sub-managers-make_default-ordered] Error 2
mingw32-make.exe: *** [sub-src-make_default-ordered] Error 2@I've looking in all forums and sources but I can't find a solution.
-
Thank you franku.
[quote author="franku" date="1343423995"]Look for \ and replace them with / in paths. Then re-run qmake. HTH?[/quote]
I don't have "" in my pro files, but the make files output have strange lines:
@# Makefile Debug
SOURCES = ........\Sipred\src\managers\module\modulemngr.cpp
........\Sipred\src\managers\module\moduleinfo.cpp debug\moc_moduleinfo.cpp
debug\moc_modulemngr.cpp
OBJECTS = debug/modulemngr.o
debug/moduleinfo.o
debug/moc_moduleinfo.o
debug/moc_modulemngr.o
DIST =
QMAKE_TARGET = modulemanagerd
DESTDIR = "c:\Documents and Settings\dismet\Desktop\Sipred\Sipred-Debug\lib" #avoid trailing-slash linebreak
TARGET = modulemanagerd.dll
DESTDIR_TARGET = "c:\Documents and Settings\dismet\Desktop\Sipred\Sipred-Debug\libmodulemanagerd.dll"@I think the problem is in generated Makefile.
-
[quote author="franku" date="1343462836"]bq.
Did you re-run qmake? These paths are output during the qmake step into the makefiles.
Are there any other .pro / .pri files included in any of your .pro files?[/quote]
- Yes I did.
- I have several pro and pri files, but I was very careful to not use "" in paths. This is a search, looking for \
!http://www.flickr.com/photos/thanatosjsse/7661552940/!
PD: Can't attach an image, so here is the "link.":http://www.flickr.com/photos/thanatosjsse/7661552940/