Includepath / cannot open include file
-
Hi everyone,
I would like first to thank you all that are contributing to this forum. It is unbelievable the number of issues I manage to fix thanks to you.
I am today facing a new issue that I will try to describe as accurately as possible.
I am trying to compile a small dynamic library (dll) requiring some external header files. I thus configured the .pro file with the INCLUDEPATH += directory_to_the_header
Surprisingly, the program compiles OK in debug mode but I get the following error message when trying to compile in release mode:
C1083: Cannot open include file: 'XXX.h'; No such file or directoryFor that INCLUDEPATH, I have no distinction in the configuration .pro file between debug and release modes. These are the following tests/checks I performed:
- manually delete Makefile and re-run qmake several times
- moved the header in D:/ (in case the problem came from having spaces in the orignal folder)
- compare Makefile.Debug and Makefile.Release. I don't see any difference that could explain why it works in debug, not in release.
All these tests end up with the same results : compilation Ok in debug / compilation failed in release
For information, I am using Windows 7, Qt Creator 3.4.1, Qt 4.8.5, compiler MSVC2012
Do not hesitate to ask if you require more info. Any help would be much appreciated.
Thanks !
-
Can you post the compile log?
There we should see which paths are passed to the compiler. -
Hi jsulm,
Thank you for your message. If I understand "compile log" by what I can see in the "compilation output" window (see below what I obtain when compiling in release mode). Sorry for the french words. Let me know if a translation is required. The file causing the issue is Spider_Simulator_Parameters.h. This file is situated in the folder ......\14. Spider Simulator Parameters\02. Library Release\Include
Thanks for your help
07:09:17: Exécution des étapes pour le projet Spider_Simulation_Module_v1.2...
07:09:17: Configuration inchangée, étape qmake sautée.
07:09:18: Débute : "C:\Qt\Qt5.4.2\Tools\QtCreator\bin\jom.exe"
C:\Qt\Qt5.4.2\Tools\QtCreator\bin\jom.exe -f Makefile.Release
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DSPIDER_SIMULATION_MODULE_LIBRARY -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DNDEBUG -I"c:\Qt\qt-4.8.5-x64-msvc2012\include\QtCore" -I"c:\Qt\qt-4.8.5-x64-msvc2012\include" -I"......\01. Global Definitions\02. Library Release\Include" -I"......\10. Optimization Module\02. Library Release\Include" -I"......\08. Simulation Module\02. Library Release\Include" -I"......\14. Spider Simulator Parameters\02. Library Release\Include" -I"c:\Program Files\MATLAB\R2013b\extern\include" -I"c:\Program Files\MATLAB\R2013b\extern\lib\win64\microsoft" -I"c:\Qt\qt-4.8.5-x64-msvc2012\include\ActiveQt" -I"release" -I"..\Spider_Simulation_Module_v1.2" -I"." -I"c:\Qt\qt-4.8.5-x64-msvc2012\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\BG239782\AppData\Local\Temp\Spider_Simulation_Module.obj.460.0.jom
Spider_Simulation_Module.cpp
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DSPIDER_SIMULATION_MODULE_LIBRARY -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DNDEBUG -I"c:\Qt\qt-4.8.5-x64-msvc2012\include\QtCore" -I"c:\Qt\qt-4.8.5-x64-msvc2012\include" -I"......\01. Global Definitions\02. Library Release\Include" -I"......\10. Optimization Module\02. Library Release\Include" -I"......\08. Simulation Module\02. Library Release\Include" -I"......\14. Spider Simulator Parameters\02. Library Release\Include" -I"c:\Program Files\MATLAB\R2013b\extern\include" -I"c:\Program Files\MATLAB\R2013b\extern\lib\win64\microsoft" -I"c:\Qt\qt-4.8.5-x64-msvc2012\include\ActiveQt" -I"release" -I"..\Spider_Simulation_Module_v1.2" -I"." -I"c:\Qt\qt-4.8.5-x64-msvc2012\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\BG239782\AppData\Local\Temp\Spider_Matlab_API.obj.460.16.jom
Spider_Matlab_API.cpp
d:\01. guinot\05. programming\01. c++\03. libraries\02. internal libraries\12. spider simulation module\01. library builds\spider_simulation_module_v1.2\Spider_Matlab_API.h(7) : fatal error C1083: Cannot open include file: 'Spider_Simulator_Parameters.h': No such file or directory
d:\01. guinot\05. programming\01. c++\03. libraries\02. internal libraries\12. spider simulation module\01. library builds\spider_simulation_module_v1.2\Spider_Matlab_API.h(7) : fatal error C1083: Cannot open include file: 'Spider_Simulator_Parameters.h': No such file or directory
jom: D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\12. Spider Simulation Module\01. Library Builds\Spider_Simulation_Module_Qt4.8.5_MSVC2012_64bit\Makefile.Release [release\Spider_Simulation_Module.obj] Error 2
jom: D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\12. Spider Simulation Module\01. Library Builds\Spider_Simulation_Module_Qt4.8.5_MSVC2012_64bit\Makefile.Release [release\Spider_Matlab_API.obj] Error 2
jom: D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\12. Spider Simulation Module\01. Library Builds\Spider_Simulation_Module_Qt4.8.5_MSVC2012_64bit\Makefile [release] Error 2
07:09:19: Le processus "C:\Qt\Qt5.4.2\Tools\QtCreator\bin\jom.exe" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet Spider_Simulation_Module_v1.2 (kit : Qt4.8.5 MSVC2012 64bit)
When executing step "Make"
07:09:19: Temps écoulé : 00:01. -
You use relative paths. Try to use absolute paths to see whether it works.
-
The way I do it is that I declare a variable in the .pro file containing the common part of the directories of different headers.
INTERNAL_LIBRARIES_FULL_PATH = "D:/01. GUINOT/05. Programming/01. C++/03. Libraries/02. Internal Libraries"Then I create the full path of the header file based on (i) this previous location and (ii) the relative path of the header file
DEPENDENT_LIBRARY_RELATIVE_PATH = "14. Spider Simulator Parameters"LIBRARY_RELEASE_FULL_PATH = $${INTERNAL_LIBRARIES_FULL_PATH}/$${LIBRARY_RELATIVE_PATH}/$$quote(02. Library Release)
Then the includepath statment
INCLUDEPATH += $${LIBRARY_RELEASE_FULL_PATH}/$$quote(Include)The way I understand it is that it is equivalent to absolute path. Anyway, I tired as you suggested to directly set the full path (see below)
INCLUDEPATH += "D:/01. GUINOT/05. Programming/01. C++/03. Libraries/02. Internal Libraries/14. Spider Simulator Parameters/02. Library Release/Include"After re-running qmake I still obtain the same error message
But here also it compiles ok in debug mode...I have to admit that I am a little bit lost here...
-
D:/01. GUINOT/05. Programming/01. C++/03. Libraries/02. Internal Libraries/14. Spider Simulator Parameters/02. Library Release/Include - is valid and contains the header files?
You could try to compare the compiler output for release and debug builds to see what is different.
-
Yes the path exists (I copied and paste in windows explorer) and the header file is situated in the folder. What I really don't understand is whu it works in debug.
The compile log is not very usefull in debug since it's working (see below).
10:34:50: Débute : "C:\Qt\Qt5.4.2\Tools\QtCreator\bin\jom.exe"
C:\Qt\Qt5.4.2\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
10:34:50: Le processus "C:\Qt\Qt5.4.2\Tools\QtCreator\bin\jom.exe" s'est terminé normalement.I compared the two makefile (debug and release) and did not see differences.
Could the cannot open file error be caused by the file being already open ?
-
Dear all,
Anyone having a thought on this issue ?
Thank you
-
Dear all,
I have not made any progress with the above described issue. I tried to re-install Qt Creator and repair MSVC2012 Express (compiler used) but the exact same problem still occurs.
I post below two makefiles:- debug, which compiles OK
- release, which leads to the error message "cannot open includefile..."
In the following post you can find the two compiler outputs (debug and release)
I would really appreciate some help !!!
ThanksMakefile.Debug
############################################################################# # Makefile for building: Sensitivity_Analysis_Module # Generated by qmake (2.01a) (Qt 4.8.5) on: mar. 22. déc. 09:56:39 2015 # Project: ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro # Template: lib ############################################################################# ####### Compiler, tools and options CC = cl CXX = cl DEFINES = -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT CFLAGS = -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -W3 $(DEFINES) CXXFLAGS = -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 $(DEFINES) INCPATH = -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"debug" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" LINK = link LFLAGS = /LIBPATH:"c:\Qt\4.8.5\MSVC2012_64\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL LIBS = c:\Qt\4.8.5\MSVC2012_64\lib\QtCored4.lib QMAKE = c:\Qt\4.8.5\MSVC2012_64\bin\qmake.exe IDC = c:\Qt\4.8.5\MSVC2012_64\bin\idc.exe IDL = midl ZIP = zip -r -9 DEF_FILE = RES_FILE = COPY = copy /y SED = COPY_FILE = $(COPY) COPY_DIR = xcopy /s /q /y /i DEL_FILE = del DEL_DIR = rmdir MOVE = move CHK_DIR_EXISTS= if not exist MKDIR = mkdir INSTALL_FILE = $(COPY_FILE) INSTALL_PROGRAM = $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) ####### Output directory OBJECTS_DIR = debug ####### Files SOURCES = ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.cpp debug\moc_Sensitivity_Analysis_Module.cpp OBJECTS = debug\Sensitivity_Analysis_Module.obj \ debug\moc_Sensitivity_Analysis_Module.obj DIST = QMAKE_TARGET = Sensitivity_Analysis_Module DESTDIR = debug\ #avoid trailing-slash linebreak TARGET = Sensitivity_Analysis_Module.dll DESTDIR_TARGET = debug\Sensitivity_Analysis_Module.dll ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx {.}.cpp{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {.}.cc{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {.}.cxx{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {.}.c{debug\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.cpp{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.cc{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.cxx{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.c{debug\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<< $< << {debug}.cpp{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {debug}.cc{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {debug}.cxx{debug\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<< $< << {debug}.c{debug\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Fodebug\ @<< $< << ####### Build rules first: all all: Makefile.Debug $(DESTDIR_TARGET) $(DESTDIR_TARGET): $(OBJECTS) $(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< $(OBJECTS) $(LIBS) << qmake: FORCE @$(QMAKE) -spec c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012 CONFIG+=release -o Makefile.Debug ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro dist: $(ZIP) Sensitivity_Analysis_Module.zip $(SOURCES) $(DIST) ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro c:\Qt\4.8.5\MSVC2012_64\mkspecs\qconfig.pri c:\Qt\4.8.5\MSVC2012_64\mkspecs\modules\qt_webkit_version.pri c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\qt_functions.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\qt_config.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\exclusive_builds.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\default_pre.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\default_pre.prf ..\..\..\Global_Project_Configuration.pri c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\debug.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\debug_and_release.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\default_post.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\default_post.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\build_pass.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\console.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\dll.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\shared.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\rtti.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\exceptions.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\stl.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\embed_manifest_exe.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\embed_manifest_dll.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\warn_on.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\qt.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\thread.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\moc.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\resources.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\uic.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\yacc.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\lex.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES clean: compiler_clean -$(DEL_FILE) debug\Sensitivity_Analysis_Module.obj debug\moc_Sensitivity_Analysis_Module.obj -$(DEL_FILE) debug\Sensitivity_Analysis_Module.exp debug\Sensitivity_Analysis_Module.ilk vc*.pdb vc*.idb distclean: clean -$(DEL_FILE) debug\Sensitivity_Analysis_Module.pdb -$(DEL_FILE) $(DESTDIR_TARGET) -$(DEL_FILE) Makefile.Debug check: first mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all compiler_moc_header_make_all: debug\moc_Sensitivity_Analysis_Module.cpp compiler_moc_header_clean: -$(DEL_FILE) debug\moc_Sensitivity_Analysis_Module.cpp debug\moc_Sensitivity_Analysis_Module.cpp: ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h \ ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h C:\Qt\4.8.5\MSVC2012_64\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1700 -DWIN32 ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h -o debug\moc_Sensitivity_Analysis_Module.cpp compiler_rcc_make_all: compiler_rcc_clean: compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: compiler_uic_make_all: compiler_uic_clean: compiler_yacc_decl_make_all: compiler_yacc_decl_clean: compiler_yacc_impl_make_all: compiler_yacc_impl_clean: compiler_lex_make_all: compiler_lex_clean: compiler_clean: compiler_moc_header_clean ####### Compile debug\Sensitivity_Analysis_Module.obj: ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.cpp ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h \ ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h debug\moc_Sensitivity_Analysis_Module.obj: debug\moc_Sensitivity_Analysis_Module.cpp ####### Install install_target: first FORCE @$(CHK_DIR_EXISTS) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug" $(MKDIR) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug" -$(INSTALL_FILE) "debug\Sensitivity_Analysis_Module.lib" "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.lib" -$(INSTALL_FILE) "$(DESTDIR_TARGET)" "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\$(TARGET)" -$(INSTALL_FILE) "debug\Sensitivity_Analysis_Module.pdb" "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.pdb" uninstall_target: FORCE -$(DEL_FILE) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.lib" -$(DEL_FILE) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\$(TARGET)" -$(DEL_FILE) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.pdb" -$(DEL_DIR) $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\" install_header_files: first FORCE @$(CHK_DIR_EXISTS) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include" $(MKDIR) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include" -$(INSTALL_FILE) "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h" $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" -$(INSTALL_FILE) "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h" $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" uninstall_header_files: FORCE -$(DEL_FILE) d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\Sensitivity_Analysis_Module.h -$(DEL_FILE) d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\Sensitivity_Analysis_Definitions.h -$(DEL_DIR) $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" install: install_target install_header_files FORCE uninstall: uninstall_target uninstall_header_files FORCE FORCE:
Makefile.Release
############################################################################# # Makefile for building: Sensitivity_Analysis_Module # Generated by qmake (2.01a) (Qt 4.8.5) on: mar. 22. déc. 09:56:39 2015 # Project: ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro # Template: lib ############################################################################# ####### Compiler, tools and options CC = cl CXX = cl DEFINES = -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DNDEBUG CFLAGS = -nologo -Zm200 -Zc:wchar_t- -O2 -MD -W3 $(DEFINES) CXXFLAGS = -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 $(DEFINES) INCPATH = -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"release" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" LINK = link LFLAGS = /LIBPATH:"c:\Qt\4.8.5\MSVC2012_64\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL LIBS = c:\Qt\4.8.5\MSVC2012_64\lib\QtCore4.lib QMAKE = c:\Qt\4.8.5\MSVC2012_64\bin\qmake.exe IDC = c:\Qt\4.8.5\MSVC2012_64\bin\idc.exe IDL = midl ZIP = zip -r -9 DEF_FILE = RES_FILE = COPY = copy /y SED = COPY_FILE = $(COPY) COPY_DIR = xcopy /s /q /y /i DEL_FILE = del DEL_DIR = rmdir MOVE = move CHK_DIR_EXISTS= if not exist MKDIR = mkdir INSTALL_FILE = $(COPY_FILE) INSTALL_PROGRAM = $(COPY_FILE) INSTALL_DIR = $(COPY_DIR) ####### Output directory OBJECTS_DIR = release ####### Files SOURCES = ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.cpp release\moc_Sensitivity_Analysis_Module.cpp OBJECTS = release\Sensitivity_Analysis_Module.obj \ release\moc_Sensitivity_Analysis_Module.obj DIST = QMAKE_TARGET = Sensitivity_Analysis_Module DESTDIR = release\ #avoid trailing-slash linebreak TARGET = Sensitivity_Analysis_Module.dll DESTDIR_TARGET = release\Sensitivity_Analysis_Module.dll ####### Implicit rules .SUFFIXES: .c .cpp .cc .cxx {release}.cpp{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {release}.cc{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {release}.cxx{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {release}.c{release\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.cpp{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.cc{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.cxx{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {.}.c{release\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.cpp{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.cc{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.cxx{release\}.obj:: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<< $< << {..\Sensitivity_Analysis_Module_v1.0}.c{release\}.obj:: $(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<< $< << ####### Build rules first: all all: Makefile.Release $(DESTDIR_TARGET) $(DESTDIR_TARGET): $(OBJECTS) $(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< $(OBJECTS) $(LIBS) << qmake: FORCE @$(QMAKE) -spec c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012 CONFIG+=release -o Makefile.Release ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro dist: $(ZIP) Sensitivity_Analysis_Module.zip $(SOURCES) $(DIST) ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro c:\Qt\4.8.5\MSVC2012_64\mkspecs\qconfig.pri c:\Qt\4.8.5\MSVC2012_64\mkspecs\modules\qt_webkit_version.pri c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\qt_functions.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\qt_config.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\exclusive_builds.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\default_pre.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\default_pre.prf ..\..\..\Global_Project_Configuration.pri c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\release.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\debug_and_release.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\default_post.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\default_post.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\build_pass.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\console.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\dll.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\shared.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\rtti.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\exceptions.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\stl.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\embed_manifest_exe.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\embed_manifest_dll.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\warn_on.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\qt.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\win32\thread.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\moc.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\resources.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\uic.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\yacc.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\lex.prf c:\Qt\4.8.5\MSVC2012_64\mkspecs\features\include_source_dir.prf HEADERS RESOURCES IMAGES SOURCES OBJECTIVE_SOURCES FORMS YACCSOURCES YACCSOURCES LEXSOURCES clean: compiler_clean -$(DEL_FILE) release\Sensitivity_Analysis_Module.obj release\moc_Sensitivity_Analysis_Module.obj -$(DEL_FILE) release\Sensitivity_Analysis_Module.exp distclean: clean -$(DEL_FILE) $(DESTDIR_TARGET) -$(DEL_FILE) Makefile.Release check: first mocclean: compiler_moc_header_clean compiler_moc_source_clean mocables: compiler_moc_header_make_all compiler_moc_source_make_all compiler_moc_header_make_all: release\moc_Sensitivity_Analysis_Module.cpp compiler_moc_header_clean: -$(DEL_FILE) release\moc_Sensitivity_Analysis_Module.cpp release\moc_Sensitivity_Analysis_Module.cpp: ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h \ ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h C:\Qt\4.8.5\MSVC2012_64\bin\moc.exe $(DEFINES) $(INCPATH) -D_MSC_VER=1700 -DWIN32 ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h -o release\moc_Sensitivity_Analysis_Module.cpp compiler_rcc_make_all: compiler_rcc_clean: compiler_image_collection_make_all: qmake_image_collection.cpp compiler_image_collection_clean: -$(DEL_FILE) qmake_image_collection.cpp compiler_moc_source_make_all: compiler_moc_source_clean: compiler_uic_make_all: compiler_uic_clean: compiler_yacc_decl_make_all: compiler_yacc_decl_clean: compiler_yacc_impl_make_all: compiler_yacc_impl_clean: compiler_lex_make_all: compiler_lex_clean: compiler_clean: compiler_moc_header_clean ####### Compile release\Sensitivity_Analysis_Module.obj: ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.cpp ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h \ ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h release\moc_Sensitivity_Analysis_Module.obj: release\moc_Sensitivity_Analysis_Module.cpp ####### Install install_target: first FORCE @$(CHK_DIR_EXISTS) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release" $(MKDIR) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release" -$(INSTALL_FILE) "release\Sensitivity_Analysis_Module.lib" "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release\Sensitivity_Analysis_Module.lib" -$(INSTALL_FILE) "$(DESTDIR_TARGET)" "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release\$(TARGET)" uninstall_target: FORCE -$(DEL_FILE) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release\Sensitivity_Analysis_Module.lib" -$(DEL_FILE) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release\$(TARGET)" -$(DEL_DIR) $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\release\" install_header_files: first FORCE @$(CHK_DIR_EXISTS) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include" $(MKDIR) "d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include" -$(INSTALL_FILE) "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h" $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" -$(INSTALL_FILE) "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h" $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" uninstall_header_files: FORCE -$(DEL_FILE) d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\Sensitivity_Analysis_Module.h -$(DEL_FILE) d:$(INSTALL_ROOT)\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\Sensitivity_Analysis_Definitions.h -$(DEL_DIR) $(INSTALL_ROOT)"d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" install: install_target install_header_files FORCE uninstall: uninstall_target uninstall_header_files FORCE FORCE:
-
Debug compiler output
10:25:11: Exécution des étapes pour le projet Sensitivity_Analysis_Module_v1.0... 10:25:11: Débute : "C:\Qt\4.8.5\MSVC2012_64\bin\qmake.exe" "D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro" -r -spec win32-msvc2012 Project MESSAGE: Project MESSAGE: -----Current Library----- Project MESSAGE: [OK] Sensitivity Analysis Module will be deployed Project MESSAGE: -----Definitions----- Project MESSAGE: [OK] Definitions Global found Project MESSAGE: [OK] Simulation Module found Project MESSAGE: -----End of Project File----- Project MESSAGE: Project MESSAGE: Project MESSAGE: -----Current Library----- Project MESSAGE: [OK] Sensitivity Analysis Module will be deployed Project MESSAGE: -----Definitions----- Project MESSAGE: [OK] Definitions Global found Project MESSAGE: [OK] Simulation Module found Project MESSAGE: -----End of Project File----- Project MESSAGE: Project MESSAGE: Project MESSAGE: -----Current Library----- Project MESSAGE: [OK] Sensitivity Analysis Module will be deployed Project MESSAGE: -----Definitions----- Project MESSAGE: [OK] Definitions Global found Project MESSAGE: [OK] Simulation Module found Project MESSAGE: -----End of Project File----- Project MESSAGE: 10:25:12: Le processus "C:\Qt\4.8.5\MSVC2012_64\bin\qmake.exe" s'est terminé normalement. 10:25:12: Débute : "C:\Qt\Tools\QtCreator\bin\jom.exe" C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"debug" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\BG239782\AppData\Local\Temp\Sensitivity_Analysis_Module.obj.9888.0.jom Sensitivity_Analysis_Module.cpp C:\Qt\4.8.5\MSVC2012_64\bin\moc.exe -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"debug" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" -D_MSC_VER=1700 -DWIN32 ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h -o debug\moc_Sensitivity_Analysis_Module.cpp ..\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.cpp(178) : warning C4100: 'b_Display_Info' : unreferenced formal parameter cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"debug" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\BG239782\AppData\Local\Temp\moc_Sensitivity_Analysis_Module.obj.9888.265.jom moc_Sensitivity_Analysis_Module.cpp link /LIBPATH:"c:\Qt\4.8.5\MSVC2012_64\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /OUT:debug\Sensitivity_Analysis_Module.dll @C:\Users\BG239782\AppData\Local\Temp\Sensitivity_Analysis_Module.dll.9888.2091.jom Creating library debug\Sensitivity_Analysis_Module.lib and object debug\Sensitivity_Analysis_Module.exp 10:25:15: Le processus "C:\Qt\Tools\QtCreator\bin\jom.exe" s'est terminé normalement. 10:25:15: Débute : "C:\Qt\Tools\QtCreator\bin\jom.exe" install C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug install copy /y "debug\Sensitivity_Analysis_Module.lib" "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.lib" 1 fichier(s) copi‚(s). copy /y "debug\Sensitivity_Analysis_Module.dll" "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.dll" copy /y "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module.h" "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" 1 fichier(s) copi‚(s). copy /y "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Definitions.h" "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Include\" 1 fichier(s) copi‚(s). 1 fichier(s) copi‚(s). copy /y "debug\Sensitivity_Analysis_Module.pdb" "d:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\02. Library Release\Qt4.8.5_MSVC2012_64bit\debug\Sensitivity_Analysis_Module.pdb" 1 fichier(s) copi‚(s). 10:25:15: Le processus "C:\Qt\Tools\QtCreator\bin\jom.exe" s'est terminé normalement. 10:25:15: Temps écoulé : 00:04.
Release compiler output
09:56:39: Exécution des étapes pour le projet Sensitivity_Analysis_Module_v1.0... 09:56:39: Débute : "C:\Qt\4.8.5\MSVC2012_64\bin\qmake.exe" "D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_v1.0\Sensitivity_Analysis_Module_v1.0.pro" -r -spec win32-msvc2012 "CONFIG+=release" Project MESSAGE: Project MESSAGE: -----Current Library----- Project MESSAGE: [OK] Sensitivity Analysis Module will be deployed Project MESSAGE: -----Definitions----- Project MESSAGE: [OK] Definitions Global found Project MESSAGE: [OK] Simulation Module found Project MESSAGE: -----End of Project File----- Project MESSAGE: Project MESSAGE: Project MESSAGE: -----Current Library----- Project MESSAGE: [OK] Sensitivity Analysis Module will be deployed Project MESSAGE: -----Definitions----- Project MESSAGE: [OK] Definitions Global found Project MESSAGE: [OK] Simulation Module found Project MESSAGE: -----End of Project File----- Project MESSAGE: Project MESSAGE: Project MESSAGE: -----Current Library----- Project MESSAGE: [OK] Sensitivity Analysis Module will be deployed Project MESSAGE: -----Definitions----- Project MESSAGE: [OK] Definitions Global found Project MESSAGE: [OK] Simulation Module found Project MESSAGE: -----End of Project File----- Project MESSAGE: 09:56:40: Le processus "C:\Qt\4.8.5\MSVC2012_64\bin\qmake.exe" s'est terminé normalement. 09:56:40: Débute : "C:\Qt\Tools\QtCreator\bin\jom.exe" C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DNDEBUG -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"release" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\BG239782\AppData\Local\Temp\Sensitivity_Analysis_Module.obj.6884.16.jom Sensitivity_Analysis_Module.cpp d:\01. guinot\05. programming\01. c++\03. libraries\02. internal libraries\09. sensitivity analysis module\01. library builds\sensitivity_analysis_module_v1.0\Sensitivity_Analysis_Definitions.h(7) : fatal error C1083: Cannot open include file: 'Definitions_Global.h': No such file or directory jom: D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_Qt4.8.5_MSVC2012_64bit\Makefile.Release [release\Sensitivity_Analysis_Module.obj] Error 2 cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DSENSITIVITY_ANALYSIS_MODULE_LIBRARY -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DNDEBUG -I"c:\Qt\4.8.5\MSVC2012_64\include\QtCore" -I"c:\Qt\4.8.5\MSVC2012_64\include" -I"..\..\..\01. Definitions\01. Definitions Global\02. Library Release\Include" -I"..\..\..\08. Simulation Module\02. Library Release\Include" -I"c:\Qt\4.8.5\MSVC2012_64\include\ActiveQt" -I"release" -I"..\Sensitivity_Analysis_Module_v1.0" -I"." -I"c:\Qt\4.8.5\MSVC2012_64\mkspecs\win32-msvc2012" -Forelease\ @C:\Users\BG239782\AppData\Local\Temp\moc_Sensitivity_Analysis_Module.obj.6884.16.jom moc_Sensitivity_Analysis_Module.cpp d:\01. guinot\05. programming\01. c++\03. libraries\02. internal libraries\09. sensitivity analysis module\01. library builds\sensitivity_analysis_module_v1.0\Sensitivity_Analysis_Definitions.h(7) : fatal error C1083: Cannot open include file: 'Definitions_Global.h': No such file or directory jom: D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_Qt4.8.5_MSVC2012_64bit\Makefile.Release [release\moc_Sensitivity_Analysis_Module.obj] Error 2 jom: D:\01. GUINOT\05. Programming\01. C++\03. Libraries\02. Internal Libraries\09. Sensitivity Analysis Module\01. Library Builds\Sensitivity_Analysis_Module_Qt4.8.5_MSVC2012_64bit\Makefile [release] Error 2 09:56:40: Le processus "C:\Qt\Tools\QtCreator\bin\jom.exe" s'est terminé avec le code 2. Erreur lors de la compilation/déploiement du projet Sensitivity_Analysis_Module_v1.0 (kit : Qt4.8.5 MSVC2012 64bit) When executing step "Make" 09:56:40: Temps écoulé : 00:01.
-
Dear all,
Juste an update on this issue for anyone it could help.
The issue came from the INCPATH section of the makefile. Though similar beetween makefile.debug and makefile.release it seems that the compiler (or linker) could not interpret relative path ('../../../') when in release mode (whereas it works ok in debug). I could not find a solution to directly fix this issue so I now modify the makefile once created/updated in order to replace occurences of relative paths by absolute path. This is done using a batch file that I execute after the qmake.exe step (step added in the compilation steps of the project configuration)Thanks to those who tried to help