{"action":"created","issue":{"url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com/issues/883","repository_url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com","labels_url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com/issues/883/labels{/name}","comments_url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com/issues/883/comments","events_url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com/issues/883/events","html_url":"https://github.com/scp-fs2open/fs2open.github.com/issues/883","id":173071893,"number":883,"title":"FreeBSD compilation fails in current master","user":{"login":"chief1983","id":145825,"avatar_url":"https://avatars.githubusercontent.com/u/145825?v=3","gravatar_id":"","url":"https://api.github.com/users/chief1983","html_url":"https://github.com/chief1983","followers_url":"https://api.github.com/users/chief1983/followers","following_url":"https://api.github.com/users/chief1983/following{/other_user}","gists_url":"https://api.github.com/users/chief1983/gists{/gist_id}","starred_url":"https://api.github.com/users/chief1983/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chief1983/subscriptions","organizations_url":"https://api.github.com/users/chief1983/orgs","repos_url":"https://api.github.com/users/chief1983/repos","events_url":"https://api.github.com/users/chief1983/events{/privacy}","received_events_url":"https://api.github.com/users/chief1983/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T22:21:04Z","updated_at":"2016-08-25T08:55:15Z","closed_at":null,"body":"FreeBSD 10.2 machine, updated as of January 2016 (had an issue installing the last updates, plan to rebuild it once PC-BSD 11 is released shortly).  CMake configure output is included below the errors.\r\n\r\n```\r\nIn file included from /usr/home/chief1983/fs2_open_git/code/graphics/gropengl.cpp:38:\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:231:34: error: expected ')'\r\n    void                (CALLBACK* fn)());\r\n                                 ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:231:25: note: to match this '('\r\n    void                (CALLBACK* fn)());\r\n                        ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:271:35: error: expected ')'\r\n    void                (CALLBACK *fn)());\r\n                                  ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:271:25: note: to match this '('\r\n    void                (CALLBACK *fn)());\r\n                        ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:354:34: error: expected ')'\r\n    void                (CALLBACK* fn)() );\r\n                                 ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:354:25: note: to match this '('\r\n    void                (CALLBACK* fn)() );\r\n                        ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:360:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUquadricErrorProc) (GLenum);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:360:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUquadricErrorProc) (GLenum);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:363:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessBeginProc)        (GLenum);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:363:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessBeginProc)        (GLenum);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:364:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessEdgeFlagProc)     (GLboolean);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:364:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessEdgeFlagProc)     (GLboolean);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:364:15: error: typedef redefinition with different types ('void (GLboolean)' vs 'void (GLenum)')\r\ntypedef void (CALLBACK* GLUtessEdgeFlagProc)     (GLboolean);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:363:15: note: previous definition is here\r\ntypedef void (CALLBACK* GLUtessBeginProc)        (GLenum);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:365:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessVertexProc)       (void *);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:365:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessVertexProc)       (void *);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:365:15: error: typedef redefinition with different types ('void (void *)' vs 'void (GLenum)')\r\ntypedef void (CALLBACK* GLUtessVertexProc)       (void *);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:363:15: note: previous definition is here\r\ntypedef void (CALLBACK* GLUtessBeginProc)        (GLenum);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:366:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessEndProc)          (void);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:366:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessEndProc)          (void);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:366:15: error: typedef redefinition with different types ('void ()' vs 'void (GLenum)')\r\ntypedef void (CALLBACK* GLUtessEndProc)          (void);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:363:15: note: previous definition is here\r\ntypedef void (CALLBACK* GLUtessBeginProc)        (GLenum);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:367:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessErrorProc)        (GLenum);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:367:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessErrorProc)        (GLenum);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:368:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessCombineProc)      (GLdouble[3],\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:368:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessCombineProc)      (GLdouble[3],\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:368:15: error: typedef redefinition with different types ('void (GLdouble *, void **, GLfloat *, void **)' vs 'void (GLenum)')\r\ntypedef void (CALLBACK* GLUtessCombineProc)      (GLdouble[3],\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:367:15: note: previous definition is here\r\ntypedef void (CALLBACK* GLUtessErrorProc)        (GLenum);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:372:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessBeginDataProc)    (GLenum, void *);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:372:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessBeginDataProc)    (GLenum, void *);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:372:15: error: typedef redefinition with different types ('void (GLenum, void *)' vs 'void (GLenum)')\r\ntypedef void (CALLBACK* GLUtessBeginDataProc)    (GLenum, void *);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:367:15: note: previous definition is here\r\ntypedef void (CALLBACK* GLUtessErrorProc)        (GLenum);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:373:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessEdgeFlagDataProc) (GLboolean, void *);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:373:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessEdgeFlagDataProc) (GLboolean, void *);\r\n             ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:373:15: error: typedef redefinition with different types ('void (GLboolean, void *)' vs 'void (GLenum)')\r\ntypedef void (CALLBACK* GLUtessEdgeFlagDataProc) (GLboolean, void *);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:367:15: note: previous definition is here\r\ntypedef void (CALLBACK* GLUtessErrorProc)        (GLenum);\r\n              ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:374:23: error: expected ')'\r\ntypedef void (CALLBACK* GLUtessVertexDataProc)   (void *, void *);\r\n                      ^\r\n/usr/home/chief1983/fs2_open_git/code/graphics/gl/glu.h:374:14: note: to match this '('\r\ntypedef void (CALLBACK* GLUtessVertexDataProc)   (void *, void *);\r\n             ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\n```\r\n```\r\n-- The C compiler identification is Clang 3.4.1\r\n-- The CXX compiler identification is Clang 3.4.1\r\n-- Check for working C compiler: /usr/bin/clang\r\n-- Check for working C compiler: /usr/bin/clang -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/clang++\r\n-- Check for working CXX compiler: /usr/bin/clang++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- NO FS2PATH environment variable found, you can define this to point to your freespace install but it is not required.\r\n-- Doing configuration specific to clang...\r\n-- Performing Test SUPPORTS_W_FLAG\r\n-- Performing Test SUPPORTS_W_FLAG - Success\r\n-- Performing Test SUPPORTS_WALL_FLAG\r\n-- Performing Test SUPPORTS_WALL_FLAG - Success\r\n-- Performing Test SUPPORTS_WEXTRA_FLAG\r\n-- Performing Test SUPPORTS_WEXTRA_FLAG - Success\r\n-- Performing Test SUPPORTS_WNO_MAYBE_UNINITIALIZED_FLAG\r\n-- Performing Test SUPPORTS_WNO_MAYBE_UNINITIALIZED_FLAG - Failed\r\n-- Performing Test SUPPORTS_SHIFT_NEGATIVE_VALUE\r\n-- Performing Test SUPPORTS_SHIFT_NEGATIVE_VALUE - Failed\r\n-- Configuring UNIX specific things and stuff...\r\n-- Looking for execinfo.h\r\n-- Looking for execinfo.h - found\r\n-- Looking for C++ include cxxabi.h\r\n-- Looking for C++ include cxxabi.h - found\r\n-- Found OpenGL: /usr/local/lib/libGL.so  \r\n-- Looking for glu.h\r\n-- Looking for glu.h - not found\r\n-- Found PkgConfig: /usr/local/bin/pkg-config (found version \"0.28\") \r\n-- Checking for module 'lua5.1<=5.1.5'\r\n--   \r\n-- Checking for module 'lua-5.1<=5.1.5'\r\n--   Found lua-5.1, version 5.1.5\r\n-- Checking for module 'ogg'\r\n--   Found ogg, version 1.3.2\r\n-- Checking for module 'theora'\r\n--   Found theora, version 1.1.1\r\n-- Checking for module 'vorbis'\r\n--   Found vorbis, version 1.3.5\r\n-- Checking for module 'vorbisfile'\r\n--   Found vorbisfile, version 1.3.5\r\n-- Found OpenAL: /usr/local/lib/libopenal.so  \r\n-- Checking for one of the modules 'sdl2'\r\n-- Checking for module 'jansson>=2.2'\r\n--   Found jansson, version 2.7\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE  \r\n-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) \r\n-- Building AppImage: OFF\r\n-- Building FSO tools: OFF\r\n-- Building wxFRED: OFF\r\n-- Fatal warnings: OFF\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /usr/home/chief1983/fs2_open_git/build\r\n```"},"comment":{"url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com/issues/comments/242321656","html_url":"https://github.com/scp-fs2open/fs2open.github.com/issues/883#issuecomment-242321656","issue_url":"https://api.github.com/repos/scp-fs2open/fs2open.github.com/issues/883","id":242321656,"user":{"login":"asarium","id":1013983,"avatar_url":"https://avatars.githubusercontent.com/u/1013983?v=3","gravatar_id":"","url":"https://api.github.com/users/asarium","html_url":"https://github.com/asarium","followers_url":"https://api.github.com/users/asarium/followers","following_url":"https://api.github.com/users/asarium/following{/other_user}","gists_url":"https://api.github.com/users/asarium/gists{/gist_id}","starred_url":"https://api.github.com/users/asarium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asarium/subscriptions","organizations_url":"https://api.github.com/users/asarium/orgs","repos_url":"https://api.github.com/users/asarium/repos","events_url":"https://api.github.com/users/asarium/events{/privacy}","received_events_url":"https://api.github.com/users/asarium/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T08:55:15Z","updated_at":"2016-08-25T08:55:15Z","body":"It doesn't find glu.h so it uses the windows headers. You could try defining `CALLBACK` as an empty macro if the internal glu.h file is used in gropengl.cpp."}}
{"actor":{"display_login":"asarium"}}