Search found 310 matches

by stahta01
Thu Dec 19, 2019 9:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Precompiled header filesize
Replies: 9
Views: 250

Re: Precompiled header filesize

How is it possible that an empty (default) header file creates such a large compiled file?
I do NOT consider all of the files in "wx/wx.h" to be a small/empty PCH header.

Tim S.
by stahta01
Tue Dec 17, 2019 7:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Missing define in makefile.vc for dataview sample in wx313 causes failure
Replies: 4
Views: 184

Re: Missing define in makefile.vc for dataview sample in wx313 causes failure

Your makefile can not find a standard compiler header; therefore the compiler/toolchain setting are wrong! Edit: I would first look inside the makefile before blaming Code::Blocks. Next, run the makefile from the command line to be sure it works. Then, the problem likely would be inside Code::Blocks...
by stahta01
Tue Dec 17, 2019 1:17 am
Forum: Compiler / Linking / IDE Related
Topic: Missing define in makefile.vc for dataview sample in wx313 causes failure
Replies: 4
Views: 184

Re: Missing define in makefile.vc for dataview sample in wx313 causes failure

This is not an wxWidgets problem; this is a toolchain not being configured correctly.

Tim S.
by stahta01
Fri Dec 13, 2019 5:50 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.1.3 Compile Error
Replies: 11
Views: 435

Re: 3.1.3 Compile Error

Code: Select all

g++ (MinGW.org GCC-8.2.0-5) 8.2.0
wx git master builds without the error using above version.

Tim S.
by stahta01
Fri Dec 13, 2019 5:39 am
Forum: Compiler / Linking / IDE Related
Topic: 3.1.3 Compile Error
Replies: 11
Views: 435

Re: 3.1.3 Compile Error

Problem happens on Git master and without "MONOLITHIC=1", it happens even faster. Trying a simple define of _CRT_RAND_S to see if that fixes the error. Edit: Looks like it was already defined in xmlparse.c so it is not likely to fix problem. Edit2: https://docs.wxwidgets.org/trunk/plat_msw_install.h...
by stahta01
Thu Dec 12, 2019 3:57 am
Forum: Compiler / Linking / IDE Related
Topic: 3.1.3 Compile Error
Replies: 11
Views: 435

Re: 3.1.3 Compile Error

Probably worth opening a ticket/PR.
Maybe, if I could duplicate it using git master. But, I see no reason to report a problem till then.
No idea, when I will have time to try it against git master.

Tim S.
by stahta01
Thu Dec 12, 2019 3:43 am
Forum: Compiler / Linking / IDE Related
Topic: 3.1.3 Compile Error
Replies: 11
Views: 435

Re: 3.1.3 Compile Error

Was able to duplicate this error. g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw313u_gcc_custom.dll @..\..\lib\gcc_dll\wxmsw313u_gcc_custom.dll.rsp -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw31u.a -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32...
by stahta01
Wed Dec 11, 2019 9:56 pm
Forum: Compiler / Linking / IDE Related
Topic: 3.1.3 Compile Error
Replies: 11
Views: 435

Re: 3.1.3 Compile Error

Post the commands used to build wxWidgets?
And, you know the Compiler you are using is very old, correct?

Tim S.
by stahta01
Tue Dec 03, 2019 11:41 am
Forum: Compiler / Linking / IDE Related
Topic: LNK2019 wxString::SubstrBufFromType
Replies: 8
Views: 461

Re: LNK2019 wxString::SubstrBufFromType

I thought wxDEBUG_LEVEL could be redefined in user code; can you confirm it can not be?

Tim S.
by stahta01
Tue Nov 05, 2019 1:03 am
Forum: Compiler / Linking / IDE Related
Topic: error compiling wxwidgets 3.1.3 with mingw and msys
Replies: 27
Views: 1221

Re: error compiling wxwidgets 3.1.3 with mingw and msys

hello stahta01 what? this isn't possible? Marco_84 I have no idea what you are trying to say! I posted once more the commands I used a day or so ago to do correctly what you was trying to do. I post it for the third time without code tags in case that is messing up your reading software! cd C:/wxWi...
by stahta01
Mon Nov 04, 2019 11:09 pm
Forum: Compiler / Linking / IDE Related
Topic: error compiling wxwidgets 3.1.3 with mingw and msys
Replies: 27
Views: 1221

Re: error compiling wxwidgets 3.1.3 with mingw and msys

No problem when using wxWidgets-3.1.3 cd C:/wxWidgets-3.1.3 mkdir -p /mingw/local ./configure --prefix=/mingw/local/wx-widget-win32/ \ --enable-monolithic --disable-shared --enable-accessibility make && make install export PATH=/mingw/local/wx-widget-win32/bin:$PATH cd samples/access && rm -f acces...
by stahta01
Mon Nov 04, 2019 9:46 pm
Forum: Compiler / Linking / IDE Related
Topic: error compiling wxwidgets 3.1.3 with mingw and msys
Replies: 27
Views: 1221

Re: error compiling wxwidgets 3.1.3 with mingw and msys

Code: Select all

--host=i586-mingw32msvc --build=i686-linux
Why are you using the above option? Why do you lie to the configure command?

Are you now using msys2 instead of msys from mingw.org?

If yes, then you need to decide if you are doing an 32 bit or 64 bit build of wxWidgets.

Tim S.