Rogue Wave and MS visual C++

Trying to get a simple RWCString declaration to happen but when I link I get error like :

unresolved external symbol "public: __thiscall RWCString::~RWCString(void)" (??1RWCString@@QAE@XZ)

I have included <rw/rwstring.h> and have directories set up and inlcude file set up to point to this calss but still get this.
bbooAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SalteCommented:
The problem is not with the include file etc.. The problem is when linking.

Did you include the proper .lib/.dll file?

Alf
0
bbooAuthor Commented:
I believe I have the correct path set up to get lib files. Do you know what .lib and .dll I would need so I can search around for them an verify the path
0
SalteCommented:
I have no clue, but if you have objdump program available or something similar you can probably search through the rw libraries until you find one that contains the functions.

The function as specified in the objdump is either with name mangling or with the name demangled. If demangled you see it like RWCString::~RWCString() or something like that, if mangled you will see the name the way the linker see the name, which is most likely the name in parenthesis above:

??1RWCString@@QAE@XZ

In some form or another.

Use objdump and search for that string and you should find the .lib file where it is. Also, you should probably take a look at the header file for the definition. If the function is defined inline it is possible it won't be in the library in this case it is the compiler that didn't include the inline function properly into your static code.

Alf
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cupCommented:
Are you using the 12 & 15 releases of Rogue Wave?  It will be something like std12s.lib, std12d.lib, std15s.lib or std15d.lib.  D are the debug versions.  You may also need tls12s.lib and thr12s.lib, depending on what you are doing.  If all else fails, make it multithreaded too.
0
AxterCommented:
bboo,
No comment has been added lately (197 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: split points between Salte & cup

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

Axter
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.