Questions tagged [.lib]

.lib is standard extension for static libraries under Microsoft operation systems.

.lib is standard extension for static libraries under Microsoft operation systems.

132 questions
0
votes
0 answers

"error LNK1104: cannot open file" during .dll generation

I am working on a project which uses PCL (boost is one of the programs used by PCL). the error I'm getting: error LNK1104: cannot open file 'libboost_date_time-vc100-mt-gd-1_50.lib' What I am trying to do is to generate a .dll, this worked…
Danahi
  • 98
  • 1
  • 11
0
votes
0 answers

How to create dll of cpp file?

I know it's a very common scenario. I need to call two methods from my java code written in following cpp files: //test.cpp #include #include method1 ("hello" , "test", "result1"); method2 ("result1", "test_Case",…
Amit Pal
  • 10,604
  • 26
  • 80
  • 160
0
votes
1 answer

C++/CLI LNK2028 when trying to use static lib of another library

I am having a LNK2028 error when I try to build my C++/CLI dll. I am using a static lib called pano13 in my program, and I am using one method of it. Everything in my program is fine except the one method call I make to the library, where I get…
Nkosi Dean
  • 227
  • 8
  • 18
0
votes
1 answer

Getting LINK2019 (unresolved export) even though the lib is present and it has the proper functionality

I'm trying to compile my project with a third party library, using Visual Studio 2008. Now the thing is that I added the lib file to LINKER input, updated the additional library locations - made sure that the lib file is indeed read (removed the…
Anorflame
  • 376
  • 3
  • 12
-1
votes
1 answer

g++ compilation with linked libraries

I'm new to g++ and am trying to compile / run the example c++ code found on this page: https://learn.microsoft.com/en-us/windows/desktop/psapi/enumerating-all-processes Compiling the code with g++ -o ex.exe ex.cpp Doesn't work, so i'm pretty sure…
Martin
  • 1,336
  • 4
  • 32
  • 69
-1
votes
1 answer

Setting Up OpenCV and .lib files

I have been trying to set up OpenCV for the past few days with no results. I am using Windows 7 and VS C++ 2008 express edition. I have downloaded and installed OpenCV 2.1 and some of the examples work. I downloaded CMake and ran it to generate…
jhaip
  • 150
  • 1
  • 5
  • 11
-1
votes
1 answer

How to access the methods in .lib file in Win 32 console application

I am trying to access the .lib file using visual studio 2012. below are the steps I followed Created a class library, and included header(.hpp) and .lib file Header file :- extern "C" unsigned int GetKey(); Class library public: static …
-2
votes
1 answer

C++ .lib when developing, .dll when running application

I am using a company internal SDK. When installed, it provides a .lib file (xyz.lib for example) in both 32b/64b as well as two header files. When I create an application that utilizes the SDK I can build it, but when I try to run it, the…
dismal1290
  • 83
  • 1
  • 8
-2
votes
1 answer

C++ compiler reading data from .db file stored in .lib

I have a decent understanding of C#. I've been asked to make a SDK along with our program so that a customer can make his own UI using our functions. In C#, I did this by adding a DLL. I had to use a database file (.db) to hold commands, and it went…
-2
votes
1 answer

Working with .h and .lib files in c++

I have a problem, I have a few header.h files and one library.lib file and nothing more. Is it possible to execute functions from header files in new project? Thanks for answers :)
Meskis
  • 21
  • 2
-3
votes
1 answer

Using .lib file in linux

I have been given a dukpt.lib file and corresponding header file. I have to make a webservice in c++ (gSOAP)which internally make use of methods from dukpt.lib dukpt.lib make use of win api internally . so my question is :Is there any possible way…
Satish2230
  • 13
  • 6
-7
votes
2 answers

Executing .lib in C compiler

I have created a .lib file that should generate random integers into an array and print them out. The array is then sorted into lowest to highest and then printed again. I am able to compile all the object files and create a library with them, but…
1 2 3
8
9