Search found 64 matches

by Kenneth Camargo
Wed Feb 13, 2013 12:39 am
Forum: Platform Related Issues
Topic: wxToolbar without buttons on mac
Replies: 1
Views: 1266

wxToolbar without buttons on mac

I am trying to build an application that I already have running under Linux and Windows (Ubuntu for several versions since 9.12, Windows since XP, in both cases 32 and 64 bit versions). I managed to build it without problems with wxWidgets 2.9.4 under Ubuntu 12.10 64 bits. Under MacOSX Mountain Lion...
by Kenneth Camargo
Thu Jan 24, 2013 6:02 pm
Forum: Compiler / Linking / IDE Related
Topic: Windows 64 bits - Nightmare
Replies: 8
Views: 2826

Re: Windows 64 bits - Nightmare

robocyte wrote:I chose the Express Version for Windows Desktop there:

http://www.microsoft.com/visualstudio/eng/downloads

Worked without problems for me!

Edit: :D
I did install it, but the 64 bit stuff was nowhere to be seen, I had to reinstall the 7.1 SDK...
by Kenneth Camargo
Thu Jan 24, 2013 11:12 am
Forum: Compiler / Linking / IDE Related
Topic: Windows 64 bits - Nightmare
Replies: 8
Views: 2826

Re: Windows 64 bits - Nightmare

Kenneth Camargo wrote:
robocyte wrote:I'm using Visual Studio Express 2012 for Windows Desktop on Windows 7 64 bit, Win 8 is not required.
I tried to downloadit from MS and the download was interrupted... This is slightly off-topic, but how did you manage to download it?

Just realized my stupid mistake. Downloading it now.
by Kenneth Camargo
Thu Jan 24, 2013 11:09 am
Forum: Compiler / Linking / IDE Related
Topic: Windows 64 bits - Nightmare
Replies: 8
Views: 2826

Re: Windows 64 bits - Nightmare

robocyte wrote:I'm using Visual Studio Express 2012 for Windows Desktop on Windows 7 64 bit, Win 8 is not required.
I tried to downloadit from MS and the download was interrupted... This is slightly off-topic, but how did you manage to download it?
by Kenneth Camargo
Thu Jan 24, 2013 10:46 am
Forum: Compiler / Linking / IDE Related
Topic: Windows 64 bits - Nightmare
Replies: 8
Views: 2826

Re: Windows 64 bits - Nightmare

Are you bound to Visual Studio 10? If not I recommend giving VS2012 a try. Even the Express version has the 64 bit compiler included (no need to install the SDK). Building wx and the examples worked straight out of the box. I tried, but it requires Windows 8, and I got Windows 7... I am using the e...
by Kenneth Camargo
Thu Jan 24, 2013 3:07 am
Forum: Compiler / Linking / IDE Related
Topic: Windows 64 bits - Nightmare
Replies: 8
Views: 2826

Windows 64 bits - Nightmare

Has anyone managed to get things working under win64? I have a Windows 7 64 bits virtual machine, on which I installed Visual Studio C++ 10 and the SDK, which includes the 64 bit compiler (at least the crosscompiler). I managed to create the library (static) with the makefile, but when I try to get ...
by Kenneth Camargo
Sat May 29, 2010 2:53 pm
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

The easy answer is that there's something wrong with your 32-bit build e.g. a gcc failure, or a 64-bit lib getting linked. I've no idea if that's actually true, of course. I went through all the generated objects and libraries being linked and that apparently is not the case, but I may have missed ...
by Kenneth Camargo
Sat May 29, 2010 2:38 am
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

The docs will give you a fuller/better explanation, but my understanding is that -fPIC tells gcc to create a library that expects its base address to vary (for security reasons), so the symbols are given relative addresses. This only applies in 64 bit builds, iirc because in 32 bit ones there isn't...
by Kenneth Camargo
Thu May 27, 2010 11:46 am
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

Things work without a hitch on a 32 bit VM Ah, that's interesting. CodeLite used to have a similar problem with symbol clashes in dynamically-loaded libs in 64-bit builds. Originally this was worked-around by passing the RTLD_DEEPBIND option to dlopen, but the problem was cured by ensuring that all...
by Kenneth Camargo
Thu May 27, 2010 11:38 am
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

Things work without a hitch on a 32 bit VM Ah, that's interesting. CodeLite used to have a similar problem with symbol clashes in dynamically-loaded libs in 64-bit builds. Originally this was worked-around by passing the RTLD_DEEPBIND option to dlopen, but the problem was cured by ensuring that all...
by Kenneth Camargo
Thu May 27, 2010 11:32 am
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

doublemax wrote:I don't know too much about Linux or Code::Blocks, but is it possible that C::B somehow messes up compiler or linker settings because sqlite.c is a C file and not CPP?
Hi,

Unlikely, this last example was created using a makefile, and it uses gcc for sqlite3.c, not g++.

But thanks anyway.

Ken
by Kenneth Camargo
Thu May 27, 2010 1:22 am
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

ok. but maybe still it's some global/static variable in there that triggers the issue (not sure why, but this whole bug makes no sense so... ^^) maybe post the stack trace again From valgrind: Process terminating with default action of signal 11 (SIGSEGV) Bad permissions for mapped region at addres...
by Kenneth Camargo
Thu May 27, 2010 12:40 am
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

That's a stab in the dark, but maybe check if wxSqlite has some static data, that could get initialized to soon (e.g. declaring a global wxString can cause such issues, since the wxString constructor will be entered before wxWidgets was initialized) Hi Auria, Thanks for the suggestion, but in fact ...
by Kenneth Camargo
Wed May 26, 2010 10:43 pm
Forum: Platform Related Issues
Topic: Weird segmentation fault problems
Replies: 13
Views: 2880

Weird segmentation fault problems

I started to experience segmentation problems after an upgrade. I downgraded (to 2.8.10) and am still facing the same problems. I'm, getting desperate, and at the end of my wits. Any help or hint will be greatly appreciated. I managed to boil things down to a very minimal case (under ubuntu lucid, 6...
by Kenneth Camargo
Wed May 26, 2010 1:26 pm
Forum: Platform Related Issues
Topic: Segmentation fault with 2.8.11
Replies: 9
Views: 1915

The next thing I'll do is to revert to 2.8.10. I'm officially screwed. Reverting didn't change anything. I hand-checked (with the built-in file viewer from mc) all the wx libs and all the objs in my app. They are all 64 bit objects. I don't know what else to do. If anyone has any idea of why this m...