It is currently Sun Jun 30, 2024 5:04 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: SOLVED - Help with compile env
PostPosted: Sun Jul 24, 2022 3:05 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
GIMP Version: 2.10.32
Operating System: Windows
OS Version: 64
GIMP Experience: Experienced User

List any relevant plug-ins or scripts:
Mingw64x86 env for compiling GEGL and Gimp 64 bit plug-ins.



Rod@Rods MINGW64 ~
$ meson setup --buildtype=release build

ERROR: Neither directory contains a build file meson.build.


Could it be the meson.build file was not installed?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Last edited by Rod on Sun Jul 24, 2022 7:30 am, edited 1 time in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 4:29 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I don't know what you want to get, so in general:

Build steps:

1. Download the old installer:

https://repo.msys2.org/distrib/x86_64/

msys2-x86_64-20211130.exe 30-Nov-2021 19:34 98M

2. Follow the 2-7 steps described on this page https://www.msys2.org/

3. You run the console: mingw64.exe

4. You supplement the msys2 libraries with:

pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-meson mingw-w64-x86_64-gegl
pacman -S mingw-w64-x86_64-gimp mingw-w64-x86_64-cmake


If there is no dependency, you will find them here:
https://packages.msys2.org/search

5. You copy the source files to c:\msys64\home\Your name

6. In the console you go inside the source (where the meson.build file is), e.g.:
cd GEGL_highpass_of_mean_curvature-main/GEGL_highpass_of_mean_curvature-main
(path must be without spaces and with backslashes, i.e. /)

7. Paste code:
meson setup --buildtype=release build
ninja -C build


8. Look for the dll file in the 'build' directory.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 4:43 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thx MareroQ for your quick response however i still have errors.

error: failed retrieving file 'mingw-w64-x86_64-gimp-2.10.30-2-any.pkg.tar.zst' from mirror.msys2.org : Resolving timed out after 10006 milliseconds
error: failed retrieving file 'mingw-w64-x86_64-ghostscript-9.53.3-2-any.pkg.tar.zst' from mirror.msys2.org : Connection time-out
error: failed retrieving file 'mingw-w64-x86_64-python2-2.7.18-4-any.pkg.tar.zst' from mirror.msys2.org : Connection time-out
warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-x86_64-cmake-3.23.2-1-any.pkg.tar.zst' from mirror.msys2.org : Connection time-out
error: failed retrieving file 'mingw-w64-x86_64-gtk2-2.24.33-4-any.pkg.tar.zst' from mirror.msys2.org : Connection time-out

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 5:03 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
There is a problem with the connection.
Tried it now and with no hassle:

Image

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 5:26 am  (#5) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
Rod wrote:
GIMP Version: 2.10.32
Operating System: Windows
OS Version: 64
GIMP Experience: Experienced User

List any relevant plug-ins or scripts:
Mingw64x86 env for compiling GEGL and Gimp 64 bit plug-ins.



Rod@Rods MINGW64 ~
$ meson setup --buildtype=release build

ERROR: Neither directory contains a build file meson.build.


Could it be the meson.build file was not installed?


What is your current directory? Assuming the Windows build is more or less like the Unix one, it should be that "gimp" directory and look like this:

gimp
├── acinclude.m4
├── app
├── app-tools
├── AUTHORS
├── authors4gimp-web.xsl
├── authors.dtd
├── authors.xml
├── authors.xsl
├── autogen.sh
├── _build    ### <- You may have do mkdir this one
├── build
├── ChangeLog.*
├── config.h.win32
├── configure.ac
├── COPYING
├── cursors
├── data
├── desktop
├── devel-docs
├── docs
├── etc
├── extensions
├── gimp.doap
├── gimp.kdev4
├── gimp.pc.in
├── gimpthumb.pc.in
├── gimpui.pc.in
├── gimp-zip.in
├── icons
├── INSTALL.in
├── libgimp
├── libgimpbase
├── libgimpcolor
├── libgimpconfig
├── libgimpmath
├── libgimpmodule
├── libgimpthumb
├── libgimpwidgets
├── LICENSE
├── m4macros
├── MAINTAINERS
├── Makefile.am
├── menus
├── meson.build  ### <----------- it's here
├── meson_dist_script.sh
├── meson.make
├── meson_options.txt
├── modules
├── NEWS
├── NEWS.*
├── pdb
├── plug-ins
├── po
├── po-libgimp
├── po-plug-ins
├── po-python
├── po-script-fu
├── po-tags
├── po-tips
├── po-windows-installer
├── README
├── README.i18n
├── themes
└── tools


I assume that you have also built recent versions of babl & gegl?

_________________
Image


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 5:28 am  (#6) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
MareroQ wrote:
I don't know what you want to get, so in general:

Build steps:

1. Download the old installer:

https://repo.msys2.org/distrib/x86_64/

msys2-x86_64-20211130.exe 30-Nov-2021 19:34 98M

2. Follow the 2-7 steps described on this page https://www.msys2.org/

3. You run the console: mingw64.exe

4. You supplement the msys2 libraries with:

pacman --noconfirm -S base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-meson mingw-w64-x86_64-gegl
pacman -S mingw-w64-x86_64-gimp mingw-w64-x86_64-cmake


If there is no dependency, you will find them here:
https://packages.msys2.org/search

5. You copy the source files to c:\msys64\home\Your name

6. In the console you go inside the source (where the meson.build file is), e.g.:
cd GEGL_highpass_of_mean_curvature-main/GEGL_highpass_of_mean_curvature-main
(path must be without spaces and with backslashes, i.e. /)

7. Paste code:
meson setup --buildtype=release build
ninja -C build


8. Look for the dll file in the 'build' directory.


You are really building the GEGL filters one by one?

_________________
Image


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 6:00 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
There is a problem with the connection.
Tried it now and with no hassle:

[ Image ]

Rod@Rods MINGW64 ~
$ pacman -S mingw-w64-x86_64-gimp mingw-w64-x86_64-cmake
warning: mingw-w64-x86_64-gimp-2.10.30-2 is up to date -- reinstalling
warning: mingw-w64-x86_64-cmake-3.23.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) mingw-w64-x86_64-cmake-3.23.2-1  mingw-w64-x86_64-gimp-2.10.30-2

Total Installed Size:  198.53 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]


