It is currently Thu Jul 04, 2024 12:19 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Mon Sep 03, 2018 4:01 pm  (#41) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
I installed the extra expressions and I keep getting error messages.

Why is that? What am I doing wrong?


Attachments:
Screenshot (5).png
Screenshot (5).png [ 130.97 KiB | Viewed 23004 times ]
Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Mon Sep 03, 2018 11:42 pm  (#42) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
Well, it turns out the Theme made GIMP unstable so had to go back to system. Does anyone know how to manually adjust colors of the system windows? Way too bright, but at least it's stable and I see my Mathmap sliders. lol

Someone really needs to find out why GIMP 2.8x themes cause 2.10x to get unstable. I'm just a clueless enduser. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Mon Sep 03, 2018 11:44 pm  (#43) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
mackenzieh wrote:
I installed the extra expressions and I keep getting error messages.

Why is that? What am I doing wrong?


I still have a few Mathmap presets that won't work myself, Meckenzieh, but to be honest, those same ones didn't work in GIMP 2.8x either. I just avoid using them. Droste and my custom preset are pretty much the only ones I use anyway. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Tue Sep 04, 2018 4:48 am  (#44) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
lylejk wrote:
mackenzieh wrote:
I installed the extra expressions and I keep getting error messages.

Why is that? What am I doing wrong?


I still have a few Mathmap presets that won't work myself, Meckenzieh, but to be honest, those same ones didn't work in GIMP 2.8x either. I just avoid using them. Droste and my custom preset are pretty much the only ones I use anyway. :)


I was really hoping to use them so, I will take your advice and won't use them. :) I've got bigger fish to fry. my laptop now has a 3rd bug and I hate it.


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Sun Oct 27, 2019 12:48 pm  (#45) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I found a simple solution for Windows 10 to show the sliders in the official themes.
Just add one old file to those listed by Rich2005 (plug-ins / matchmat / libgtk-win32-2.0-0.dll).
This unfortunately will not work for the portable 64bit version (but works e.g. for the 32bit version Samj Gimp 2.10.12 / 13)

Edit for Gimp 2.10.14
For Gimp 2.10.14_Win64 with support 32 bit and old plugins (from gimp.org) adding a file libgtk-win32-2.0-0.dll is not necessary (not recommended) - displaying is correct.


Attachments:
Dark.png
Dark.png [ 273.82 KiB | Viewed 20079 times ]
Gray.png
Gray.png [ 98.24 KiB | Viewed 20079 times ]
libgtk-win32-2.0-0.zip [1.43 MiB]
Downloaded 456 times

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Mon Nov 04, 2019 2:14 am, edited 1 time in total.
Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Sun Oct 27, 2019 8:24 pm  (#46) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13068
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
MareroQ wrote:
I found a simple solution for Windows 10 to show the sliders in the official themes.
Just add one old file to those listed by Rich2005 (plug-ins / matchmat / libgtk-win32-2.0-0.dll).
This unfortunately will not work for the portable 64bit version (but works e.g. for the 32bit version Samj Gimp 2.10.12 / 13)

Thanks MareroQ.
:coolthup

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Wed Oct 30, 2019 6:05 pm  (#47) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@Tas_Mania

I compiled Mathmat 1.3.5 with Gimp 2.10.14_Win10_64bit.
After the libnoise problem contained in
https://github.com/schani/mathmap

.....
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: builtins/libnoise.o:libnoise.cpp:(.rdata$.refptr._ZTVN5noise6module7VoronoiE[.refptr._ZTVN5noise6module7VoronoiE]+0x0): undefined reference to `vtable for noise::module::Voronoi'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: builtins/libnoise.o:libnoise.cpp:(.rdata$.refptr._ZTVN5noise6module11RidgedMultiE[.refptr._ZTVN5noise6module11RidgedMultiE]+0x0): undefined reference to `vtable for noise::module::RidgedMulti'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: builtins/libnoise.o:libnoise.cpp:(.rdata$.refptr._ZTVN5noise6module6BillowE[.refptr._ZTVN5noise6module6BillowE]+0x0): undefined reference to `vtable for noise::module::Billow'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: builtins/libnoise.o:libnoise.cpp:(.rdata$.refptr._ZTVN5noise6module6PerlinE[.refptr._ZTVN5noise6module6PerlinE]+0x0): undefined reference to `vtable for noise::module::Perlin'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:155: mathmap] Błąd 1


I compiled noise from:
https://github.com/eXpl0it3r/libnoise

Compilation completed without an error message.
However, the attempt to run in Gimp-2.10.15 fails (as in the screenshot)

(mathmap:8736): Gdk-CRITICAL **: 20:49:04.817: gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
(mathmap:8736): Gdk-CRITICAL **: 20:49:05.012: gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
(mathmap:8736): Gdk-CRITICAL **: 20:49:05.036: gdk_cairo_create: assertion 'GDK_IS_DRAWABLE (drawable)' failed
Error: The MathMap compiler failed, for the following reason:
Could not write temporary file `/tmp/mathfunc8736_1.c'


Any hint where the error lies?


Attachments:
ErrorMM gdk.png
ErrorMM gdk.png [ 37.38 KiB | Viewed 19955 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Fri Nov 01, 2019 4:09 am  (#48) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Hi MareroQ.
I've had that same error before.
https://groups.google.com/forum/#!topic/mathmap/BnkokRxaCPk
I think it comes from GSL.
MathMap is looking for libgsl1X and libgsl2X is installed.
I was able to make a symbolic link on Linux
(sudo ln -s /usr/lib/x86_64-linux-gnu/libgsl.so.23 /usr/lib/x86_64-linux-gnu/libgsl.so.19)
You may not have GSL installed or it's the wrong version.

It's good you got this far with Windows 10. I've been thinking about using Azure which is a MSoft build system.
I'm right out of the Windows environment now and would struggle with it.


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Fri Nov 01, 2019 12:55 pm  (#49) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Hi Tas_Mania.

In my system libgsl is version 2.5 (libgsl-25.dll).
I tried to compile an older version of gsl-1.9 [20.02.2007] - but too many bugs and this is not for my completely amateur skills (I would have to rebuild the msys64 environment thoroughly).
The only hope is that the 1.3.5_32 bit version will work for a long time for 64 bit (personally I don't have any problems with this old version) or someone with experience (Samj? or Partha?) will try to compile it.

I had some hope that the problem lies only in the path of the temp file and its strange (for me)
format (* .c)

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Fri Nov 01, 2019 6:13 pm  (#50) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Quote:
I had some hope that the problem lies only in the path of the temp file and its strange (for me)
format (* .c)

Thats because its written in C. Forward slashes in Windows are a problem but you must have resolved that.

Symbolic links can be made in Windows

You just have the new file on your system while the symbolic link provides the file required for compiling. This file is really only a pointer to the newer installed file.

Mark and PhotoComix are the only people who have compiled MathMap on Windows AFAIK and now PhotoComix is gone. Mark is a genius IMHO.
Nobody has ever used MathMap Composer on Windows. If you get it done click on the Composer Tab and see what I mean?


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Fri Nov 01, 2019 11:19 pm  (#51) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
So from now on I'm Mr. Nobody. :ninja
As for me MM Composer works normally like in Linux (I compared with your movie). After saving the new mmc preset appears in the MathMap menu automatically without having to be restarted.
I also admire the genius of Mark Probst(schani) for this function.
Thanks for the link about: Symbolic links can be made in Windows - I will study soon (but I know that simply replacing the file / or renaming libgsl-25.dll to libgsl-19.dll is not enough because mathmap absolutely will demand libraries with which it was compiled - and compiling very old libraries is a problem of many dependencies - and sometimes the sources are misleading).
I have also another problem - I need more information - how to set the flag in Windows so that after compilation no additional console window pops up (I used to have a working François Collard setting - but it was lost with the old computer - except GIMP and GMIC I haven't compiled anything else recently). :geek


Attachments:
MMComposer.png
MMComposer.png [ 919.4 KiB | Viewed 22497 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Sat Nov 02, 2019 12:34 am  (#52) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Congratulations MareroQ on getting this going for Windows.
I thought it may never happen.
Mark coded a 'node' based graphical environment 10 years ago.
Today a node system is at the heart of davinci resolve.


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Sat Nov 02, 2019 3:32 am  (#53) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I found the repo http://repo.msys2.org/mingw/x86_64/ with older versions of libraries.
I used:
mingw-W64-x86_64-liblas-1.8.0-1-any.pkg.tar
mingw-W64-x86_64-gsl-1.16-3-any.pkg.tar
Unfortunately, the same error remained - and it looks so nice:


Attachments:
It's just a wish.png
It's just a wish.png [ 55.27 KiB | Viewed 22483 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Sat Nov 02, 2019 5:50 pm  (#54) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Tas_mania wrote:
Quote:
Mark and PhotoComix are the only people who have compiled MathMap on Windows AFAIK and now PhotoComix is gone. Mark is a genius IMHO.?

PhotoComix never compiled MathMap. He only packaged it and hosted it on Deviant Arts website.
Only folks either than Mark i know of that have compiled Mathmap is SamJ. Possibly Partha. Oh and MareroQ. :)

_________________
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 Sat Nov 02, 2019 6:03 pm, edited 1 time in total.

Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Sat Nov 02, 2019 6:02 pm  (#55) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
MareroQ wrote:
So from now on I'm Mr. Nobody. :ninja
As for me MM Composer works normally like in Linux (I compared with your movie). After saving the new mmc preset appears in the MathMap menu automatically without having to be restarted.
I also admire the genius of Mark Probst(schani) for this function.
Thanks for the link about: Symbolic links can be made in Windows - I will study soon (but I know that simply replacing the file / or renaming libgsl-25.dll to libgsl-19.dll is not enough because mathmap absolutely will demand libraries with which it was compiled - and compiling very old libraries is a problem of many dependencies - and sometimes the sources are misleading).
I have also another problem - I need more information - how to set the flag in Windows so that after compilation no additional console window pops up (I used to have a working François Collard setting - but it was lost with the old computer - except GIMP and GMIC I haven't compiled anything else recently). :geek

So MareroQ does this mean you are going to share the mathmap executable. By the way where did you find the src files? :)

_________________
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: Mathmap Extra Expressions
PostPosted: Sun Nov 03, 2019 8:48 am  (#56) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@Tas_Mania
Just considerations

Once again I compared the errors:
(they are just a little similar)

Your error:
The MathMap 'Composer' tab crashes MathMap
Segmentation fault

My error:
Could not write temporary file
The MathMap 'Composer' tab NOT crashes MathMap

So the gsl version is probably not responsible for the error.

If you decided to recompile in Linux, save the version of the library use so that I can repeat it in Windows.

Regarding the additional console after running Mathmap
I had to do something wrong before:
Simple addition to CFLAGS = -mwindows works and mathmap is without an additional console.


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@Rod - You will try to compile?

Download Mathmap 1.3.5 for Windows (these are identical versions):

Rich2005
viewtopic.php?f=9&t=4558&start=30#p231005

Graechan
http://gimpchat.com/download/file.php?id=9548

PhotoComix
http://downloads.sourceforge.net/projec ... irror=nchc

Sources Mathmap-master for Linux:
https://github.com/schani/mathmap


Attachments:
Required for Mathmap operation.png
Required for Mathmap operation.png [ 18.61 KiB | Viewed 22429 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Mon Nov 04, 2019 3:44 am  (#57) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
Hi MareroQ
Composer crashing MM was another issue.

I looked at the makefile lines 116 and 294.
(cp /bin/intl.dll /bin/libgsl.dll /bin/libgslcblas.dll /bin/libgtksourceview-2.0-0.dll /bin/libfftw3-3.dll mathmap-$(VERSION)-mingw32/plug-ins/)

Its looking for libgsl.dll in /bin. Maybe edit this line with whatever libgsl.dll you have?


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Mon Nov 04, 2019 4:29 am  (#58) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Regardless of the gsl version, -lgsl (line 116) is identical (valid).

On line 294 - only final exe and dll file transfers are done (I'm testing with another program and mathmap gets all the files it needs - but the error goes on).

I am curious about one thing:
in Linux temporary file `/tmp/mathfunc8736_1.c 'is saved to disk and where and which source file is responsible for path selection?

I also suspected the old version of libpng12 (line 68) - replacing it with libpng16 also did nothing.

It's possible that the Cairo version is the key - what version did you compile with?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Mathmap Extra Expressions
PostPosted: Fri Nov 13, 2020 5:51 pm  (#59) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
Will Mathmap be updated to work properly with GIMP 3.0 when it becomes available? Some of the expressions don't work properly.


Top
Post new topic Reply to topic  [ 59 posts ]  Go to page Previous  1, 2, 3

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts How To Get Rid of This 'extra' Trace of Text?

16

No new posts 11 Extra Crown Molding gradients default in my GIMP system

4

No new posts MathMap in 2.10.18

2

No new posts Attachment(s) MathMap

11

No new posts Mathmap

4



* Login  



Powered by phpBB3 © phpBB Group