tschnz / Live-Video-Magnification

An OpenCV/Qt based realtime application for Eulerian Video Magnification / Motion Magnification. Works with multiple videos and cameras at the same time and let's you export the magnified videos.
GNU General Public License v3.0
445 stars 104 forks source link

compiling this repository #12

Open ekm507 opened 3 years ago

ekm507 commented 3 years ago

Hi! I am trying to compile this code but I don't know how to! could you please help me? there is not enough information for compiling on README.md

I also would very appreciate it if you send me an email.

nincube8 commented 3 years ago

You have to modify the QT library to match the paths of your machine, and your installation of OpenCV and QT Creator. In python it has to be set up under a virtual shell environment. OpenCV libraries have to match the your python version, and the processor your machine uses to successfully compile. Once you successfully compile it, you can use QT creator to compile and run the program on each startup.

On Wed, May 12, 2021 at 4:18 PM Erfan Kheyrollahi Qaroğlu < @.***> wrote:

Hi! I am trying to compile this code but I don't know how to! could you please help me? there is not enough information for compiling on README.md

I also would very appreciate it if you send me an email : @.***

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tschnz/Live-Video-Magnification/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBLRROVC4J2252JKY5TEQDTNL5FDANCNFSM44ZOUZWQ .

nincube8 commented 3 years ago

There is a file called RVM pro. That file has to be modified using the paths that match your machines paths. OpenCV, Ect. Match them to where your directories are installed. You may need Visual Studio to generate a solution file. .so File.

On Wed, May 12, 2021 at 7:15 PM CK Gaming Channel @.***> wrote:

You have to modify the QT library to match the paths of your machine, and your installation of OpenCV and QT Creator. In python it has to be set up under a virtual shell environment. OpenCV libraries have to match the your python version, and the processor your machine uses to successfully compile. Once you successfully compile it, you can use QT creator to compile and run the program on each startup.

On Wed, May 12, 2021 at 4:18 PM Erfan Kheyrollahi Qaroğlu < @.***> wrote:

Hi! I am trying to compile this code but I don't know how to! could you please help me? there is not enough information for compiling on README.md

I also would very appreciate it if you send me an email : @.***

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tschnz/Live-Video-Magnification/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBLRROVC4J2252JKY5TEQDTNL5FDANCNFSM44ZOUZWQ .

nincube8 commented 3 years ago

There is a program that will generate the solution file if you have OpenCV you can specify your machine's parameters if you load the solution file in it. Hope this helps.

On Wed, May 12, 2021 at 7:18 PM CK Gaming Channel @.***> wrote:

There is a file called RVM pro. That file has to be modified using the paths that match your machines paths. OpenCV, Ect. Match them to where your directories are installed. You may need Visual Studio to generate a solution file. .so File.

On Wed, May 12, 2021 at 7:15 PM CK Gaming Channel @.***> wrote:

You have to modify the QT library to match the paths of your machine, and your installation of OpenCV and QT Creator. In python it has to be set up under a virtual shell environment. OpenCV libraries have to match the your python version, and the processor your machine uses to successfully compile. Once you successfully compile it, you can use QT creator to compile and run the program on each startup.

On Wed, May 12, 2021 at 4:18 PM Erfan Kheyrollahi Qaroğlu < @.***> wrote:

Hi! I am trying to compile this code but I don't know how to! could you please help me? there is not enough information for compiling on README.md

I also would very appreciate it if you send me an email : @.***

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tschnz/Live-Video-Magnification/issues/12, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBLRROVC4J2252JKY5TEQDTNL5FDANCNFSM44ZOUZWQ .

nitoniso commented 2 years ago

Hi I have installed all the dependencies and added all directories and linkers in Visual Studio 2019 but I am still not able to compile this. I also tried using QT Studio but its all not working I keep on receiving errors.

I am getting error:

_Error LNK1181 cannot open input file 'C:\Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\lib\Qt5Widgets.lib' rvm C:\Users\taten\3D Objects\BBMA\Live-Video-Magnification-master\Live-Video-Magnification-master\src\LINK 1**__

I have tried serching for the libraries but i did not find them.

There are just .prl files and no .lib files in Qt\Tools\QtDesignStudio\qt5_design_studio_reduced_version\lib\

PeterSinelnikov commented 1 month ago

For those who have problems with compiling this repository under Windows. I come from Java and Python background, so compiling C++/Qt code was something completely new to me. After fussing with it for a couple of days I finally got it to work: