-
April 12th, 2014, 02:31 AM
#1
C++ linking error
I'm having a problem linking in C++
I have my cpp file named as : XYZ
I have another header file and a corresponding cpp file which I’m trying to link.
which I have added in the C/ C++ (General) properties , I have added the path for the location as:
E:\MY_Plugin\My_Plugin_cutdown\My_Utilities
In the Linker/General, I ahve defined the location of the release library as below
E:\MY_Plugin\My_Plugin_cutdown\x64\Release
And in the linker properties as
added the name of the library
Thermal_Utilities.lib
When I compile, I get an error (link error)
"unresolved_external_symbol"
Can anyone please help?
-
April 14th, 2014, 07:02 AM
#2
Re: C++ linking error
Originally Posted by atee
When I compile, I get an error (link error)
"unresolved_external_symbol"
Can anyone please help?
Are you including header files?
http://www.codeproject.com/Articles/...-For-Beginners
ahoodin
To keep the plot moving, that's why.
-
April 15th, 2014, 09:17 AM
#3
Re: C++ linking error
Thanks a lot, this helps.
I used the example code, it compiles without errors, when I debug, it asks for the executable I should I be using.
Can you please help and advisewhat exe should I be specifying?
-
April 15th, 2014, 11:18 AM
#4
Re: C++ linking error
Missing header files won't generate link errors. You haven't given enough information to get a useful answer. Which symbol is the linker referring to?
-
April 16th, 2014, 12:54 AM
#5
Re: C++ linking error
Thanks a lot everyone. The problem is solved. The smaple code was very useful.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|