Search found 345 matches

by stahta01
Tue Mar 31, 2020 1:13 am
Forum: Compiler / Linking / IDE Related
Topic: Unable to successfully compile wxWidgets-3.0.4
Replies: 27
Views: 332

Re: Unable to successfully compile wxWidgets-3.0.4

Waingrove wrote:
Tue Mar 31, 2020 12:54 am
Using the config.gcc file is appropriate.
making mistakes passing arguments t o the command adds to the possibility of mistakes. Read the config.gcc file before dismissing it.
Good luck figuring out your problem.
I am giving up.

Tim S.
by stahta01
Tue Mar 31, 2020 12:09 am
Forum: Compiler / Linking / IDE Related
Topic: Unable to successfully compile wxWidgets-3.0.4
Replies: 27
Views: 332

Re: Unable to successfully compile wxWidgets-3.0.4

Are you saying that this command is the one that fails?

Code: Select all

mingw32-make.exe -f makefile.gcc SHARED=1
Editing config.gcc is not normally preferred way for newbies to use.

Tim S.
by stahta01
Mon Mar 30, 2020 11:29 pm
Forum: Compiler / Linking / IDE Related
Topic: Unable to successfully compile wxWidgets-3.0.4
Replies: 27
Views: 332

Re: Unable to successfully compile wxWidgets-3.0.4

What command you using to build shared wxWidgets that does not work?
Edit: And where are you running that command?

Tim S.
by stahta01
Mon Mar 30, 2020 11:26 pm
Forum: Compiler / Linking / IDE Related
Topic: [SOLVED] Cannot open file "wxbase31ud.lib" LNK1104 error
Replies: 10
Views: 89

Re: Cannot open file "wxbase31ud.lib" LNK1104 error

What value did you use for the global variable "wxwin"?

Tim S.
by stahta01
Mon Mar 30, 2020 8:43 pm
Forum: Compiler / Linking / IDE Related
Topic: warning meaning
Replies: 5
Views: 166

Re: warning meaning

kishorsoni wrote:
Mon Mar 30, 2020 6:22 pm
Core2duo laptop with 4 gb ram,
win7 32 bit
Code blocks 17.12
wxwidgets 3.0.4
Code::Blocks is an IDE/Editor it is not a Compiler!

Tim S.
by stahta01
Sun Mar 29, 2020 4:59 am
Forum: Compiler / Linking / IDE Related
Topic: Link Problems in Linux
Replies: 13
Views: 150

Re: Link Problems in Linux

My wild guess is you need to build the static wxWidgets library with "-fPIC".

Tim S.
by stahta01
Sat Mar 28, 2020 10:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Win7: compiled wxWidgets 3.1.3, cannot build "minimal" sample.
Replies: 11
Views: 219

Re: Win7: compiled wxWidgets 3.1.3, cannot build "minimal" sample.

I would guess a corrupt or edited makefile.gcc or config.gcc is the cause of the posters problem. But those are shared between the library and samples, and the library build just fine? I did not see any c:\MinGW in the OP's setup (for some reason, he seems to have it installed in C:\SVILUPPO\MinGWG...
by stahta01
Sat Mar 28, 2020 8:54 pm
Forum: Compiler / Linking / IDE Related
Topic: Win7: compiled wxWidgets 3.1.3, cannot build "minimal" sample.
Replies: 11
Views: 219

Re: Win7: compiled wxWidgets 3.1.3, cannot build "minimal" sample.

I could not duplicate the problem using the MinGW.org GCC of same version as poster.

NOTE: This compiler likely has issues if a different compiler is in C:\mingw folder.

I would guess a corrupt or edited makefile.gcc or config.gcc is the cause of the posters problem.

Tim S.
by stahta01
Sat Mar 28, 2020 1:21 am
Forum: Compiler / Linking / IDE Related
Topic: Unable to successfully compile wxWidgets-3.0.4
Replies: 27
Views: 332

Re: Unable to successfully compile wxWidgets-3.0.4

The Original Post reminds me of the error that needs this to be added to work around the cause. The cause tends to be in the C Runtime source code used by MInGW GCC. LDFLAGS="-Wl,--allow-multiple-definition" Edit1: Possible build command to try. mingw32-make -f makefile.gcc BUILD=debug SHARED=0 LDFL...
by stahta01
Fri Mar 27, 2020 6:46 pm
Forum: Compiler / Linking / IDE Related
Topic: Unable to successfully compile wxWidgets-3.0.4
Replies: 27
Views: 332

Re: Unable to successfully compile wxWidgets-3.0.4

To ONEEYEMAN: Replace "mingw-w64" with "mingw32-make" in directions:
by stahta01
Fri Mar 27, 2020 6:42 pm
Forum: Compiler / Linking / IDE Related
Topic: Unable to successfully compile wxWidgets-3.0.4
Replies: 27
Views: 332

Re: Unable to successfully compile wxWidgets-3.0.4

Please state the reason for these two changes?

Code: Select all

TOOLKIT_VERSION ?= 2
UNICODE ?= 0
Please give information on the GCC compiler being used.
Edit: Found version 7.2.0 in your post.

Tim S.
by stahta01
Fri Mar 13, 2020 1:38 am
Forum: Compiler / Linking / IDE Related
Topic: Error Compiling wxwidgets-3.1.3 on windows10 with mingw compiler
Replies: 2
Views: 121

Re: Error Compiling wxwidgets-3.1.3 on windows10 with mingw compiler

I am guessing wxWidgets expat bug likely was fixed by expat/lib/xmlparse.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index bb56e59..d8e1f3d 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -737,9 +737,11 @@ wr...
by stahta01
Mon Mar 09, 2020 7:17 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxWidgets 3.1.3 with VS2019
Replies: 8
Views: 225

Re: Build wxWidgets 3.1.3 with VS2019

I would guess that wxCOMPILER_PREFIX is vc142 .

wxARCH_SUFFIX is normally x64

EDIT2: You really should post the command you used to build wxWidgets!

Tim S.
by stahta01
Thu Mar 05, 2020 10:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 528

Re: Undefined Reference Errors

windres --use-temp-file -i../../samples/sample.rc -ogcc820W64x64_mswuddllmono\minimal_sample_rc.o --define wxUSE_DPI_AWARE_MANIFEST=2 --define __WXMSW__ --define _UNICODE --include-dir .\..\..\lib\gcc820W64x64_dllmono\mswud --include-dir ./../../include --include-dir . --define WXUSINGDLL --include...
by stahta01
Thu Mar 05, 2020 3:58 am
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference Errors
Replies: 24
Views: 528

Re: Undefined Reference Errors

I am starting to believe you are incapable of learning. You keep doing things that make no sense. I suggest you learn to use a version control system! I suggest you learn how to get help for all the toolchain commands you use! As in "windres --help". I suggest you stop changing multiple things at th...