Looks like it was installed along with meson, ninja, and gegl but i do not see a meson.build file.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 6:06 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
ofnuts wrote:
Rod wrote:
GIMP Version: 2.10.32
Operating System: Windows
OS Version: 64
GIMP Experience: Experienced User

List any relevant plug-ins or scripts:
Mingw64x86 env for compiling GEGL and Gimp 64 bit plug-ins.



Rod@Rods MINGW64 ~
$ meson setup --buildtype=release build

ERROR: Neither directory contains a build file meson.build.


Could it be the meson.build file was not installed?


What is your current directory? Assuming the Windows build is more or less like the Unix one, it should be that "gimp" directory and look like this:

gimp
├── acinclude.m4
├── app
├── app-tools
├── AUTHORS
├── authors4gimp-web.xsl
├── authors.dtd
├── authors.xml
├── authors.xsl
├── autogen.sh
├── _build    ### <- You may have do mkdir this one
├── build
├── ChangeLog.*
├── config.h.win32
├── configure.ac
├── COPYING
├── cursors
├── data
├── desktop
├── devel-docs
├── docs
├── etc
├── extensions
├── gimp.doap
├── gimp.kdev4
├── gimp.pc.in
├── gimpthumb.pc.in
├── gimpui.pc.in
├── gimp-zip.in
├── icons
├── INSTALL.in
├── libgimp
├── libgimpbase
├── libgimpcolor
├── libgimpconfig
├── libgimpmath
├── libgimpmodule
├── libgimpthumb
├── libgimpwidgets
├── LICENSE
├── m4macros
├── MAINTAINERS
├── Makefile.am
├── menus
├── meson.build  ### <----------- it's here
├── meson_dist_script.sh
├── meson.make
├── meson_options.txt
├── modules
├── NEWS
├── NEWS.*
├── pdb
├── plug-ins
├── po
├── po-libgimp
├── po-plug-ins
├── po-python
├── po-script-fu
├── po-tags
├── po-tips
├── po-windows-installer
├── README
├── README.i18n
├── themes
└── tools


I assume that you have also built recent versions of babl & gegl?

Yes i have compiled the entire Gimp program before. Been a while though. :)

I have two other compile environments that include the entire Gimp src, but neither will build gegl filters. Perhaps i will just update one of those.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 6:40 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
meson.build is the source file (point 6 ;) )

Image

Image

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Help with compile env
PostPosted: Sun Jul 24, 2022 7:29 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
meson.build is the source file (point 6 ;) )

[ Image ]

[ Image ]


Ahh okay! Now i understand. Each GEGL filter src has it's own build file. :)
Thx!

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: SOLVED - Help with compile env
PostPosted: Sun Jul 24, 2022 8:26 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Successfully compiled a Windows 10 _64 bit Starfield.dll :)

Thx for all your help!

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: SOLVED - Help with compile env
PostPosted: Sun Jul 24, 2022 8:51 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Congratulations. :hi5
You remembered quickly. :yes

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: SOLVED - Help with compile env
PostPosted: Mon Jul 25, 2022 3:56 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
Congratulations. :hi5
You remembered quickly. :yes

It has always been my experience that if you love something, or someone it or they will always remain in your memory. :bigthup :hi5

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

8

No new posts Attachment(s) Pattern Monster (Cloud and Local version) and how to compile it.

3



* Login  



Powered by phpBB3 © phpBB Group