Hi,
I've been trying to follow the article at:
However, I've got the latest XCode and it doesn't seem to have a CPP Carbon template available - is this something that I can remedy (how?) and, if not, what's my best way forward to develop WX projects using XCode?
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
"Tim Burgess" <t...@raisedbar.net> Jan 11 01:50PM ^
Hi,
I've been trying to follow the article at:
#Creating_the_project_and_its_files
However, I've got the latest XCode and it doesn't seem to have a CPP Carbon
template available - is this something that I can remedy (how?) and, if not,
what's my best way forward to develop WX projects using XCode?
OK, I saw that but was made unsure by the lack of the template being referenced, so wanted to check. I'm new to programming on the Mac and very rusty with c++/c anyway, so I'm doing baby steps and trying to check before I end up in a mess. Thanks for the response.
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
From: wx-u...@googlegroups.com [mailto:wx-u...@googlegroups.com] On Behalf Of M Gagnon
Sent: 11 January 2011 19:33
To: wx-u...@googlegroups.com
Subject: Re: Creating a WXWidgets template in XCode
Hi Tim,
--
Many thanks for this - it's much appreciated. I'll get busy:)
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
OK,
I appear to be making some progress, but I’ve got a couple of queries so far with this method:
1 – I get a warning when I make the libraries:
ld: warning: in /System/Library/Frameworks//QuickTime.framework/QuickTime, missing required architecture x86_64 in file
SetFile -t APPL wxrc
I’m developing a MIDI application, so I don’t think that QuickTime is relevant to me, but I could be wrong. Any advice appreciated on this.
2 – The instructions tell me to:
Click the "info" icon (blue circle with white i)
I should point out that I’m a blind programmer using the built-in VoiceOver speech output to perform these steps. I can’t get VoiceOver to identify this icon, so can I get to the same place via a menu, or sub-menu from any other item, please? If not, I’ll have to try and find some sighted help.
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
From: wx-u...@googlegroups.com [mailto:wx-u...@googlegroups.com] On Behalf Of Tim
Sent: 12 January 2011 04:56
To: wx-u...@googlegroups.com
Ok, belay some of what I’ve just submitted. With respect to the second point, I’ve found a way of interacting with a toolbar to then click on the Info icon. I’m now trying to figure out how to get text into the flags and product name fields within the settings table, as a copy/paste from a TextEdit window just yields a sound effect. Just to say that when I ran the ./wx-config commands to generate the flags and libs references, I piped them into text files so that I could try and copy/paste, but it doesn’t appear to work. Might be another VoiceOver trick that I’m missing.
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
T> On Mac OS X and on Windows XP, I noticed that the compiler and linker flags for
T> the samples are insufficient to use wxXmlDocument.
That's because it's in a separate library which the samples that don't
need it don't use.
T> Steps to recreate:
T> 1) Use wx trunk
T> 2) Compile the library
T> 3) Compile samples/config
T> 4) Edit samples/config/conftest.cpp to add these two lines
T> a) #include <wx/xml/xml.h>
T> b) wxXmlDocument doc;
T> 5) Try to recompile
T> 6) See linker errors for missing symbol wxXmlDocument.
You'd get the same problem if you added something non-core (e.g. wxGrid
which is in adv library) to the minimal sample.
T> Was this done intentionally, i.e. avoiding using the XML features in the
T> samples?
Yes. The samples that need it should mention "xml" in the list of
libraries they use in their .bkl file.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Hi Tim,
I’ve now been able to put the libs and flags entries into the build configuration within Xcode – it would seem that you have to click on the edit field before you can enter anything into it. I set my product name to MDRLite (I assume I didn’t have to specify .app) and attempted to build and run, but got a failure. Since I still haven’t been able to locate the ZeroLink setting, I’m wondering if I’m using a more up-to-date version of Xcode than you and this setting has been removed or renamed. My version is 3.2.5. I get 1 build error, G++ 4.2 failed with error code 1.
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
From: wx-u...@googlegroups.com [mailto:wx-u...@googlegroups.com] On Behalf Of Tim
Sent: 12 January 2011 04:56
To: wx-u...@googlegroups.com
Hi,
Sorry for the delay in reporting back on this – life got in the way.
I reported earlier that I’d bilt my skeleton project, but got an error. Here it is:
/Developer/usr/bin/g++-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -L/Users/tim/Documents/Projects/XCode/MDRLite/MDRLite/build/Debug -F/Users/tim/Documents/Projects/XCode/MDRLite/MDRLite/build/Debug -filelist /Users/tim/Documents/Projects/XCode/MDRLite/MDRLite/build/MDRLite.build/Debug/MDRLite.build/Objects-normal/x86_64/MDRLite.LinkFileList -mmacosx-version-min=10.6 L/wxwidgets-2.9.1/build-cocoa-debug/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_osx_cocoau_xrc-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_osx_cocoau_html-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_osx_cocoau_qa-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_osx_cocoau_adv-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_osx_cocoau_core-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_baseu_xml-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_baseu_net-2.9.a /wxwidgets-2.9.1/build-cocoa-debug/lib/libwx_baseu-2.9.a -framework WebKit -lexpat -lwxregexu-2.9 -lwxtiff-2.9 -lwxjpeg-2.9 -lwxpng-2.9 -lz -lpthread -liconv -framework Cocoa -o /Users/tim/Documents/Projects/XCode/MDRLite/MDRLite/build/Debug/MDRLite.app/Contents/MacOS/MDRLite
i686-apple-darwin10-g++-4.2.1: L/wxwidgets-2.9.1/build-cocoa-debug/lib: No such file or directory
Command /Developer/usr/bin/g++-4.2 failed with exit code 1
I suspect the culprit is the “-L” before the /wxwidgets-2.9.1… in the library path. This character pair appeared when I piped the output from ./wx-config –libs to a text file. I spotted it at the time and was curious (I get the same for cxxflags) – should it be there, or this an artifact of some sort?
Thanks for any help.
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
From: wx-u...@googlegroups.com [mailto:wx-u...@googlegroups.com] On Behalf Of Tim
Sent: 12 January 2011 04:56
To: wx-u...@googlegroups.com
OK, so XCode needs the -L, even though you're providing the actual path in a field designed to specify additional link libraries? Should there be a space between the /L and the /wxwidgets...?
Hi,
I’m now up and running. The lack of the hyphen was one thing, but I also fell foul of having an additional blank entry after pasting in the library flags data. Re-reading the web article pinned it down and I now having a working skeleton project.
Many thanks for all the help on this. Now I’m off to read about creating WX dialogs and list boxes.
Best wishes.
Tim Burgess
Raised Bar Ltd
Phone: +44 (0)1827 719822
Don't forget to vote for improved access to music and music technology at
http://www.raisedbar.net/petition.htm
From: wx-u...@googlegroups.com [mailto:wx-u...@googlegroups.com] On Behalf Of Tim
Sent: 21 January 2011 01:32