Greetings:
I'm completely new to wxWidgets but have programmed in Motif for years, so I'm not completely ignorant.
Computer: PowerBook G4, 1.5GHz, 512 MB
OpSys: Mac OS X, Version 10.4.2
wxWidgets: Version 2.6.1
I had no problems compiling and installing wxWidgets. To get programs to compile, I've found that I need to include the compiler directive:
-I/usr/local/lib/wx/include/mac-ansi-release-2.6
to get wx/setup.h
I've compiled and run the samples 'minimal' and 'controls' as recommended. When I run either of of these applications, they are only semi-functional. I can click on the window control buttons (close, minimize, and resize), but I cannot click on and drag the window. Also, the window remains behind the terminal window and cannot be selected. None of the controls in 'controls' can be used, but text can be selected.
Does anyone know what is going on?
Thanks,
Mark
Compiling Samples on a Mac Topic is solved
-
- In need of some credit
- Posts: 5
- Joined: Tue Aug 16, 2005 4:10 pm
- Location: Northern Utah, USA
- Contact:
Double clicking in Finder opened the application in Terminal, just as I had done before, but it did not solve the problem. I looked at the 'Open With' options, and saw that I could open it in X11. That didn't work either.KevinHock wrote:To run the application, you need to do one of the following:
- Double-click on it from the Finder
Ah, I think I understand where we have a disconnect. I'm using gcc, ln, and make. I'm not using Xcode, so I don't have a .app file. Do I have to use wxWidgets in the Xcode environment? I so much prefer vi and gcc.KevinHock wrote:- Use the command open foo.app where foo is the name of the program. So if you compiled a sample called "text" you would use text.app.
HTH
Mark