|
|
|
|||||
|
Compiling demos on Mac OS X 10.4.2
I've just started experimenting with Ice for possible use in a robotics project. I successfully compiled and ran the demos on Linux but am having trouble linking under Mac OS X 10.4.2. When I run make in the demo directory, I get the output below. I've set up the environment variables correctly, as far as I can tell, so I don't know why the linker is complaining.
% make making all in IceUtil making all in workqueue rm -f workqueue c++ -Wl,-executable_path,/Users/claude/Applications/Ice-2.1.2/bin -g -ftemplate-depth-128 -Wall -D_REENTRANT -L/Users/claude/Applications/Ice-2.1.2/lib -o workqueue WorkQueue.o -lIceUtil -lpthread /usr/bin/ld: Undefined symbols: typeinfo for IceUtil::NullHandleException typeinfo for IceUtil::ThreadSyscallException typeinfo for IceUtil::Thread typeinfo for IceUtil::Exception collect2: ld returned 1 exit status make[2]: *** [workqueue] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
__________________
Claude Sammut School of Computer Science and Engineering University of New South Wales Sydney, Australia |
|
|||||
|
Gcc 3.3
Thanks for the advice. I used gcc_select to switch to version 3.3, as you suggested, but I still get errors:
Default compiler has been set to: gcc version 3.3 20030304 (Apple Computer, Inc. build 1809) % make making all in IceUtil making all in workqueue rm -f workqueue c++ -Wl,-executable_path,/Users/claude/Applications/Ice-2.1.2/bin -g -ftemplate-depth-128 -Wall -D_REENTRANT -L/Users/claude/Applications/Ice-2.1.2/lib -o workqueue WorkQueue.o -lIceUtil -lpthread ld: Undefined symbols: __ZNSt15_List_node_base4hookEPS_ __ZNSt15_List_node_base6unhookEv __ZTIN7IceUtil19NullHandleExceptionE __ZTIN7IceUtil22ThreadSyscallExceptionE __ZTIN7IceUtil6ThreadE __ZTIN7IceUtil9ExceptionE make[2]: *** [workqueue] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
__________________
Claude Sammut School of Computer Science and Engineering University of New South Wales Sydney, Australia |
|
|||||
|
make clean
"make clean" worked. Sorry, that was a silly mistake. All the demos are working now. Thanks for the very quick responses.
Claude
__________________
Claude Sammut School of Computer Science and Engineering University of New South Wales Sydney, Australia |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No demos in RPM distribution of 3.1.1 | mefoster | Comments | 1 | 10-16-2006 12:30 PM |
| New SSL certificates for Ice 3.0 demos & tests | mes | Patches | 0 | 12-31-2005 12:43 PM |
| Demos on ICE | shantanu_k06 | Comments | 4 | 05-04-2004 02:06 PM |
| IcePack tutorials/ demos | stephan | Help Center | 5 | 10-13-2003 09:36 PM |
| problem to build demos with VC 6.0 | jxie | Help Center | 5 | 07-21-2003 12:43 AM |