Comments (4)
As @JohnKendrick pointed out, indeed ILUT_USE_OPENGL
is defined in devil/DevIL/include/IL/ilut_config.h
. However this file is included only in devil/DevIL/include/IL/ilut.h
only if we are compiling on windows:
#if (defined(_WIN32) || defined(_WIN64))
#if (defined(IL_USE_PRAGMA_LIBS)) && (!defined(_IL_BUILD_LIBRARY))
#if defined(_MSC_VER) || defined(__BORLANDC__)
#pragma comment(lib, "ILUT.lib")
#endif
#endif
#include <IL/ilut_config.h>
#endif
After manually editing top-level CMakeLists.txt and adding add_definitions(-DILUT_USE_OPENGL)
project builds successfuly and ilutGL* functions are references properly.
I hope this insight will be helpful.
from devil.
I'll try to take a look at this soon. I haven't focused on ILUT with the latest updates, and it seems something may have broken with the switch to CMake.
from devil.
@DentonW Have you been able to look deeper into this issue?
In my case I wasn't able to use ilutGLBindTexImage but after checking contents of libILUT.so I found out that it has no functions starting with ilutGL.
> nm -g libILUT.so | grep ilut
0000000000203088 B ilutCurImage
00000000002030a0 B ilutCurrentPos
0000000000000f82 T ilutDisable
0000000000000f66 T ilutEnable
0000000000001461 T ilutGetBoolean
00000000000012c6 T ilutGetBooleanv
000000000000184c T ilutGetInteger
00000000000014aa T ilutGetIntegerv
0000000000000f20 T ilutGetString
0000000000001e01 T ilutInit
00000000000012aa T ilutIsDisabled
0000000000001133 T ilutIsEnabled
0000000000001d85 T ilutPopAttrib
0000000000001bcd T ilutPushAttrib
0000000000001dc7 T ilutRenderer
0000000000001897 T ilutSetInteger
00000000002030c0 B ilutStates
0000000000203058 D _ilutVendor
0000000000203060 D _ilutVersion
0000000000000eea T _Z15ilutD3D8MipFuncj
0000000000000cb0 T _Z17ilutDefaultStatesv
0000000000000f9e T _Z8ilutAblejh
from devil.
Hi, this is still a problem using the vcpkg method of installing DevIL.
nm libILUT.a
libILUT.a(ilut_allegro.cpp.o):
libILUT.a:ilut_allegro.cpp.o: no symbols
libILUT.a(ilut_directx.cpp.o):
libILUT.a:ilut_directx.cpp.o: no symbols
libILUT.a(ilut_directx10.cpp.o):
libILUT.a:ilut_directx10.cpp.o: no symbols
libILUT.a(ilut_directx9.cpp.o):
libILUT.a:ilut_directx9.cpp.o: no symbols
libILUT.a(ilut_directxm.cpp.o):
libILUT.a:ilut_directxm.cpp.o: no symbols
libILUT.a(ilut_internal.cpp.o):
0000000000000000 S _ilutCurImage
libILUT.a(ilut_main.cpp.o):
U __Z17ilutDefaultStatesv
0000000000000000 T _ilutInit
libILUT.a(ilut_opengl.cpp.o):
libILUT.a:ilut_opengl.cpp.o: no symbols
libILUT.a(ilut_sdlsurface.cpp.o):
libILUT.a:ilut_sdlsurface.cpp.o: no symbols
libILUT.a(ilut_states.cpp.o):
0000000000000050 T __Z15ilutD3D8MipFuncj
0000000000000000 T __Z17ilutDefaultStatesv
0000000000000240 T __Z8ilutAblejh
0000000000001138 D __ilutVendor
0000000000001140 D __ilutVersion
U _ilSetError
00000000000015e0 S _ilutCurrentPos
00000000000003d0 T _ilutDisable
00000000000000b0 T _ilutEnable
00000000000009c0 T _ilutGetBoolean
0000000000000850 T _ilutGetBooleanv
0000000000000dd0 T _ilutGetInteger
0000000000000b40 T _ilutGetIntegerv
0000000000000070 T _ilutGetString
00000000000006e0 T _ilutIsDisabled
0000000000000560 T _ilutIsEnabled
0000000000001090 T _ilutPopAttrib
0000000000001000 T _ilutPushAttrib
00000000000010c0 T _ilutRenderer
0000000000000e00 T _ilutSetInteger
00000000000015f0 S _ilutStates
libILUT.a(ilut_win32.cpp.o):
libILUT.a:ilut_win32.cpp.o: no symbols
libILUT.a(ilut_x11.cpp.o):
libILUT.a:ilut_x11.cpp.o: no symbols
from devil.
Related Issues (20)
- Compiling on freebsd13.0 fails HOT 1
- 1.8.0: build fails
- SOVERSION bump needed?
- suppert webp?
- Build fails with strict-aliasing violations
- Error in installation! HOT 1
- Confusion over Bpp and Bpc
- Hello, there is no 64-bit Debug version under the window HOT 1
- Related to GLUT for Ubuntu installation
- iluGammaCorrect
- libILUT.so: undefined reference to `gluBuild2DMipmaps' HOT 1
- DXT Endpoint detection problem
- How To Static Library Build HOT 1
- Invalid conversion from int to int HOT 3
- Implicit conversion from 'unsigned int' to 'float'
- 1.8.0: build fails HOT 3
- Building static libraries only applies to IL and not to ILU nor ILUT
- ilut_config.h need to install to include folder
- src-IL/src/il_states.c: 2 * bad compare ? HOT 1
- 1.8.0: build fails against jasper 3.0.x HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devil.