Search found 62 matches

by tigerbeard
Sat Sep 22, 2018 12:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Re: Linux File naming debug/release or --enable-debug not working?

Thanks for you patience. I just redid the whole sequence again, one time with --debug-enable and one time with --debug-disable. This time, I got the files with the same name, but with very much increased sizes as one would expect when debug symbols are disabled. The first time I was seeing both with...
by tigerbeard
Sat Sep 22, 2018 3:04 am
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Re: Linux File naming debug/release or --enable-debug not working?

In order to generate the debug build all you do is add Code: Select all --enable-debug Well, thats what I though before I started this post. When I compiled with that setting and without that setting, the classes were almost exactly the same size. The I was told (see first posts) that --enable-debu...
by tigerbeard
Fri Sep 21, 2018 3:37 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Re: Linux File naming debug/release or --enable-debug not working?

Thanks for your explanations. In fact, I had been running a non MSVC toolchain in Windows for many years, also running wxWidgets. The issues I came across where when I am switching over to Linux. Obviously I failed to clarify that enough. So all things below talks about the Linux world. I managed to...
by tigerbeard
Fri Sep 21, 2018 11:11 am
Forum: Open Discussion
Topic: Wiki editing errors
Replies: 1
Views: 2175

Wiki editing errors

I am tryping to edit some pages of the wiki. I am getting errors, to which I can not find an explantion on the wiki ifself Trying to add a page and tryping to put stuff to my own Talk page and gave me *** Forbidden. You submitted too quickly. You may try again in a few seconds. *** - This did not we...
by tigerbeard
Fri Sep 21, 2018 9:43 am
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Re: Linux File naming debug/release or --enable-debug not working?

you are right, I meant the -g option, "produce debugging symbols". I was not talking about the d prefix. My main focus between debug/release was the debug symbols, though, not so much the differences in CRT. Maybe thats why I was confused by some of the statements before. But I understand the differ...
by tigerbeard
Thu Sep 20, 2018 6:54 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined Reference in Static Library
Replies: 7
Views: 1060

Re: Undefined Reference in Static Library

When I do not misunderstand you you are talking about how to setup wxWidget project with CodeBlock in the future? Generally you might want to check out the CodeBlock forum for issuses around CB Porjects with wxWidgets. I tend to setup my compiler seetings to include the wxWIdgets library and standar...
by tigerbeard
Thu Sep 20, 2018 6:37 pm
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu
Replies: 6
Views: 1227

Re: wx compilation freezes ubuntu

Add on to the last post: After compiling like that a few times, there is clearly a huge disadvantage on Xubuntu Linux to use the 'make -j' without a job number: The builds take a lot longer than running them without job number make -j // no job nnumber mean unlimited make -j4 // on a 4 core machine ...
by tigerbeard
Thu Sep 20, 2018 6:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Re: Linux File naming debug/release or --enable-debug not working?

Excuse my ignorance, but wasn't the -d compiler switch part of the --enable-debug when running configure?

When that is not working (obviously), the files stay small, how would I add the -d when using the configure/make system?
by tigerbeard
Thu Sep 20, 2018 5:00 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Re: Linux File naming debug/release or --enable-debug not working?

OK, thats good to know. I am seeing this while been compiling 2.9, so would that be the same there? I would prefer to think of both as "Release" with new bits as wxLogDebug and Dump. Mainly because one may leave it in the deliveries. I wonder if I can trace into the wxFunctions under Linux. PS: I ad...
by tigerbeard
Thu Sep 20, 2018 4:31 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux File naming debug/release or --enable-debug not working?
Replies: 13
Views: 1666

Linux File naming debug/release or --enable-debug not working?

While compiling wxWidgets in Linux I can see (too) little difference between debug and relaese build. The first build I did with ../configure ... --enable-debug ... the second build with ../configure ... --disable-debug ... I got different sized files, e.g. 8MN vs 9MB and they have the same filename...
by tigerbeard
Thu Sep 20, 2018 1:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Linux compilation - tons of warnings
Replies: 2
Views: 1031

Re: Linux compilation - tons of warnings

Thanks
I helps to know that you guys are annoyed with it, too.

I agree that the best way is to bear with it, then
by tigerbeard
Thu Sep 20, 2018 11:14 am
Forum: Compiler / Linking / IDE Related
Topic: Linux compilation - tons of warnings
Replies: 2
Views: 1031

Linux compilation - tons of warnings

When I compile wxWidgets on standard Ubuntu 16.04 I am getting tons of compiler warnings. (e.g. locally defined but not used) I know that the code still runs, but I have been using gcc under Windows (MingGw) and there I got no warnings at all. In the wiki installation instructions I found no hint on...
by tigerbeard
Thu Sep 20, 2018 11:04 am
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu
Replies: 6
Views: 1227

Re: wx compilation freezes ubuntu

[Solved] Thanks a lot @DavidHart. With your tips compilation went through with 'make -j'. I amnot sure what of the 2 things solved it, though. I put it here again in case I run into the problem again: [*]open a text only console (Ctrl-Alt-F1) [*]modiy the TEMPDIR variable with mkdir tmp export /hom...
by tigerbeard
Thu Sep 20, 2018 10:41 am
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu
Replies: 6
Views: 1227

Re: wx compilation freezes ubuntu

@doubelmax. The system got 8GB Ram, and 20GB of swap. I would have thought thats more than suffifient to run a massive compile job. Indeed I could use make -4 (4 cores), but if running make -j without a job number is dangerous, I am surprised that it is never mentioned anywhere in the descriptions. ...
by tigerbeard
Wed Sep 19, 2018 11:22 pm
Forum: Compiler / Linking / IDE Related
Topic: wx compilation freezes ubuntu
Replies: 6
Views: 1227

wx compilation freezes ubuntu

I have to say I am new to Linux, so please bear with me. I am trying to compile wxWidgets from tar.gz with configure/make -j to use my 4 cores. The problem is that my machine freezes after a few seconds. My memory indicator goes straight up and then the machine is frozen after it reaching 100%. The ...