PDA

View Full Version : so sad - problem with WDL v2009.01.18


Tranquil
01-19-2009, 12:08 PM
i try to compile lice/test and i get a huge amount of warnings (~1970) in glew.c that claim the following "inconsistent dll linkage. dllexport assumed".

i did a little search about GLEW installation and i found that it needs the keyword GLEW_STATIC in preprocessor definitions in order to build a static library of GLEW. i followed the instructions and the warnings disappeared.

although i still have problems... the test.exe compiles without errors but when i try to run the executable i get the following application error:
the instruction at "0x0040dec8" referenced memory at "0x00db9adf". The memory could not be "read".

could someone give me some guidance?

-----
winxp sp2
cpu amd athlon 2700+
gpu ati 9700 with the latest drivers (1/12/2008)
ram 2GB
vc6.0

schwa
01-19-2009, 04:40 PM
Ah -- we were testing some stuff and I guess WDL got posted with some things inconsistently defined out.

The warnings aren't important, as you discovered, you can eliminate them with the define (that define is in lice_gl_ctx.h as well which allows glew to compile, but unless the define is at the project level, glew gives the warnings.)

If you surround the body of case 20 in main.cpp with

#ifndef DISABLE_LICE_EXTENSIONS // line 89
...
#endif // line 195

then things should work.

Tranquil
01-20-2009, 03:37 AM
Ah -- we were testing some stuff and I guess WDL got posted with some things inconsistently defined out.

The warnings aren't important, as you discovered, you can eliminate them with the define (that define is in lice_gl_ctx.h as well which allows glew to compile, but unless the define is at the project level, glew gives the warnings.)

If you surround the body of case 20 in main.cpp with

#ifndef DISABLE_LICE_EXTENSIONS // line 89
...
#endif // line 195

then things should work.
wow, that you was fast and accurate. it works like a charm.
thanks, schwa ;)

stixsmith
01-26-2009, 11:52 AM
Also, just to note that the graphics files are still missing from the iPlug example - despite being mentioned in the release notes


Downloads
Current: WDL v2009.01.18
...
iPlug: added images for example