Gimp-Forum.net
Resynthesizer / heal-selection plugins for Windows - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Resynthesizer / heal-selection plugins for Windows (/Thread-Resynthesizer-heal-selection-plugins-for-Windows)

Pages: 1 2 3


RE: Resynthesizer / heal-selection plugins for Windows - Jergen - 10-06-2019

I found two copies of libstdc++-6.dll in the GIMP folders:

1: in GIMP 2\bin ➤ 1.723.464 bytes

2: in GIMP 2\32\bin ➤ 1.864.705 bytes

What should I do?


RE: Resynthesizer / heal-selection plugins for Windows - rich2005 - 10-06-2019

A new Gimp 2.10.12 install in a Win 7 64 bit (VM) here and the values are the same.

No other versions of libstdc++6.dll on the computer? You searched? Any number of applications use that file including old versions of gmic which often cause problems.
I can not tell you to remove anything in the Widows system, it might break another application.

I tried all different versions of resynthesizer and all working ok. So not much advice I can give.

You could try the version attached here. https://www.gimp-forum.net/Thread-Resynthisizer-Heal-Selection-Runtime-Error?pid=12687#pid12687 that works here in Win7 but then so do the Mediafire files.

Replace the resynthesizer.exe and resynthesizer-gui.exe files C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins with the new ones.

Otherwise, do not know.


RE: Resynthesizer / heal-selection plugins for Windows - Jergen - 10-06-2019

There are several other libstdc++-6.dll present on my PC, but not in GIMP.

Would it be an option to uninstall GIMP completely and do a clean install, without the use old plugins option? Can I then manually add the heal-selection plugin?

[EDIT]
Did a clean reinstall as described above.
I noticed that the folder \AppData\Roaming\GIMP\2.10\ does not get removed when uninstalling.
After the clean install no error message when starting up, but after starting up GIMP the heal-selection is not present in the filters menu.


RE: Resynthesizer / heal-selection plugins for Windows - rich2005 - 10-06-2019

(Just seen your Edit about a new install the way to go is :-   )

It is usually not necessary to re-install Gimp. A problem is most often in your Gimp profile.

The procedure is.

If you have an old Gimp 2.8 profile C:\Users\"yourname"\.gimp-2.8 move it some where safe (or delete if not needed )

Rename the existing Gimp 2.10 profile to disable it.
C:\Users\"yourname"\AppData\Roaming\GIMP to C:\Users\"yourname"\AppData\Roaming\GIMP-old

Start Gimp and it makes a new default Gimp profile.

Download resynth.zip https://www.gimp-forum.net/attachment.php?aid=2609

Unzip and put the 4 files in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

If that does not work and a re-install is needed Use the Gimp uninstaller first and delete any Gimp files that might be left over. Disable any existing Gimp 2.8 and Gimp 2.10 profiles.


RE: Resynthesizer / heal-selection plugins for Windows - Jergen - 10-06-2019

Did what you suggested.

Now the filter Map » Resynthesizer is present, but there is no Enhance » Heal selection


RE: Resynthesizer / heal-selection plugins for Windows - rich2005 - 10-07-2019

Another day, another possible cause.

No python plugin showing? Do you have in the Filters menu a Python-Fu section?

Out of interest, Are you using the latest gimp.org installer gimp-2.10.12-setup-3.exe or something else?


RE: Resynthesizer / heal-selection plugins for Windows - Jergen - 01-05-2020

So I tried once again, after installing GIMP 2.10.14.
Still no heal selection in the menu.

Now I tried starting up resynthesizer.exe (console) by starting it manually in C:\Users\...\AppData\Roaming\GIMP\2.10\plug-ins
A pop-up asked for libgimp-2.0-0.dll, which it said is missing on my computer.
So I searched for it and then found libgimp-2.0-0.dll to be present in C:\Program Files\GIMP 2\bin
The I copied libgimp-2.0-0.dll to C:\Users\...\AppData\Roaming\GIMP\2.10\plug-ins
After which I manually started up resynthesizer.exe (console)
Now a pop-up asked for a supposedly missing from my computer libgimpbase-2.0-0.dll

I then repeated the copying of the DLL and starting up process over and over, and ended up copying many files from C:\Program Files\GIMP 2\bin
Eacht time the pop-up would ask for another.
The other DLL files where:

libgexiv2-2.dll
libgdk-win32-2.0-0.dll
libgcc_s_seh-1.dll
libwinpthread-1.dll
libstdc++-6.dll
libexiv2.dll
libexpat-1.dll
libiconv-2.dll
libgio-2.0-0.dll
libintl-8.dll

After which I quit this process.

So what do I think I learned from this exercise?

That resynthesizer.exe and probably also resynthesizer-gui.exe keep looking for it's required dependencies (DLL's) in C:\Users\...\AppData\Roaming\GIMP\2.10\plug-ins , in stead of C:\Program Files\GIMP 2\bin

Can this be solved?


RE: Resynthesizer / heal-selection plugins for Windows - rich2005 - 01-05-2020

Quote:Now I tried starting up resynthesizer.exe (console) by starting it manually in C:\Users\...\AppData\Roaming\GIMP\2.10\plug-ins
.....
So what do I think I learned from this exercise?
That resynthesizer.exe and probably also resynthesizer-gui.exe keep looking for it's required dependencies (DLL's) in C:\Users\...\AppData\Roaming\GIMP\2.10\plug-ins , in stead of C:\Program Files\GIMP 2\bin

The only thing you learned (hopefully) is not to try and start a Gimp plugin from outside of the Gimp menu structure. 

Quote:...I then repeated the copying of the DLL and starting up process over and over, and ended up copying many files from C:\Program Files\GIMP 2\bin

Now go back and undo all that you have done

Quote:Can this be solved?

You do not need to solve anything. The resynthesizer / heal plugins work like this. https://youtu.be/RTuil4TgMNM  duration 2 and a half minutes.





However, with the best will in the world, I have absolutely no idea of what is going on in your Windows / Gimp installations.


RE: Resynthesizer / heal-selection plugins for Windows - Jergen - 01-05-2020

I had already undone everything.

It doesn't answer the question why is resynthesizer.exe searching for the DLL's within the plugin folder?


RE: Resynthesizer / heal-selection plugins for Windows - rich2005 - 01-05-2020

Quote:It doesn't answer the question why is resynthesizer.exe searching for the DLL's within the plugin folder?

I already answered that question. You are causing the error messages by running the resynthesizer file from outside the Gimp menu structure.

Look,  I can get error messages as well but that is not the way Gimp plugins (and scripts) work.

[attachment=3723]

-----------------------------------
Very rarely needed but after all your modifications you might as well start again. To get a clean installation.

1. Un-install Gimp using the Windows  un-install menu
2. If C:\Program Files\GIMP 2 remains, delete it
3. Delete your Gimp profile, C:\Users\"yourname"\AppData\Roaming\GIMP
4. Get the latest Gimp installer from http://www.gimp.org  and install Gimp
5. Run Gimp to create a new default Gimp user profile.
6. Get the resynthesizer files from  https://www.gimp-forum.net/Thread-Resynthisizer-Heal-Selection-Runtime-Error?pid=12687#pid12687
7. Unzip and put the four files plugin-heal-selection.py  plugin-heal-transparency.py  resynthesizer.exe  resynthesizer-gui.exe in C:\Users\"yourname"\AppData\Roaming\GIMP\2.10\plug-ins

Check that it works as the video demo I made for you.