Hello,
Building a WIN10 64-bit version of SVN11876 encountered a 'zip' failure.
Building messages log follows:
||=== Build: tinyXML in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||=== Build: AutoRevision in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||=== Build: ConsoleRunner in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||=== Build: Squirrel in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqapi.cpp||In function 'SQRESULT sq_setdelegate(HSQUIRRELVM, SQInteger)':|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqapi.cpp|784|warning: this 'if' clause does not guard... [-Wmisleading-indentation]|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqapi.cpp|784|note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'|
include\scripting\squirrel\squtils.h||In instantiation of 'void sqvector<T>::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]':|
include\scripting\squirrel\sqarray.h|77|required from here|
include\scripting\squirrel\squtils.h|88|warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]|
include\scripting\squirrel\sqobject.h|130|note: 'struct SQObjectPtr' declared here|
include\scripting\squirrel\squtils.h||In instantiation of 'void sqvector<T>::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]':|
include\scripting\squirrel\sqarray.h|77|required from here|
include\scripting\squirrel\squtils.h|88|warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]|
include\scripting\squirrel\sqobject.h|130|note: 'struct SQObjectPtr' declared here|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqdebug.cpp||In member function 'SQString* SQVM::PrintObjVal(const SQObject&)':|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqdebug.cpp|79|warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQInteger' {aka 'long long int'} [-Wformat=]|
include\scripting\include\squirrel.h|151|note: in definition of macro '_SC'|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqfuncstate.cpp||In function 'void DumpLiteral(SQObjectPtr&)':|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqfuncstate.cpp|85|warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQInteger' {aka 'long long int'} [-Wformat=]|
include\scripting\include\squirrel.h|151|note: in definition of macro '_SC'|
include\scripting\squirrel\squtils.h||In instantiation of 'void sqvector<T>::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]':|
include\scripting\squirrel\sqarray.h|77|required from here|
include\scripting\squirrel\squtils.h|88|warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]|
include\scripting\squirrel\sqobject.h|130|note: 'struct SQObjectPtr' declared here|
include\scripting\squirrel\squtils.h||In instantiation of 'void sqvector<T>::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]':|
include\scripting\squirrel\sqarray.h|77|required from here|
include\scripting\squirrel\squtils.h|88|warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]|
include\scripting\squirrel\sqobject.h|130|note: 'struct SQObjectPtr' declared here|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqvm.cpp||In member function 'void SQVM::ToString(const SQObjectPtr&, SQObjectPtr&)':|
C:\Projects\CB11876\src\sdk\scripting\squirrel\sqvm.cpp|254|warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQInteger' {aka 'long long int'} [-Wformat=]|
include\scripting\include\squirrel.h|151|note: in definition of macro '_SC'|
include\scripting\squirrel\squtils.h||In instantiation of 'void sqvector<T>::remove(SQUnsignedInteger) [with T = SQObjectPtr; SQUnsignedInteger = long long unsigned int]':|
include\scripting\squirrel\sqarray.h|77|required from here|
include\scripting\squirrel\squtils.h|88|warning: 'void* memmove(void*, const void*, size_t)' writing to an object of type 'struct SQObjectPtr' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]|
include\scripting\squirrel\sqobject.h|130|note: 'struct SQObjectPtr' declared here|
||=== Build: Squirrel std lib in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||=== Build: SqPlus in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||=== Build: scintilla in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||=== Build: sdk in Code::Blocks wx3.1.x (64 bit) (compiler: gnu x64) ===|
||Execution of 'zip -jq9 devel31_64\share\CodeBlocks\manager_resources.zip sdk\resources\*.xrc' in 'C:\Projects\CB11876\src' failed.|
Any idea why 'zip' failed?
Regards
I had edited the setup.h file sodev indicated in the linked thread, and did a full clean and full rebuild of wxwidgets. Is the makefile's "clean" target broken/insufficient for this purpose? If I can just comment out that #error check I may just go ahead and do that. zip.exe is already in my path.
Edit: Commenting out that check was not enough. The build failed with a variety of errors:
sdk\wxpropgrid\include\wx\propgrid\propdev.h|18|error: aggregate 'WXDLLIMPEXP_PG_FWD wxArrayEditorDialog' has incomplete type and cannot be defined|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|32|error: variable 'WXDLLIMPEXP_PG wxPGGlobalVarsClass' has initializer but incomplete type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|34|error: expected primary-expression before 'public'|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|34|error: expected '}' before 'public'|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|34|error: expected ',' or ';' before 'public'|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|37|error: expected constructor, destructor, or type conversion before ';' token|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|61|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|62|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|63|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|64|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|65|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|66|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|67|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|68|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|70|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|100|error: non-member function 'int HasExtraStyle(int)' cannot have cv-qualifier|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|105|error: expected declaration before '}' token|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|18|error: aggregate 'WXDLLIMPEXP_PG_FWD wxArrayEditorDialog' has incomplete type and cannot be defined|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|32|error: variable 'WXDLLIMPEXP_PG wxPGGlobalVarsClass' has initializer but incomplete type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|34|error: expected primary-expression before 'public'|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|34|error: expected '}' before 'public'|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|34|error: expected ',' or ';' before 'public'|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|37|error: expected constructor, destructor, or type conversion before ';' token|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|61|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|62|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|63|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|64|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|65|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|66|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|67|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|68|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|70|error: 'wxPGVariantDataClassInfo' does not name a type|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|100|error: non-member function 'int HasExtraStyle(int)' cannot have cv-qualifier|
sdk\wxpropgrid\include\wx\propgrid\propdev.h|105|error: expected declaration before '}' token|
I hadn't noticed there were several C::B projects, I just opened the normal CodeBlocks.cbp project as directed by the wiki article (http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows). Perhaps the article should be updated to reflect that the project file suited for the version of wxwidgets in question must be opened. I picked the "CodeBlocks_wx31" project since I'm using normal MinGW (no 64 but support). Unfortunately, cc1plus.exe keeps crashing at this point in the build:
-------------- Build: sdk in Code::Blocks wx3.1.x (compiler: GNU GCC Compiler)---------------
Running target pre-build steps
.objs31\autorevision +wx +int +t .. include/autorevision.h
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -std=gnu++11 -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DwxUSE_UNICODE -Woverloaded-virtual -DEXPORT_LIB -DEXPORT_EVENTS -DWXMAKINGDLL_SCI -Wall -g -iquote.objs31\include -I.objs31\include -I. -IC:\wxwidgets\include -IC:\wxwidgets\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude -Iinclude\tinyxml -Iinclude\scripting\bindings -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -c C:\cb_svn\src\sdk\configmanager-revision.cpp -o .objs31\sdk\configmanager-revision.o
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -std=gnu++11 -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DCB_PRECOMP -DwxUSE_UNICODE -Woverloaded-virtual -DEXPORT_LIB -DEXPORT_EVENTS -DWXMAKINGDLL_SCI -Wall -g -iquote.objs31\include -I.objs31\include -I. -IC:\wxwidgets\include -IC:\wxwidgets\lib\gcc_dll\mswu -Isdk\wxscintilla\include -Iinclude\tinyxml -Iinclude -Iinclude\tinyxml -Iinclude\scripting\bindings -Iinclude\scripting\include -Iinclude\scripting\sqplus -Iinclude\mozilla_chardet -Iinclude\mozilla_chardet\mfbt -Iinclude\mozilla_chardet\nsprpub\pr\include -Iinclude\mozilla_chardet\xpcom -Iinclude\mozilla_chardet\xpcom\base -Iinclude\mozilla_chardet\xpcom\glue -c C:\cb_svn\src\sdk\annoyingdialog.cpp -o .objs31\sdk\annoyingdialog.o
Hello,
At least Windows 10 (64-bit) versions of SVN 11887 and SVN 11889 fail to build successfully because of errors in update.bat, which is part of the post build command for the default section for Spellchecker. Update.bat asks for input from the user as displayed below:
0 File(s) copied
C:SpellChecker-off.png
C:SpellChecker.png
2 File(s) copied
Copy image files from rc to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker
From rc\16x16 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\16x16
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\16x16
From rc\20x20 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\20x20
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\20x20
From rc\24x24 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\24x24
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\24x24
From rc\28x28 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\28x28
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\28x28
From rc\32x32 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\32x32
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\32x32
From rc\40x40 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\40x40
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\40x40
From rc\48x48 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\48x48
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\48x48
From rc\56x56 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\56x56
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\56x56
From rc\64x64 to ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\64x64
Make dir ..\..\..\devel31_64\share\CodeBlocks\SpellChecker\64x64
Does ..\..\..\output31_64\share\CodeBlocks\SpellChecker specify a file name
or directory name on the target
(F = file, D = directory)?
Also there are three REM statements that don't make a lot of sense to me either (as to why they are even there?). It looks almost like somebody had been experimenting and forgot to clean up.
Removing the post build command allows me to build those versions of C::B
Regards!