Questions tagged [devil]

Developer's Image Library (DevIL) is a programmer's library to develop applications with very powerful image loading capabilities, yet is easy for a developer to learn and use

Ultimate control of images is left to the developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter and display a wide variety of image formats.

100 questions
1
vote
0 answers

internet explorer 7&8 print layout problems

I have created a print button on my site which launches the print dialogue box. I also have a print.css file which is used to layout the print document. In this print.css file I have discarded everything I don't need. Only the logo of the company,…
Sixfoot Studio
  • 2,951
  • 7
  • 26
  • 35
1
vote
4 answers

Linker Error: Undefined reference

I'm using the source code in this article. I've simply copy and pasted the source to my own project, and Dev-C++ is finding all of the includes; however, when I compile I receive a slew of "linker errors" such as the following: [Linker error]…
Jamie
  • 1,607
  • 3
  • 17
  • 25
1
vote
2 answers

Jquery and $(document).ready(function()

I've read many things about $(document).ready(function() it's clear when it is usefull , so generally i write $(document).ready(function() inside but , why the devil , why is it KO in this so simple case ? if you just put off le $(doc.... it works…
obivatel
  • 47
  • 1
  • 3
1
vote
3 answers

OpenGL textures appear just black

I am trying to apply a texture to a quad, but I only get a black box instead of the texture. I am using DevIL to load images from files and OpenGL does the rest. Here is what I am doing so far: The following class abstracts the DevIL representation…
1
vote
1 answer

Using a dynamic library (DevIL/OpenIL) in a Xcode project

i am trying to compile example source code which is using the OpenGL, SDL and IL aka DevIL aka OpenIL libraries. OpenGL and SDL are available as native frameworks, but DevIL isn't. So here is what i did: I installed DevIL via homebrew. First i…
Patrick Oscity
  • 53,604
  • 17
  • 144
  • 168
1
vote
0 answers

How do I install DevIL with homebrew on mac?

I entered this: brew install devil and got this: Error: devil cannot be built with any available compilers. To install this formula, you may need to: brew install gcc So I reinstalled gcc and got this: Toms-MBP:~ tom$ brew install gcc ==>…
user3063750
  • 833
  • 1
  • 9
  • 13
1
vote
2 answers

JAVA: How to create "png" image from BufferedImage. Image has to be openable in DevIL library

I need to save BufferedImage as png image. At next step,I will need to open the image in another program(Avisynth). This program is able to open images, which I have drawn in ms-paint, but images created by my java program it is not able to open.…
Ján Яabčan
  • 743
  • 2
  • 10
  • 20
1
vote
0 answers

Codeblocks v. 13.12 error after adding class

Using C++ in codeblocks v. 13.12 every time I add a new class and try to build and run it gives me an undefined reference to winmain@16. After closing and opening codeblocks it works fine and the class files stay there but I would rather not have…
NickM13
  • 35
  • 5
1
vote
0 answers

Compiling devIL Image Loader

I am trying to compile the devIL image loader from my terminal, please tell me what I am doing wrong. Downloaded devIL 1.7.8, and unzipped in my "Downloads" folder Entered my Mac Terminal and typed, "Downloads/devil-1.7.8/configure", this seems to…
1
vote
1 answer

error: undefined reference to 'ilInit' Android DeviL

I want to use the DeviL library in my android app using NDK. I have succesfully been able to generate the header file for my main activity however in my native code when i try to initialize devil with ilLnit(); i get this…
Asiimwe
  • 2,199
  • 5
  • 24
  • 36
1
vote
2 answers

How to use OpenGL and DevIL get user drawing pixels

I need to load an image, display the image, and let user draw some strokes on the image and get those drawing pixels. I know OpenGL can load a texture image read by DevIL, and display it. But I am not sure how to use OpenGL to get user drawing…
realmq
  • 429
  • 4
  • 18
1
vote
1 answer

Static library for DevIL?

I really need a static version of the DevIL DLLs for windows as I need to statically link my program to it. Anyone got one? I, unfortunately, don't have the toolchain to compile from source :/ thanks,
horseyguy
  • 29,455
  • 20
  • 103
  • 145
1
vote
1 answer

devIL .so on ubuntu where do I put them - run time error

I am currently porting my game from windows to Linux. Debian(home) and Fedora(uni). It builds fine however at run time is expecting error while loading shared libraries: libIL.so.1. Firstly what is the .1 all about? I tried use placeing libIL.so…
Andrew
  • 1,764
  • 3
  • 24
  • 38
1
vote
1 answer

Undefined references to DevIL functions using MinGW

I'm not very experienced in C++ linking, static vs dynamic, .lib's vs .a's, and such. Notice below I have -l for all of the DevIL libraries (DevIL, ILU, ILUT). As for the library files, I put the dll's in both System32 and SysWOW64 and the .libs in…
Rooster
  • 1,267
  • 3
  • 15
  • 23
1
vote
1 answer

Read image with DevIL

I have problems with reading an image with DevIL 1.7.8. So far I know the following snippet should work: ilInit(); ILuint ImageName; ilGenImages(1, &ImageName); ilBindImage(ImageName); wchar_t* imgFilename = L"..\\..\\resources\\textures\\red.png";…
telandor
  • 869
  • 9
  • 28