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.

123 questions
3
votes
1 answer

boost library 1.47.1 build 'lib' prefix causing LNK1104 error

I'm having difficulties generating the correct boost .lib file to compile with a VS project I've been given. It appears that after performing the complete build installation using 'b2.exe' from VS2010 command prompt I'm only able to generate the…
3
votes
1 answer

LuaJIT lib built with /MD but does not cause runtime library mismatch with /MDd program?

I downloaded luajit source from http://luajit.org/git/luajit-2.0.git and built it with its msvcbuild.bat https://github.com/luvit/luajit-2.0/blob/master/src/msvcbuild.bat Judging from the batch file, it uses /MD to build the lua51.lib. When I…
Hsi-Hung Shih
  • 223
  • 1
  • 7
2
votes
4 answers

CMake and #pragma comment(lib)

For my CMake project i have an external library, consisting of a header file and several .lib/.dll pairs. The header file selectively links to one of the .lib/.dll pair, take this example: #ifdef DEBUG #pragma comment(lib "exampled.lib") #elif …
Anedar
  • 4,017
  • 1
  • 18
  • 38
2
votes
1 answer

SQLite3.dll for x64

From the download sqlite.org/download, they provide Precompiled Binaries for Windows for both x86 and x64. So, what gets downloaded is a .def file and a .dll file. Using this two files you can create the .lib file. [Command: lib /def:yourfile.def…
nik
  • 31
  • 7
2
votes
1 answer

Linking google test to your main project

I am new to the gtest. I have followed a tutorial how to set it up in the VS 2105. But all that I could find talked about how to build and link gtest. I am passed that level. The code below runs and passes the first dummy test. #include…
Illia
  • 151
  • 2
  • 16
2
votes
0 answers

Adding libengine.lib library from Matlab to QT

I'm facing a tough problem adding the static library libengine.lib from Matlab to a neq QT project. As I read from some blogs, I have to include both the engine.h header and the libengine.lib library to the .pro file. But when I build and run the…
zen26
  • 21
  • 1
2
votes
0 answers

C++ POCO build error

I am trying to use the POCO C++ library in my existing Windows CE project on Visual Studio 2008. I have compiled the POCO library using the provided .bat files. I used the one nammed build_CE_vs90.cmd and it successfully generated several .lib…
Virus721
  • 7,156
  • 8
  • 49
  • 110
2
votes
0 answers

Link .lib library using codeblocks

I tried to link a .lib library in a C++ project using codeblocks but i got a lot of erros like : undefined reference to `_RTC_CheckEsp' undefined reference to `_RTC_Shutdown' undefined reference to `_RTC_InitBase' undefined reference to…
S_Williams
  • 21
  • 1
2
votes
0 answers

Using static Python (pythoncore.lib)

I have create python static lib (pythoncore.lib) from Python27. It's size 11.2 Mb. I have simple app with python embedded: #include #include #include #include int…
Dmitry_Mahrachev
  • 261
  • 1
  • 2
  • 8
2
votes
0 answers

Compiling Python to a static lib

How I can compile python2.7 to a static lib in Windows? And how I can use these lib within my project (with Python embedded Python C/API).
Dmitry_Mahrachev
  • 261
  • 1
  • 2
  • 8
2
votes
1 answer

unresolved external symbol __imp__glewInit VS __imp__glewInit@0

When I use opengl in my program, I come acrross a problem when using "glew": unresolved external symbol _imp_glewInit (when use the glew 1.10.0), as I replace the glew32.lib by version "glew 1.6.0", this problem is solved. However, when I compile…
Lipeng Yang
  • 91
  • 1
  • 10
2
votes
0 answers

Is there a good way to call methods in a c++ library from JavaScript?

I have an .exe built from an HTML5/JavaScript project using Adobe Air, and a .lib file created from a c++ project. Is there a good way to call the methods in the .lib file from JavaScript?
apohl
  • 1,868
  • 24
  • 27
2
votes
2 answers

Using a .lib in visual studio 2012 (C++)

I have a .lib static library. I've linked it under the Linker settings 'Additional Library Directories', and 'Additional Dependencies', as well as using pragma comment (lib, "mylib").. And all of that compiles fine. What I'm asking, and I can only…
knoxaramav2
  • 23
  • 1
  • 4
2
votes
1 answer

How to combine libraries with __stdcall and __cdecl in one vs2008 project

I want to use two 3rd party libraries in my project but one was compiled with __stdcall convention and another with __cdecl. No matter what I set my project property to, the LINKER fails to link one library or another. Is there a way to do this?
Anorflame
  • 356
  • 2
  • 11
2
votes
1 answer

Using a static MSVC 2010 libary (.lib) with MinGW?

Since a few WIN32 related things didn't quite work using MinGW, I decided to create a small static library with MSVC 2010 and link it with MinGW afterwards. However, I am currently looking for a tool that allows me to convert static MSVC…
Byzantian
  • 2,858
  • 4
  • 23
  • 31
1
2
3
8 9