Build problems on UHU-Linux 2.0

cqhl
2007-07-02
2013-01-01
  • cqhl
    cqhl
    2007-07-02

    Hi all,

    I can't compile Enblend 3.0,

    make[3]: Entering directory `/usr/src/enblend-3.0/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I..    -g -O3 -ffast-math -Wall -D_GNU_SOURCE -Dinclude -g -O2 -MT enblend-enblend.o -MD -MP -MF ".deps/enblend-enblend.Tpo" -c blend.cc; \ then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else rm -f ".
    In file included from gpu.h:29,
                     from anneal.h:45,
                     from mask.h:35,
                     from enblend.h:39,
                     from enblend.cc:121:
    /usr/include/GL/glut.h:531: error: `GLAPIENTRY' does not name a type
    /usr/include/GL/glut.h:539: error: `GLAPIENTRY' does not name a type
    /usr/include/GL/glut.h:541: error: `GLAPIENTRY' does not name a type
    /usr/include/GL/glut.h:543: error: `GLAPIENTRY' does not name a type
    .
    .
    .

    Any Suggestions?

     
    • isolki
      isolki
      2007-07-05

      Hi cqhl,

      I don't know if this will help, but maybe you can try to use freeglut.

       
    • cqhl
      cqhl
      2007-07-09

      Hi Isoki,

      Thanks your answer! I replace original mesa3d packages to freeglut (install it from source), this is solve the problem, enblend is ok. But, i think, this is the mesa3d packages problem. Anybody use mesa3d without problem with enblend? The packages swap dangerous?