codigoymate / gtk-sudoku

C++ GTK+ 3.0 Gtkmm Sudoku game
MIT License
1 stars 0 forks source link

Make a deb package #1

Open anik2k06 opened 2 weeks ago

anik2k06 commented 2 weeks ago

I could not install it on my Linux mint 22 with given instruction. Every time I create the build folder and try to make the build terminal shows error showing gtkmm-3.0 not found and it is a required dependency .But I checked my packages and libgtkmm-3.0-1t64 is installed on my system. I want this software but couldn't build it my own. So please consider a favor to make a deb package for it. I am a not software guy. So I cannot do that my own. Thank you. -- A fan

anik2k06 commented 2 weeks ago

mkdir build cd build cmake .. make mkdir: cannot create directory ‘build’: File exists -- Checking for module 'gtkmm-3.0' -- Package 'gtkmm-3.0', required by 'virtual:world', not found CMake Error at /usr/share/cmake-3.28/Modules/FindPkgConfig.cmake:619 (message): The following required packages were not found:

Call Stack (most recent call first): /usr/share/cmake-3.28/Modules/FindPkgConfig.cmake:841 (_pkg_check_modules_internal) CMakeLists.txt:13 (pkg_check_modules)

-- Configuring incomplete, errors occurred! make: *** No targets specified and no makefile found. Stop.

anik2k06 commented 2 weeks ago

Also int the instruction it will be cd gtk-sudoku not cd sudoku-gtk

codigoymate commented 2 weeks ago

Hello!!

A new improvement in the way the app is distributed is coming soon (including a deb package). I believe that even if you have the deb package, it will still ask you to satisfy the GTKmm dependencies and others.

codigoymate commented 2 weeks ago

Try installing the package: sudo apt install libgtkmm-3.0-dev This satisfies the pkg-config "gtkmm-3.0". This package will install GTK3, Cairo, etc (ever dev versions).

anik2k06 commented 2 weeks ago

thanks

anik2k06 commented 2 weeks ago

Now its working. Nice work.