Help running Magick++ .exe on another PC (where Magick isn't installed)

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
JenrasGomes
Posts: 1
Joined: 2019-10-25T08:25:53-07:00
Authentication code: 1152

Help running Magick++ .exe on another PC (where Magick isn't installed)

Post by JenrasGomes » 2019-10-25T08:27:23-07:00

Hi fellow programmers

I can build and run my .exe on the PC I set up Magick++ no problem. However - running on my laptop where it isn't installed gives me an Exception Error: RegistryKeyLookupFailed 'CoderModulesPath' @ error/module.c/GetMagickModulePath/665

All my .dll files and images are in same directory as the exectuable program.

(I hope this is the correct formatting)

Code: Select all

#include <iostream>
#include <Magick++.h>
//#include <configure.h>
#include "CImg.h"

using namespace Magick;
using namespace cimg_library;
using namespace std;

string ExePath()
{
	char buffer[MAX_PATH];
	GetModuleFileName(NULL, buffer, MAX_PATH);
	string::size_type pos = string(buffer).find_last_of("\\/");
	return string(buffer).substr(0, pos);

Post Reply