Quantcast
Channel: bugs, errors - openFrameworks
Viewing all articles
Browse latest Browse all 636

Arch linux compilation error after updating the system

$
0
0

@dbwat wrote:

on all my computers I have this error since my update? Arch linux…

In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdint.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/include/stdint.h:9,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:2,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.h:3,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.cpp:1:
/usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
In file included from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.h:3,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.cpp:1:
/usr/include/GL/glext.h:12066:105: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
                                                                                                         ^
In file included from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.h:3,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.cpp:1:
/usr/include/GL/glew.h:18734:28: note: previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, GLfloat*)'
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:212,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.h:3,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.cpp:1:
/usr/include/GL/glext.h:12068:103: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, const GLint*)'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
                                                                                                       ^
In file included from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/utils/ofConstants.h:210,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.h:3,
                 from /home/db/of_v0.10.1_linux64gcc6_release/libs/openFrameworks/app/ofAppNoWindow.cpp:1:
/usr/include/GL/glew.h:18736:28: note: previous declaration as 'typedef void (* PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum, GLenum, GLint*)'
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

...;

Bernard

Posts: 16

Participants: 5

Read full topic


Viewing all articles
Browse latest Browse all 636

Trending Articles