HI i have inherited a Tool at work and when i go to compile this is the errors i am getting Linking...
Creating library ..\..\..\VCProj ect32\common\Dl ls_Libs/Release/dsdev32.lib and object ..\..\..\VCProj ect32\common\Dl ls_Libs/Release/dsdev32.exp
devices.lib(Dev ices.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CSQL::BindStrin g(char *,int,int,int)" (?BindString@CS QL@@QAEHPADHHH@ Z)
devices.lib(dev defdl.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CSQL::BindStrin g(char *,int,int,int)" (?BindString@CS QL@@QAEHPADHHH@ Z)
devices.lib(DEV DICT.OBJ) : error LNK2001: unresolved external symbol "public: int __thiscall CSQL::BindStrin g(char *,int,int,int)" (?BindString@CS QL@@QAEHPADHHH@ Z)
C:\VCProject32\ common\Dlls_Lib s\Release/dsdev32.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I have link all the .lib files and all of the setting seem to be correct.
2 1286
HI i have inherited a Tool at work and when i go to compile this is the errors i am getting Linking...
Creating library ..\..\..\VCProj ect32\common\Dl ls_Libs/Release/dsdev32.lib and object ..\..\..\VCProj ect32\common\Dl ls_Libs/Release/dsdev32.exp
devices.lib(Dev ices.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CSQL::BindStrin g(char *,int,int,int)" (?BindString@CS QL@@QAEHPADHHH@ Z)
devices.lib(dev defdl.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CSQL::BindStrin g(char *,int,int,int)" (?BindString@CS QL@@QAEHPADHHH@ Z)
devices.lib(DEV DICT.OBJ) : error LNK2001: unresolved external symbol "public: int __thiscall CSQL::BindStrin g(char *,int,int,int)" (?BindString@CS QL@@QAEHPADHHH@ Z)
C:\VCProject32\ common\Dlls_Lib s\Release/dsdev32.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
I have link all the .lib files and all of the setting seem to be correct.
Hi James,
The error is quite clear, the linker is complaining because it cannot find the definitions of the mentioned symbols. Are you sure you have the linker settings correct? Check that all .lib files are specified, but also check that the linker can find the .lib files (library path).
Regards.
Not only must the lib files be listed as linker input in the project properties, the paths to those libraries must be defined as addtional linker dependencies in the project properties.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Thomi Richards |
last post by:
Hi,
I'm trying to create a simple stack class using C++ and templates.
Everything works well and good if I amke the class totally inline.
However, as soon as I try to seperate the class into a .h and a .cpp
file, gcc throws some strange linking errors.
Compiling like this:
|
by: Kavitha Rao |
last post by:
Hi,
I am getting the following errors while trying to run this snippet
in Microsoft Visual C++.Can't seem to print the crc value stored.
/* +++Date last modified: 05-Jul-1997 */
/* Crc - 32 BIT ANSI X3.66 CRC checksum files */
#include <stdio.h>
#include "crc.h"
|
by: prasanna |
last post by:
i will be very thankful if you sent all the errors and warnings regarding
to the language C
thank you
|
by: BasicQ |
last post by:
I am running an executable from my aspx page with the click of a
button. A date is passed as an argument. I am able to get the
standardoutput from the Process(Exe) into the label of my page after
the process has completed executing. My problem is I need to get the
output in the label simultaneously when the EXE is running, not after
it has completed executing. Just like when I run the Exe in the cmd
prompt. In my code I am opening two...
|
by: walkeraj |
last post by:
I'm trying to compile an open source game called IVAN
, and I'm able to compile it from a makefile, but
not from an IDE. I have attempted to recreate the way the makefile
compiles the project as closely as possible, yet I'm getting odd
linking errors. I think I've traced it to some kind of problem with
the SDL libraries it uses, yet I can't explain why it will compile from
the makefile and not from the IDE. I have made sure that the ide...
| |
by: dasilva109 |
last post by:
Hi guys
I am new to C++ and need urgent help with this part of my code for a
uni coursework I have to submit by Thursday
//ClientData.h
#ifndef CLIENTDATA_H
#define CLIENTDATA_H
#include <string>
|
by: JohnQ |
last post by:
The way I understand the startup of a C++ program is:
A.) The stuff that happens before the entry point.
B.) The stuff that happens between the entry point and the calling of
main().
C.) main().
So, if the above is OK, does static initialization occur during A or B? What
happens during A?
|
by: Keith G Hicks |
last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher"
project. Starting and stopping the watcher and reading my XML file work
fine. Once the watcher is started, I'm reading the text files from the
watched folder line by line into variables and then posting them to a SQL
table.
All of the code for the form is shown below. And it works fine except for 2
issues.
First issue: In the Finally of the Try for teh SQL...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |