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
1 answer

lnk1136 - invalid or corrupt .lib

I've got a little problem. I got a dll C library, a header file, and all other files needed to call this dll. I've tried calling this dll through third party programs and it is working. However, when I try calling it directly (dynamic linking at…
Y.S
  • 311
  • 1
  • 10
0
votes
1 answer

Can't call functions from Vfw.h inside Unreal Engine

Sorry in advance if this question is too specific to Unreal Engine, but after 6 months of working, this is the last piece that I need to complete, and I have become desperate. After creating an Unreal Engine C++ base project, added some .h and .cpp…
0
votes
1 answer

Weird header can't be included in both main.cpp and window.cpp (a class)

I have to create a static-linking standalone .exe file from my .cpp and .h files. The only obstacle I need to overcome is being able to call the same function m_pListAll()from two .cpp files, main.cpp and window.cpp (defining a class called…
JoseOrtiz3
  • 1,785
  • 17
  • 28
0
votes
1 answer

Linking .h .lib and .dll

I have to link my project to a dll which will be used for another application. My project has to read a struct from the dll, change some values of its variables and return the struct to the dll. This is my .ccp #include "stdafx.h" #include…
0
votes
0 answers

while building C application with .lib file Code blocks Error

-------------- Build: Debug in test2 (compiler: GNU GCC Compiler)--------------- mingw32-gcc.exe -Wall -g -Ibin -I"C:\Users\Tigris\Desktop\c codes\test2\" -c "C:\Users\Tigris\Desktop\c codes\test2\main.c" -o obj\Debug\main.o mingw32-gcc.exe: error:…
0
votes
0 answers

Error at use static lib(.lib) with VS2012

i make a static lib(.lib file) without "Precompiled header". and named project_1. main.cpp #include using namespace std; void display(void); int main() { cout<<"test_main\n"; display(); return 0; } display.cpp …
0
votes
1 answer

Getting the DLL name from a mingw32-compiled lib/a file

I am changing our build system in order to handle cross-compiling and packaging. It is a common thing to ship dependencies' DLLs but CMake's FindXXX modules(./configure checks) don't provide the path to these DLLs but only to .a files. I quickly…
epsy
  • 1
  • 1
0
votes
1 answer

Expose the functions of a .lib file

Is there is any way to Expose the functions(function names) inside a .lib file. some thing like Dependency Walker to expose the function names in a DLL file.
4ever
  • 49
  • 1
  • 6
0
votes
1 answer

Is there some way to import c *.lib in python (or Ironpython) directly without any wrapping ?

As the title, is there some way to import c *.lib in python (or Ironpython) directly without any wrapping? (such as *.dll including wrapping functions)
shihuan83
  • 15
  • 6
0
votes
2 answers

cannot locate the .lib file VS12 is trying to open

So I am creating an app in VS2012 in MFC using an old Microsoft SDK (called VisSDK for machine vision) which worked fine with VS6. The problem is, I get this LNK1104 error, Cannot open file VisImSrcLibDB.lib. I have done a search through the project…
0
votes
1 answer

trying to build a PortMidi example in Mingw

Im trying to build a PortMidi example in Mingw but it depends on two libraries portmidi and winmm, I recompiled portmidi to get a portimidi.a but Im getting errors of missing code. Is posible to link winmm to mingw, and I have to use ".a" or ".lib"…
Alex Ar
  • 37
  • 1
  • 7
0
votes
2 answers

To get a library file in synopsys using open command

Hi I am using the following code to get data from a library file which is generated from synopsys. I am using tcl to code. set file [open "my_file.lib r] set final [read -nonewline $file] close $file This code is not working for me. It is a library…
user2533429
  • 175
  • 1
  • 6
  • 13
0
votes
2 answers

Cannot create .lib file for a 64 bit Fortran DLL

I have written some wrapper functions in c++ for some old Fortran (g77, I think) code. I created the .dll and .lib using an old Visual Fortran compiler, and have everything linked up and working in visual studio. The problem I have now is creating…
Wayne
  • 1
  • 2
0
votes
4 answers

Making a structure visible in both library and application - C

I wanted to know how to make a structure visible in both - inside a library & in a external header. let me try to explain in the following code I have a struct : typedef struct{ int a; int b; }strt_1; i want to create an instance of the same in the…
Yashodhar.Rao
  • 107
  • 3
  • 11
0
votes
2 answers

Updating FBX SDK Model loading from 2012.2 to 2014.1 SDK

I've just ported over and updated a bunch of FBX model loading code I had that worked with Direct X 10 to try and make it work with Direct X 11. Since that time, the FBX SDK I was using has been updated. In my old program I linked to the following…
N0xus
  • 2,674
  • 12
  • 65
  • 126
1 2 3
8
9