Search found 127 matches

by Louigi Verona
Thu Oct 29, 2009 8:06 am
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

tbreina: yep, everything works from IDE, I compiled my project fine. Again, what I did was compile the latest version. Also, do not install into Program Files, create a folder without spaces, like winbin.
by Louigi Verona
Wed Oct 28, 2009 6:53 pm
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

The program 'wx-config' can be found in the following packages: * libwxbase2.4-dbg * libwxbase2.4-dev * libwxbase2.6-dbg * libwxbase2.6-dev * libwxbase2.8-dbg * libwxbase2.8-dev * libwxgtk2.4-dbg * libwxgtk2.4-dev * libwxgtk2.6-dbg * libwxgtk2.6-dev * libwxgtk2.8-dbg * libwxgtk2.8-dev Try: sudo apt-...
by Louigi Verona
Mon Oct 26, 2009 1:28 pm
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

I also tried installing wxDev-C++ under Wine. But projects do not compile and all have a common error:

C:\winbin\Dev-Cpp\Projects\Makefile.win [Build Error] exe: *** [Objects/MingW/Whatever_private.res] Error -1073741819

ps: fixed that by installing newer wine version from git
by Louigi Verona
Mon Oct 26, 2009 11:15 am
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

* libwxbase2.4-dbg * libwxbase2.4-dev * libwxbase2.6-dbg * libwxbase2.6-dev * libwxbase2.8-dbg * libwxbase2.8-dev * libwxgtk2.4-dbg * libwxgtk2.4-dev * libwxgtk2.6-dbg * libwxgtk2.6-dev * libwxgtk2.8-dbg * libwxgtk2.8-dev This is what the terminal says. In Code Blocks I did not find where I can ente...
by Louigi Verona
Thu Oct 15, 2009 11:45 am
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

Guys, I've installed wxwidgets dev, but how do I link it to the project? The default paths do not work and the project doesn't compile.
by Louigi Verona
Sat Sep 05, 2009 4:10 pm
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

I installed g++, though I found no "essential build" or anything like that in the synaptic. Installed Code Blocks (it can import dev, yay!). Installed wxWidgets from synaptic. Also installed wxSmith. Tried to build a test project, but the compiler said that there is no wx/wx.h file. Does it mean I h...
by Louigi Verona
Fri Sep 04, 2009 8:17 pm
Forum: C++ Development
Topic: Moving to Linux
Replies: 19
Views: 2059

Moving to Linux

Hey guys! With lots of your help I was able to write two applications which are very useful to me. However, now I have moved to Linux. I am using Ubuntu 9.04 I would now like to compile the apps I made for linux. The audio library I used has a version for linux, so there seems to be no problem. But ...
by Louigi Verona
Tue Aug 18, 2009 10:22 am
Forum: C++ Development
Topic: variable or field `xxxx' declared void
Replies: 3
Views: 982

I found the problem. In my case I forgot to specify type in function declaration:

void Something(int x);

So to generalize, void kind of problems usually appear due to a typo or that sort of simple things. Watch out for them!
by Louigi Verona
Tue Aug 18, 2009 10:09 am
Forum: C++ Development
Topic: variable or field `xxxx' declared void
Replies: 3
Views: 982

Hm. So what was the problem? I have the same thing and I already spent a lot of time trying to figure out what is wrong, but so far - no luck.
by Louigi Verona
Fri Aug 14, 2009 7:24 am
Forum: C++ Development
Topic: How to launch an instance of the app already running?
Replies: 11
Views: 1503

When used the code you wrote, got an error: wxGetApp undeclared.

However, I tried this and it worked:

Code: Select all

::wxExecute(wxTheApp->argv[0]);
thanks for the help, doublemax!
by Louigi Verona
Fri Aug 14, 2009 5:36 am
Forum: C++ Development
Topic: How to launch an instance of the app already running?
Replies: 11
Views: 1503

Okay, thanks guys, I will try it.

My programm already can catch key events globally, so there shouldn't be much problem!
by Louigi Verona
Thu Aug 13, 2009 9:09 am
Forum: C++ Development
Topic: How to launch an instance of the app already running?
Replies: 11
Views: 1503

Yeah, I need multiplatform. Funny if this is not possible - seems like simple functionality.
by Louigi Verona
Thu Aug 13, 2009 6:37 am
Forum: C++ Development
Topic: How to launch an instance of the app already running?
Replies: 11
Views: 1503

My app - the app that I am currently running. For instance, I am running Notepad and from within Notepad I want to be able to press a key and another Notepad opens.
by Louigi Verona
Wed Aug 12, 2009 6:25 pm
Forum: C++ Development
Topic: How to launch an instance of the app already running?
Replies: 11
Views: 1503

How to launch an instance of the app already running?

I would like to fire up another instance of the app by, say, pressing a key. Is that possible and if yes - then how? I did search the forum and wiki and documentation. Found wxExecute, but I am not sure this is the right thing.
by Louigi Verona
Sun Aug 02, 2009 5:04 pm
Forum: C++ Development
Topic: When calling MDI child frame, app crashes
Replies: 8
Views: 1906

doublemax: thank you very much, got it!