c++ - GD library compilation problem
- Brian Gardner (21/21) Apr 12 2004 Hello,
- Walter (6/27) Apr 18 2004 What the error is saying is that if a declaration is being imported, i.e...
Hello, I tried to compile GD library (http://www.boutell.com/gd/) v2.0.22 with DMC v8.40 but I got errors: { ^ gd.c(75) : Error: initializer or function body for dllimport not allowed { ^ gd.c(122) : Error: initializer or function body for dllimport not allowed { ^ gd.c(165) : Error: initializer or function body for dllimport not allowed { ^ gd.c(204) : Error: initializer or function body for dllimport not allowed { ^ gd.c(210) : Error: initializer or function body for dllimport not allowed Fatal error: too many errors --- errorlevel 1 Brian
Apr 12 2004
What the error is saying is that if a declaration is being imported, i.e. if it is expected to be implemented in some external dll, then there shouldn't be a definition of it locally. "Brian Gardner" <briangr friberg.us> wrote in message news:c5er15$me2$1 digitaldaemon.com...Hello, I tried to compile GD library (http://www.boutell.com/gd/) v2.0.22 withDMCv8.40 but I got errors: { ^ gd.c(75) : Error: initializer or function body for dllimport not allowed { ^ gd.c(122) : Error: initializer or function body for dllimport not allowed { ^ gd.c(165) : Error: initializer or function body for dllimport not allowed { ^ gd.c(204) : Error: initializer or function body for dllimport not allowed { ^ gd.c(210) : Error: initializer or function body for dllimport not allowed Fatal error: too many errors --- errorlevel 1 Brian
Apr 18 2004