Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: ollydbg on June 11, 2011, 01:01:34 pm
-
I meet two build warning:
[ 78.6%] g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -IE:\code\cb\wx\wxWidgets-2.8.12\include -IE:\code\cb\wx\wxWidgets-2.8.12\contrib\include -IE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -c E:\code\cb\cb_debugger_branch\src\src\switcherdlg.cpp -o .objs\src\switcherdlg.o
[ 85.7%] g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -IE:\code\cb\wx\wxWidgets-2.8.12\include -IE:\code\cb\wx\wxWidgets-2.8.12\contrib\include -IE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -c E:\code\cb\cb_debugger_branch\src\src\threadsdlg.cpp -o .objs\src\threadsdlg.o
E:\code\cb\cb_debugger_branch\src\src\threadsdlg.cpp:10:25: warning: include/sdk_precomp.h.gch: not used because `EXPORT_LIB' not defined
[ 92.9%] g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -IE:\code\cb\wx\wxWidgets-2.8.12\include -IE:\code\cb\wx\wxWidgets-2.8.12\contrib\include -IE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -c E:\code\cb\cb_debugger_branch\src\src\watchesdlg.cpp -o .objs\src\watchesdlg.o
E:\code\cb\cb_debugger_branch\src\src\watchesdlg.cpp:10:25: warning: include/sdk_precomp.h.gch: not used because `EXPORT_LIB' not defined
It seems we should use "sdk.h" in those two cpp files, do we?
-
the next thing is:
-------------- Build: src in Code::Blocks ---------------
[ 33.3%] g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -IE:\code\cb\wx\wxWidgets-2.8.12\include -IE:\code\cb\wx\wxWidgets-2.8.12\contrib\include -IE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -c E:\code\cb\cb_debugger_branch\src\src\threadsdlg.cpp -o .objs\src\threadsdlg.o
[ 66.7%] g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DBUILDING_PLUGIN -DWXMAKINGDLL_PROPGRID -DwxPG_USE_WXMODULE=0 -IE:\code\cb\wx\wxWidgets-2.8.12\include -IE:\code\cb\wx\wxWidgets-2.8.12\contrib\include -IE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Isdk\wxpropgrid\include -Iinclude\tinyxml -Iinclude -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -c E:\code\cb\cb_debugger_branch\src\src\watchesdlg.cpp -o .objs\src\watchesdlg.o
[100.0%] WARNING: Target 'Code::Blocks - src': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
g++.exe -Lbase\tinyxml -LE:\code\cb\wx\wxWidgets-2.8.12\lib\gcc_dll -Ldevel -o devel\codeblocks.exe .objs\src\app.o .objs\src\appglobals.o .objs\src\associations.o .objs\src\backtracedlg.o .objs\src\breakpointsdlg.o .objs\src\compilersettingsdlg.o .objs\src\cpuregistersdlg.o .objs\src\crashhandler.o .objs\src\debugger_interface_creator.o .objs\src\debuggermenu.o .objs\src\debuggersettingscommonpanel.o .objs\src\debuggersettingsdlg.o .objs\src\debuggersettingspanel.o .objs\src\disassemblydlg.o .objs\src\dlgabout.o .objs\src\dlgaboutplugin.o .objs\src\environmentsettingsdlg.o .objs\src\examinememorydlg.o .objs\src\infopane.o .objs\src\main.o .objs\src\notebookstyles.o .objs\src\printdlg.o .objs\src\scriptconsole.o .objs\src\scriptingsettingsdlg.o .objs\src\splashscreen.o .objs\src\startherepage.o .objs\src\switcherdlg.o .objs\src\threadsdlg.o .objs\src\watchesdlg.o .objs\src\resources\resources.res -Wl,--enable-auto-import -mthreads -lcodeblocks -lwxpropgrid -lshfolder -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwxmsw28u -mwindows
Output size is 11.78 MB
-------------- Build: Abbreviations in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Abbreviations': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: AStyle in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - AStyle': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Autosave in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Autosave': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Compiler depslib in Code::Blocks ---------------
Target is up to date.
-------------- Build: Compiler in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Compiler': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Debugger in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Debugger': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Code-completion in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Code-completion': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Class wizard in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Class wizard': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Default MIME handler in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Default MIME handler': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Open files list in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Open files list': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Projects-workspaces importer in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Projects-workspaces importer': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: Scripted wizard in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - Scripted wizard': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: To-do in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - To-do': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
-------------- Build: XP look & feel in Code::Blocks ---------------
WARNING: Target 'Code::Blocks - XP look & feel': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
Nothing to be done (all items are up-to-date).
what does this means:
Unable to resolve 1 external dependencies: devel\libcodeblocks.a
??
thanks.
-
the next thing is:
WARNING: Target 'Code::Blocks - Autosave': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
This is non-critical. There are external dependencies setup in the project that cannot be resolved. You can check this in the project options -> external dependencies. Obviously wither the file does really not exist, or it has not been built yet, or the path/file name is simply wrong.
-
the next thing is:
WARNING: Target 'Code::Blocks - Autosave': Unable to resolve 1 external dependencies:
devel\libcodeblocks.a
This is non-critical. There are external dependencies setup in the project that cannot be resolved. You can check this in the project options -> external dependencies. Obviously wither the file does really not exist, or it has not been built yet, or the path/file name is simply wrong.
Ok, I see, the lib name should be :devel\libcodeblocks.dll.a
-
First one is fixed.
I'm not sure about the second one. Morten should I fix the cbp file?
-
I'm not sure about the second one. Morten should I fix the cbp file?
Yes. This is needed in trunk, too most likely. It's related to the change to allow the target output library / def name to be setup individually. However, I thought I had taken care already... :shock: