todbot / blink1

Official software for blink(1) USB RGB LED by ThingM
https://blink1.thingm.com/
Other
956 stars 237 forks source link

Missing .lib file for the QT project (MSVC) #245

Closed thorlist closed 9 years ago

thorlist commented 9 years ago

The QT .pro file says:

but when I make the commandline I don't get the .lib file needed for the QT build. I do get the .def, the .exe and the .dll, but have been unable to generate the .lib file from this.

Can you suggest how I would go about creating or downloading the .lib file that I need?

Thank you for your help! Thor

todbot commented 9 years ago

Hi, Very strange. What environment are you using to compile? I use the shell from MinGW with the compiler from Visual Studio 12.

But if your goal is to just grab the Windows blink1-lib, perhaps the easiest would be to download the Blink1Control app zip and pull it from there. It's sitting in the root directory of the zip.

todbot commented 9 years ago

Oops, sorry, the .lib is not in the distribution, just the .dll.

What is the output you get do cd commandline && make clean && make lib?

todbot commented 9 years ago

More specifically, do you have the LIB.EXE from Visual Studio in your path? This is what is used to create the .lib & .def files. With Visual Studio 12 installed, this is what I get:

$ which lib
/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/lib.exe
thorlist commented 9 years ago

Yep, that was the problem, lib.exe was not in the path. Thank you!