Giter Site home page Giter Site logo

Comments (5)

fluca1978 avatar fluca1978 commented on June 22, 2024 1

Yes, I do confirm that with a fresh clone it worked.
Thanks

from pdfquirk.

dragotin avatar dragotin commented on June 22, 2024

I think your problem is that you call cmake src rather than calling it in the top dir.

Please try from the pdfquirk "top"-directory:

mkdir build
cd build
cmake ..
make 

from pdfquirk.

dragotin avatar dragotin commented on June 22, 2024

Improved the "Build from Source" paragraph on the website https://dragotin.github.io/quirksite/

from pdfquirk.

fluca1978 avatar fluca1978 commented on June 22, 2024

Sorry, but something is still not working:

% pwd
/home/luca/Downloads/pdfquirk-0.91/build

% cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.13)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
CMake Warning (dev) at CMakeLists.txt:2 (add_executable):
  Policy CMP0028 is not set: Double colon in target name means ALIAS or
  IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  Target "pdfquirk" links to target "Qt5::Widgets" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/luca/Downloads/pdfquirk-0.91

Now the last line states the build files have been placed one folder up with regard to the build directry I'm in, that is effectively empty. This means make cannot be run.
Am I missing something?

from pdfquirk.

dschmidt avatar dschmidt commented on June 22, 2024

Can you try with a fresh checkout?

To me it looks like you have some old CMake cache files etc lying in either your build or in the source folder from your previous experiments with cmake src.

git clone https://github.com/dragotin/pdfquirk.git
mkdir pdfquirk/build
cd pdfquirk/build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
cmake --build .

Should work or give you more reasonable error messages.

from pdfquirk.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.