kibsoft / QtMEL

Qt Media Encoding Library
GNU Lesser General Public License v2.1
67 stars 16 forks source link

Error opening of qtmeld1.lib #40

Open piyushjain0909 opened 7 years ago

piyushjain0909 commented 7 years ago

Hi,

I tried asking in different forums about my problem but didnt got satisfactory reply. I hope you can help me out.

I want to record a video using webcam in Qt on windows 10, I added qtmeld1.lib along with its path in the .pro file but when I build my project it gives me an error - LNK1104: cannot open file 'qtmeld1.lib'.

Can you please guide me on how can I use the library?

Thank you for your time and knowledge.

kibsoft commented 7 years ago

Hello Were you able to manage it? If not, did you build QtMEL youself or downloaded binaries from my website? What Qt version and MSVC do you use?

piyushjain0909 commented 7 years ago

Hello,

Its still not working. I downloaded ready to use build from your website. I am using Qt Creator 4.2.1 based on Qt 5.8.0 (MSVC 2013 64 bit).

Thank you for your time and knowledge.

kibsoft commented 7 years ago

Unfortunately, you have to build it yourself, because my "ready to use" builds are too old. And I used MinGW instead of MSVC to build it, that is the problem.

piyushjain0909 commented 7 years ago

Alright, I will try with MinGW and check.

Thanks for the reply.

kibsoft commented 7 years ago

The problem that in this case you have to use old MinGW and possibly old Qt. So, It would be better to build it from scratch somehow.

piyushjain0909 commented 7 years ago

By old you mean how much old? Do you have any recommended version of Qt and MinGW?

kibsoft commented 7 years ago

Here is the build for Qt 5.0 and MinGW 4.8 https://www.dropbox.com/s/60e2pf13z0ncmix/QtMEL_Qt5_MinGW48.zip?dl=0 Here is the build for Qt 5.0 and MSVC2010 https://www.dropbox.com/s/2kwnvl2pa96pr5y/QtMEL_Qt5_MSVC2010.zip?dl=0

These are the "newest" builds I have. Unfortunately I've freezed development in 2013.

piyushjain0909 commented 7 years ago

Thanks for the links. I will try and let you know if it works fine for me or still I am facing a problem.

piyushjain0909 commented 7 years ago

Hi again,

I tried with Qt 5.0 and MinGW4.7 but this time I ran into another error of "exited with code -1073741511" . I have opencv and ffmpeg installed and linked with Qt.

I have mentioned include path in .pro file and listed the library. I copied all the dll files into debug folder but still not able to run the program.

Can you please guide me on this.

Thank you for your time and knowledge.

kibsoft commented 7 years ago

I wrote MinGW 4,8, this can be a reason. Do you run the app from Qt Creator? Try to launch these examples on your PC - https://dl.dropboxusercontent.com/u/77719957/QtMEL_Examples.zip If they work then the problem may be in missing dependencies.

piyushjain0909 commented 7 years ago

Sorry, there was a type error. Is it MinGW 4.8 . The examples link contains no files.

Can you please give the link again.

piyushjain0909 commented 7 years ago

Yes, I am running through Qt creator

kibsoft commented 7 years ago

Sorry, here is the actual link: https://www.dropbox.com/s/nzmh0iyr1hymfki/QtMEL_Examples.zip?dl=0

piyushjain0909 commented 7 years ago

The examples works fine. How can I run it through Qt Creator?

kibsoft commented 7 years ago

Nohow. Just compare dlls from examples and yours dlls, maybe you missed something.