ermig1979 / AntiDupl

A program to search similar and defect pictures on the disk
https://ermig1979.github.io/AntiDupl
MIT License
1.23k stars 92 forks source link

How can i build this project? #159

Closed Gitubhu closed 1 year ago

Gitubhu commented 1 year ago

i´m interested in building this project for my personal use, but i don't know how, so a guide would be very helpful. I use Windows 10 64 bits

ermig1979 commented 1 year ago

See 'dev' brunch. It can be built with Visual Studio 2022.

Edi61 commented 1 year ago

For master brunch;

  1. Install Visual Studio Community Edititon 2022 (Select at least .Net and Desktop C++ development and v143 buildtools)
  2. Download vcpkg from github e.g. by git clone https://github.com/Microsoft/vcpkg.git
  3. Install vcpkg from command tool cd vcpkg ./bootstrap-vcpkg.bat ./vcpkg integrate install
  4. Download Antidupl from git and open src/AntiDupl/AntiDupl.sln
  5. Build Antidupl with Visual Studio
ermig1979 commented 1 year ago

May be it be reasonable to add those instructions to README.md ?

Gitubhu commented 1 year ago

Thanks a lot to both of you for your help.

Gitubhu commented 1 year ago

I need help with a problem. If i had Visual studio installed the program runs fine, but if i uninstall visual studio the program doesn´t run. I´m not interested in having visual studio installed. Is there any way to run the program without having visual studio installed?

Edi61 commented 1 year ago

There should be no dependecy to Visual. Did you copy the whole folder structure including all dll files? Only .exe file will not work.

ermig1979 commented 1 year ago

It also need copy file 'AntiDupl.NET.runtimeconfig.json'.

Gitubhu commented 1 year ago

I rebuild the program and is working fine now.