|
|
|
|||||
|
error C2027: use of undefined type 'Ice::0bjectAdapter'
I'm a new guy of ICE and I got a compliation error,
Simply to say, there is a function in a class,let say, void destroy(const Ice::Current& current) { ...... current.adapter->remove(current.id); ...... } And I got this error "error C2027: use of undefined type 'Ice::0bjectAdapter'" at this line. Looks like I did not include necessary .h, but I do include the .h which is generated from .ice . I am not sure if I missed anything else? Could someone help me on this? I serached the forums and did not get the answer. Thanks very much!
__________________
Wei Xue Shang Hai, China Open Source Project based on ICE |
|
||||||
|
For new Ice users, I recommend looking at the demos that are bundled with the Ice source distributions. There are some neat idioms in there that will facilitate and accelerate your Ice development endeavors. You should also consider reading our newsletters. The newsletters cover topics ranging from the very rudimentary to the advanced.
As for this particular problem, it does indeed sound like you are missing the appropriate header file. The quick route to solving this is to simply include the Ice.h header file, e.g.: #include <Ice/Ice.h> |
|
|||||
|
Quote:
__________________
Caleb Tennis Analytical Engineering, Inc. http://www.aei-tech.com Project: Our facility infrastructure heavily utilizes Ice Gentoo ebuild maintainer for Ice, IceRuby, etc. |
![]() |
| 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 |
| Undefined typeinfo on Tiger | daniell | Help Center | 1 | 11-10-2005 01:42 PM |
| slice2cpp: relocation error: ... undefined symbol: yydebug | catalin | Help Center | 1 | 11-07-2003 08:56 AM |
| Undefined make variable conflicting with environment | ashar | Bug Reports | 1 | 07-24-2003 04:14 PM |
| Ice-1.1.0: compile error "undefined reference to xercesc_2_2" | Urs | Help Center | 2 | 05-30-2003 04:29 PM |
| Why allow undefined behavior ? | Mogens Hansen | Comments | 2 | 02-19-2003 05:46 PM |