Imagemagick stopped working on OS X Mavericks - imagemagick

I had installed ImageMagick without any problems using the standard procedure (MacPorts) on Snow Leopard, however it has stopped working after an upgrade to Mavericks.
So, after much time spend looking at people with similar problems, I uninstalled it using port, then reinstalled using brew.
The installation worked fine as far as I can tell, however I now get an issue because of version incompatibility. This is what happens when I try to run convert:
ImageMagick reported error code 5. Message: dyld: Library not loaded:
/usr/local/lib/libltdl.7.dylib Referenced from:
/usr/local/Cellar/imagemagick/6.8.7-0/bin/convert
Reason: Incompatible library version:
convert requires version 11.0.0 or later,
but libltdl.7.dylib provides version 9.0.0
Apparently this library is out of date... but how to update it?

Had the same issue after upgrading to Maverick. My whole dev env was broken.
For fixing imagemagick - installed provided here - http://cactuslab.com/imagemagick/
helped me.
Hope it helps

Related

php71-imagick unable to load dynamic library (XAMPP / APACHE on MacOS)

i would like to install imagick for my XAMPP server and i have a problem, since two days i'm trying to fix it.
The errormessage on XAMPP-startup:
PHP Warning: PHP Startup: Unable to load dynamic library
'/opt/local/lib/php71/extensions/no-debug-non-zts-20160303/imagick.so'
- dlopen(/opt/local/lib/php71/extensions/no-debug-non-zts-20160303/imagick.so,
9): Library not loaded: /opt/local/lib/libfreetype.6.dylib\n
Referenced from: /opt/local/lib/libMagickWand-6.Q16.5.dylib\n Reason:
Incompatible library version: libMagickWand-6.Q16.5.dylib requires
version 21.0.0 or later, but libfreetype.6.dylib provides version
15.0.0 in Unknown on line 0
In my understanding, the problem comes with libMagickWand-6.Q16.5.dylib, which require freetype in version >= 21, but i've version 15 installed...?
yesterday i tried to install the newest version for xampp but didn't had success...
if someone has the same or similar issues, my solution was to use a MAMP-server (link). There you can choose your preferred PHP-Version. MAMP comes with a lot pre-installed (but mostly not activated) PHP-Extensions like imagick.
In my opinion, MAMP is a lot easier to configure than XAMPP.

Code Blocks OpenCV build failed

Having an issue with trying to build any opencv version with code::blocks.
I've have built opencv successfully before and have no idea what the issue is.
I've tried following many different tutorials on building opencv using mingw 4.9.2 and CMake. I have also tried using mingw32 and mingw64.
But I continue to receive the errors shown in the image above.
My question is; What is the issue? How can I fix this? And, lastly, what am I doing wrong?
Found that the version of OpenCV I was using had issues with MinGW. Tested a whole bunch of OpenCV versions (3.3, 3.2, 3.1, 2.4.13, 2.4.13.3).
I found that OpenCV version 2.4.9 with the latest version of CMake and MinGW worked.
Thought I'd leave this here to help anyone else having issues with creating OpenCV to work with MinGW/Code::Blocks

PyScripter always says: "Python could not be properly initialized. We must quit."

I've googled for a solution, and based on that, let me report a few details:
I've tried 32-bit PyScripter-v2.6.0-Setup.exe with 32-bit python-3.6.1.exe; and 64-bit PyScripter-v2.6.0-x64-Setup.exe with 64-bit python-3.6.1-amd64-webinstall.exe.
I'm on a 64-bit Windows 10 machine.
I uninstalled other versions of Python on the machine.
Tried unzipping rpyc in the \Lib\ folder, as someone suggested that here.
What else should I be looking at?
Here is a tested Solution
Remove old PyScripter
Install Python from Python website. I installed mine from:
http://www.python.org/ftp/python/3.3.2/python-3.3.2.amd64.msi (and it worked)
Now install PyScripter-v2.6.0-x64-Setup.exe from https://sourceforge.net/projects/pyscripter/files/
This should solve the problem.
I got this solution from https: //github.com/pyscripter/pyscripter/issues/715
You are using an old version of Pyscripter. Version 3.4 from https://sourceforge.net/projects/pyscripter/ provides support for all released python versions, virtual environments, conda distibutions and the ability to switch between them without exiting Pyscripter.

What to do with this Swift language compiling error on windows

I'm trying to learn how to build an ios mobile app and decided to install swift for windows. After I downloading and installing the software. I tried to compile and run the sample Hello.swift to test it but this error shows up. What to do? Thanks in advance
p.s. I already redownload and reinstalled the SwiftForWindows
Okay I already figure out the solution to my problem. Just install the Visual studio 14 and check the C++ on the option of installing

Brew install qt does not work on macOS Sierra

I upgraded my mac to Sierra and I can't install qt. I wrote "brew install qt" and I received the message below. Do you have any recommendations?
"This formula either does not compile or function as expected on macOS
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build."
if you really need qt4, you can try
brew install cartr/qt4/qt
I was able to sucessfully work around this on a fresh install of Sierra this evening.
It looks like qt.rb will execute just fine on MacOS Sierra, you just need to remove the Maximum OS requirement entry to allow it to run.
This is what was required on my machine.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb
Comment out line 36 as follows
#depends_on MaximumMacOSRequirement => :el_capitan
I am curious if this works for others.
Thanks
Searching with
brew search qt
you can see there is a QT5
brew install qt5
According to https://github.com/Homebrew/homebrew-core/issues/1957#issuecomment-225806023 there will be no support for qt(4)
Qt4 is not supported anymore; users should upgrade to Qt5. Homebrew backported a fix for 10.11 but doesn’t intend to maintain this forever. There’s currently a pull-request that may fix that. You’ll have to wait for it to be merged if you want to install Qt4 with Homebrew.
install qt4
Please note: Qt4 is unsupported by its creators, so there are likely security/usability problems with it that will never be resolved. If you can, please consider migrating your projects to Qt5.
resource : https://github.com/cartr/homebrew-qt4
brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt

Resources