DentonW / DevIL

Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
http://openil.sourceforge.net/
GNU Lesser General Public License v2.1
446 stars 137 forks source link

Cmakelists error #15

Open alexander-a-kharlamov opened 9 years ago

alexander-a-kharlamov commented 9 years ago

Hi,

There seems to be an error in Cmakelists file:

CMake Error at src-IL/CMakeLists.txt:42 (ADD_LIBRARY): Cannot find source file:

msvc/il.def

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

Cheers, Alex

bcampbell commented 9 years ago

I'm doing some work on compiling DevIL with CMake. I'm working on Linux. I've done a little Mac testing, but not tried it at all under windows yet.

You might have better luck with what I've got so far:

https://github.com/bcampbell/DevIL

(And I'd love some feedback from anyone trying it on windows!)

DentonW commented 9 years ago

In the next month, I should start to have a little free time to play with DevIL. I definitely plan on looking at this - especially in Windows. Thanks!

bcampbell commented 9 years ago

Currently, I've got it compiling and installing under Linux in a rough form (lots of config checks and options still missing), and I'm trying to get it working on Mac too. Mostly it just works as per Linux, but I'm having a lot of trouble deciding how to deal with differing inline handling on various compilers (I'll open another issue to document this).

bcampbell commented 9 years ago

BTW - I've got a few things I want to work on in DevIL too, so I'll make sure to open things as issues here as I go to try and aid coordination!

jh2os commented 8 years ago

It looks like you need to change the CMakeList.txt for each of the src-IL, src-ILU, and src-ILUT folders. In each file you should find and replace all "msvc/" with "msvc8" or "msvc9". After you have changed the three files, it will properly build with CMake