> On 02.06.2010, at 08:51, Daniel Kavaldjiev wrote:
>
> > I've tried compiling the Xcode 3.1 project included in the distribution,
> > but got linker error for "AudioServicesPlayAlertSound". Can't complain
> > since I'm trying Xcode 3.2, but perhaps that's a clue?
> >
> > Thank you so much in advance for any help!
>
> Although the name doesn't imply it, the ide/Xcode3 project ought to be
> more up-to-date, please try this. Sorry for the inconvenience, I should
> have moved the Xcode3.1 project away. I'll do it soon, as time permits.
>
> If this doesn't work, please try an older snapshot with ide/Xcode3.
>
> Other than that, I can't tell you anything about using Xcode with
> FLTK. Others may give you more answers.
>
> BTW.: This is all about FLTK 1.3. Please tell us which version and
> snapshot (or subversion release) you're using, if you still have
> problems.
>
> Albrecht
Albrecht, Ian,
thank you so much for taking the time to reply!
Unfortunately I still can't get this going, so I'll post exactly what I'm doing
in the hope you'll spot a dumb error without wasting too much time.
Disclaimer : I am coming from Windows, so no step is "obvious" to me, since I
am clutching at straws.
1. Downloaded fltk-1.3.x-r7626.tar.gz
2. Installation
$ tar xzf fltk-1.3.x-r7626.tar.gz
$ cd fltk-1.3.x-r7626
$ autoconf [tried both with and without]
$ ./configure
$ make
$ sudo make install
Note : at this point in time
- fltk libraries are properly copied to /usr/local/lib
- test examples in ./test are running fine
3. Copy Xcode3.1 (and later Xcode3) project template
$ cp -R ./ide/Xcode3.1/Project\ Templates/FLTK
/Developer/Library/Xcode/Project\ Templates/Other
4. Xcode -> File -> New Project -> FLTK
5. Try to compile main.cpp, got the aforementioned linker error for
"AudioServicesPlayAlertSound"
6. If I compile with Xcode3 template, I got 34 errors of sorts
".objc_class_name_NSPrintInfo", referenced from:
literal-poin...@__objc@__cls_r...@nsprintinfo in libfltk.a(Fl_Printer.o)
".objc_class_name_NSScreen", referenced from:
literal-poin...@__objc@__cls_r...@nsscreen in libfltk.a(Fl.o)
Thank you again for your time.
Cheers,
dan
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk