{"action":"created","issue":{"url":"https://api.github.com/repos/log4cplus/log4cplus/issues/317","repository_url":"https://api.github.com/repos/log4cplus/log4cplus","labels_url":"https://api.github.com/repos/log4cplus/log4cplus/issues/317/labels{/name}","comments_url":"https://api.github.com/repos/log4cplus/log4cplus/issues/317/comments","events_url":"https://api.github.com/repos/log4cplus/log4cplus/issues/317/events","html_url":"https://github.com/log4cplus/log4cplus/issues/317","id":332764487,"node_id":"MDU6SXNzdWUzMzI3NjQ0ODc=","number":317,"title":"make fails miserably","user":{"login":"LinaSchad","id":14079625,"node_id":"MDQ6VXNlcjE0MDc5NjI1","avatar_url":"https://avatars2.githubusercontent.com/u/14079625?v=4","gravatar_id":"","url":"https://api.github.com/users/LinaSchad","html_url":"https://github.com/LinaSchad","followers_url":"https://api.github.com/users/LinaSchad/followers","following_url":"https://api.github.com/users/LinaSchad/following{/other_user}","gists_url":"https://api.github.com/users/LinaSchad/gists{/gist_id}","starred_url":"https://api.github.com/users/LinaSchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinaSchad/subscriptions","organizations_url":"https://api.github.com/users/LinaSchad/orgs","repos_url":"https://api.github.com/users/LinaSchad/repos","events_url":"https://api.github.com/users/LinaSchad/events{/privacy}","received_events_url":"https://api.github.com/users/LinaSchad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wilx","id":1098563,"node_id":"MDQ6VXNlcjEwOTg1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1098563?v=4","gravatar_id":"","url":"https://api.github.com/users/wilx","html_url":"https://github.com/wilx","followers_url":"https://api.github.com/users/wilx/followers","following_url":"https://api.github.com/users/wilx/following{/other_user}","gists_url":"https://api.github.com/users/wilx/gists{/gist_id}","starred_url":"https://api.github.com/users/wilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilx/subscriptions","organizations_url":"https://api.github.com/users/wilx/orgs","repos_url":"https://api.github.com/users/wilx/repos","events_url":"https://api.github.com/users/wilx/events{/privacy}","received_events_url":"https://api.github.com/users/wilx/received_events","type":"User","site_admin":false},"assignees":[{"login":"wilx","id":1098563,"node_id":"MDQ6VXNlcjEwOTg1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1098563?v=4","gravatar_id":"","url":"https://api.github.com/users/wilx","html_url":"https://github.com/wilx","followers_url":"https://api.github.com/users/wilx/followers","following_url":"https://api.github.com/users/wilx/following{/other_user}","gists_url":"https://api.github.com/users/wilx/gists{/gist_id}","starred_url":"https://api.github.com/users/wilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilx/subscriptions","organizations_url":"https://api.github.com/users/wilx/orgs","repos_url":"https://api.github.com/users/wilx/repos","events_url":"https://api.github.com/users/wilx/events{/privacy}","received_events_url":"https://api.github.com/users/wilx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-06-15T13:00:45Z","updated_at":"2018-06-18T16:04:16Z","closed_at":null,"author_association":"NONE","body":"Hi there :) \r\n\r\nI just wanted to start using log4cplus, because I really need a logging framework and it looks awesome. I need to use it on Windows 10 and I was able to run ./configure, but just with --disable-dependency-tracking because with just ./configure I got an error saying _\"Something went wrong bootstrapping makefile fragments for automatic dependency tracking. ...\"_ When I now try to _make_ I get this output:\r\n\r\n```\r\nmake\r\nmake  all-recursive\r\nmake[1]: Entering directory `/z/metaproc-research/UIAutomation/log4cplus-2.0.1'\r\nMaking all in include\r\nmake[2]: Entering directory `/z/metaproc-research/UIAutomation/log4cplus-2.0.1/include'\r\nmake[2]: Nothing to be done for `all'.\r\nmake[2]: Leaving directory `/z/metaproc-research/UIAutomation/log4cplus-2.0.1/include'\r\nmake[2]: Entering directory `/z/metaproc-research/UIAutomation/log4cplus-2.0.1'\r\ng++ -DHAVE_CONFIG_H   -I./include -I./threadpool -I./include -I./catch/single_include -DCATCH_CONFIG_PREFIX_ALL=1 -DNDEBUG -D_GNU_SOURCE=1 -U__STRICT_ANSI__ -DWIN32 -D_WIN32 -DMINGW_HAS_SECURE_API=1 -D_REENTRANT  -g -O2 -Wall -fdiagnostics-show-caret -ftrack-macro-expansion -fdiagnostics-color=auto -Wextra -pedantic -Wstrict-aliasing -Wstrict-overflow -Woverloaded-virtual -Wc++14-compat -Wundef -Wshadow -Wformat -Wnoexcept -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wno-variadic-macros -fvisibility=hidden  -c -o simpleserver/loggingserver.o simpleserver/loggingserver.cxx\r\nIn file included from ./include/log4cplus/configurator.h:27:0,\r\n                 from simpleserver/loggingserver.cxx:24:\r\n./include/log4cplus/thread/syncprims.h:75:38: error: 'recursive_mutex' in namespace 'std' does not name a type\r\n     LOG4CPLUS_THREADED (mutable std::recursive_mutex mtx;)\r\n                                      ^\r\n./include/log4cplus/config.hxx:177:31: note: in definition of macro 'LOG4CPLUS_THREADED'\r\n #define LOG4CPLUS_THREADED(x) x\r\n                               ^\r\nIn file included from ./include/log4cplus/helpers/pointer.h:38:0,\r\n                 from ./include/log4cplus/appender.h:36,\r\n                 from ./include/log4cplus/configurator.h:33,\r\n                 from simpleserver/loggingserver.cxx:24:\r\n./include/log4cplus/thread/syncprims.h:95:18: error: 'mutex' in namespace 'std' does not name a type\r\n     mutable std::mutex mtx;\r\n                  ^~~~~\r\n./include/log4cplus/thread/syncprims.h:96:18: error: 'condition_variable' in namespace 'std' does not name a type\r\n     mutable std::condition_variable cv;\r\n                  ^~~~~~~~~~~~~~~~~~\r\n./include/log4cplus/thread/syncprims.h:121:18: error: 'mutex' in namespace 'std' does not name a type\r\n     mutable std::mutex mtx;\r\n                  ^~~~~\r\n./include/log4cplus/thread/syncprims.h:122:18: error: 'condition_variable' in namespace 'std' does not name a type\r\n     mutable std::condition_variable cv;\r\n                  ^~~~~~~~~~~~~~~~~~\r\nIn file included from ./include/log4cplus/configurator.h:33:0,\r\n                 from simpleserver/loggingserver.cxx:24:\r\n./include/log4cplus/appender.h:317:14: error: 'mutex' in namespace 'std' does not name a type\r\n         std::mutex in_flight_mutex;\r\n              ^~~~~\r\n./include/log4cplus/appender.h:318:14: error: 'condition_variable' in namespace 'std' does not name a type\r\n         std::condition_variable in_flight_condition;\r\n              ^~~~~~~~~~~~~~~~~~\r\nIn file included from ./include/log4cplus/socketappender.h:36:0,\r\n                 from simpleserver/loggingserver.cxx:25:\r\n./include/log4cplus/thread/threads.h:85:21: error: 'thread' is not a member of 'std'\r\n     std::unique_ptr<std::thread> thread;\r\n                     ^~~\r\n./include/log4cplus/thread/threads.h:85:21: note: suggested alternative:\r\nIn file included from ./include/log4cplus/helpers/pointer.h:38:0,\r\n                 from ./include/log4cplus/appender.h:36,\r\n                 from ./include/log4cplus/configurator.h:33,\r\n                 from simpleserver/loggingserver.cxx:24:\r\n./include/log4cplus/thread/syncprims.h:38:33: note:   'log4cplus::thread'\r\n namespace log4cplus { namespace thread {\r\n                                 ^~~~~~\r\nIn file included from ./include/log4cplus/socketappender.h:36:0,\r\n                 from simpleserver/loggingserver.cxx:25:\r\n./include/log4cplus/thread/threads.h:85:21: error: 'thread' is not a member of 'std'\r\n     std::unique_ptr<std::thread> thread;\r\n                     ^~~\r\n./include/log4cplus/thread/threads.h:85:21: note: suggested alternative:\r\nIn file included from ./include/log4cplus/helpers/pointer.h:38:0,\r\n                 from ./include/log4cplus/appender.h:36,\r\n                 from ./include/log4cplus/configurator.h:33,\r\n                 from simpleserver/loggingserver.cxx:24:\r\n./include/log4cplus/thread/syncprims.h:38:33: note:   'log4cplus::thread'\r\n namespace log4cplus { namespace thread {\r\n                                 ^~~~~~\r\nIn file included from ./include/log4cplus/socketappender.h:36:0,\r\n                 from simpleserver/loggingserver.cxx:25:\r\n./include/log4cplus/thread/threads.h:85:32: error: template argument 1 is invalid\r\n     std::unique_ptr<std::thread> thread;\r\n                                ^\r\n./include/log4cplus/thread/threads.h:85:32: error: template argument 2 is invalid\r\nmake[2]: *** [simpleserver/loggingserver.o] Error 1\r\nmake[2]: Leaving directory `/z/metaproc-research/UIAutomation/log4cplus-2.0.1'\r\nmake[1]: *** [all-recursive] Error 1\r\nmake[1]: Leaving directory `/z/metaproc-research/UIAutomation/log4cplus-2.0.1'\r\nmake: *** [all] Error 2`\r\n```\r\n\r\nI'd really appreciate help, thanks in advance :)"},"comment":{"url":"https://api.github.com/repos/log4cplus/log4cplus/issues/comments/398106592","html_url":"https://github.com/log4cplus/log4cplus/issues/317#issuecomment-398106592","issue_url":"https://api.github.com/repos/log4cplus/log4cplus/issues/317","id":398106592,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODEwNjU5Mg==","user":{"login":"wilx","id":1098563,"node_id":"MDQ6VXNlcjEwOTg1NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1098563?v=4","gravatar_id":"","url":"https://api.github.com/users/wilx","html_url":"https://github.com/wilx","followers_url":"https://api.github.com/users/wilx/followers","following_url":"https://api.github.com/users/wilx/following{/other_user}","gists_url":"https://api.github.com/users/wilx/gists{/gist_id}","starred_url":"https://api.github.com/users/wilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilx/subscriptions","organizations_url":"https://api.github.com/users/wilx/orgs","repos_url":"https://api.github.com/users/wilx/repos","events_url":"https://api.github.com/users/wilx/events{/privacy}","received_events_url":"https://api.github.com/users/wilx/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T16:04:16Z","updated_at":"2018-06-18T16:04:16Z","author_association":"CONTRIBUTOR","body":"Use the CMake based build instead. That should work.\r\n\r\nThis is probably because of missing appropriate `-D_WIN32_WINNT=0x0600`. Add it to `CPPFLAGS` or `CXXFLAGS` on `./configure` command line.\r\n\r\nThis should be documented.\r\n\r\n"}}
{"actor":{"display_login":"wilx"}}