QNearbyShare icon indicating copy to clipboard operation
QNearbyShare copied to clipboard

fix openssl build instructions

Open benwaffle opened this issue 1 year ago • 5 comments

benwaffle avatar Jan 31 '24 20:01 benwaffle

Are you sure this is necessary? The old instructions seem to work okay on my machine

vicr123 avatar Feb 01 '24 09:02 vicr123

I needed the =1 for it to work, I'm on Arch Linux:

❯ cmake -B build -S . -DUSE_OPENSSL
CMake Error: Parse error in command line argument: USE_OPENSSL
 Should be: VAR:type=value

CMake Error: Run 'cmake --help' for all supported options.

❯ cmake --version
cmake version 3.28.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

benwaffle avatar Feb 01 '24 17:02 benwaffle

=true would be better

ilobilo avatar Feb 10 '24 12:02 ilobilo

The same thing happens to me. I have to use that option because Crypto++ no longer support CMake and even with all the dependencies installed it can't find that package and I couldn't make my way around it myself.

Also, when I run it with the -DUSE_OPENSSL=true option I get:

CMake Error at libqnearbyshare-server/CMakeLists.txt:28 (add_subdirectory):
  The source directory

    /home/daniel/Escritorio/Nearby Share/QNearbyShare-1.0/libqnearbyshare-server/QtZeroConf

  does not contain a CMakeLists.txt file.

Any help would be greatly appreciated

danielesca avatar Mar 01 '24 09:03 danielesca

@daniesmar0 Clone the repo with --recurse-submodules flag in git. QtZeroConf is included as a submodule

kidfromjupiter avatar Oct 08 '24 13:10 kidfromjupiter