Giter Club home page Giter Club logo

Comments (10)

probonopd avatar probonopd commented on June 18, 2024

Thanks for pointing this out. It used to work like documented here but we are currently in the middle of moving this piece of code to this new repository.

from appimaged.

TheAssassin avatar TheAssassin commented on June 18, 2024

@kovan you should provide at least some information on what you tried.

In a nutshell:

<install dependencies>
git clone --recursive https://github.com/AppImage/appimaged/
cd appimaged/
mkdir build/
cd build/
cmake ..
make

from appimaged.

kovan avatar kovan commented on June 18, 2024

I tried that, but the compiler doesn't find glib.h, although it is installed in the system.
As probonopd said, it looks like the separation of appimaged to a new repo might need polishing, but I might be wrong.

from appimaged.

TheAssassin avatar TheAssassin commented on June 18, 2024

@kovan the compiler doesn't find it? Are you sure you don't mean CMake?

This doesn't have anything to do with the extraction of this tool. The build system hasn't really changed.

You're just not providing enough information. Please add a full log of what you tried. Also you need to tell us what distro you're using at the moment...

from appimaged.

kovan avatar kovan commented on June 18, 2024

Just try it yourself, clone it to /tmp and try to build it, you'll se that it doesn't build even if the dependencies are installed in the system. I am using Ubuntu 18.04. It seems something related to CMake yes. I tried:

➜ /tmp git clone https://github.com/AppImage/appimaged/
cd appimaged/
mkdir build/
cd build/
cmake ..
make
Cloning into 'appimaged'...
remote: Counting objects: 51, done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 51 (delta 15), reused 41 (delta 8), pack-reused 0
Unpacking objects: 100% (51/51), done.
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at lib/CMakeLists.txt:2 (add_subdirectory):
The source directory

/tmp/appimaged/lib/AppImageKit

does not contain a CMakeLists.txt file.

from appimaged.

TheAssassin avatar TheAssassin commented on June 18, 2024

@kovan who do you think put up this repository? I am building this just fine every time I develop on it. It works perfectly fine on Ubuntu 14.04, Ubuntu 16.04, and virtually any distro I tried.

If you refuse to provide additional information (like your distro, the most basic kind of information for debugging), I think we have to close this issue as "cannot reproduce".

from appimaged.

kovan avatar kovan commented on June 18, 2024

Check my previous comment, I put all the info there.

from appimaged.

TheAssassin avatar TheAssassin commented on June 18, 2024

@kovan ah, that makes sense. You need to fetch the Git submodules with git submodule update --init. Then, it should work. I edited my above comment to include the --recursive flag in the clone call which provides the same functionality.

But this is not at all a compiler message. Nor it's complaining about a missing glib header. This is a CMake error.

from appimaged.

kovan avatar kovan commented on June 18, 2024

OK now yes, it compiles. Probably you should put those instructions in the readme.

from appimaged.

TheAssassin avatar TheAssassin commented on June 18, 2024

I will, if you provide more information in future issues you file. Closing as resolved.

from appimaged.

Related Issues (20)

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.