Help with ImageMagick

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

Help with ImageMagick

Post by Kion »

Im going to use Magick++ to load textures into my application but Magick++.h cant seem to find <Magick++/Include.h>.

Im useing Code::Blocks and im on Ubuntu.

Code: Select all

#ifndef TEXTURE_H
#define	TEXTURE_H

#include <string>
#include <GL/glew.h>
#include <ImageMagick/Magick++.h>

class Texture
{
public:
    Texture(GLenum TextureTarget, const std::string& FileName);

    bool Load();

    void Bind(GLenum TextureUnit);

private:
    std::string m_fileName;
    GLenum m_textureTarget;
    GLuint m_textureObj;
    Magick::Image* m_pImage;
    Magick::Blob m_blob;
};


#endif	/* TEXTURE_H */

I installed useing ‘sudo apt-get install libmagick+±dev’ is that the correct way to do it? Ive only been useing linux for a few weeks.
Post Reply