Open alexander-a-kharlamov opened 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!)
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!
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).
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!
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
Hi,
There seems to be an error in Cmakelists file:
CMake Error at src-IL/CMakeLists.txt:42 (ADD_LIBRARY): Cannot find source file:
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
Cheers, Alex