Skip to content

Instantly share code, notes, and snippets.

@Dakedres
Created November 10, 2019 06:21
Show Gist options
  • Save Dakedres/e71defbbc575ad7e95b9c37ce56549c6 to your computer and use it in GitHub Desktop.
Save Dakedres/e71defbbc575ad7e95b9c37ce56549c6 to your computer and use it in GitHub Desktop.
Neutralino is being built...
In file included from ../core-shared/log.cpp:1:
../core-shared/log.h:27:10: fatal error: experimental/filesystem: No such file or directory
#include <experimental/filesystem>
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/settings.cpp:27:
../core-shared/log.h:27:10: fatal error: experimental/filesystem: No such file or directory
#include <experimental/filesystem>
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/serverlistener.cpp: In lambda function:
src/serverlistener.cpp:71:72: error: 'freeaddrinfo' was not declared in this scope
std::shared_ptr<addrinfo> socket_props(nullptr, [](addrinfo* ai) { freeaddrinfo(ai); });
^~~~~~~~~~~~
src/serverlistener.cpp:71:72: note: suggested alternative: 'addrinfo'
std::shared_ptr<addrinfo> socket_props(nullptr, [](addrinfo* ai) { freeaddrinfo(ai); });
^~~~~~~~~~~~
addrinfo
src/serverlistener.cpp: In member function 'void ServerListener::run(std::function<void(ClientAcceptationException)>)':
src/serverlistener.cpp:80:27: error: 'getaddrinfo' was not declared in this scope
int addrinfo_status = getaddrinfo(NULL, std::to_string(port).c_str(), &hints, (addrinfo**)&socket_props);
^~~~~~~~~~~
src/serverlistener.cpp:80:27: note: suggested alternative: 'addrinfo'
int addrinfo_status = getaddrinfo(NULL, std::to_string(port).c_str(), &hints, (addrinfo**)&socket_props);
^~~~~~~~~~~
addrinfo
src/serverlistener.cpp:111:27: error: 'thread' is not a member of 'std'
std::map<SOCKET, std::thread> threads;
^~~~~~
src/serverlistener.cpp:111:27: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:40:1:
+#include <thread>
src/serverlistener.cpp:111:27:
std::map<SOCKET, std::thread> threads;
^~~~~~
src/serverlistener.cpp:111:27: error: 'thread' is not a member of 'std'
src/serverlistener.cpp:111:27: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:111:33: error: template argument 2 is invalid
std::map<SOCKET, std::thread> threads;
^
src/serverlistener.cpp:111:33: error: template argument 4 is invalid
src/serverlistener.cpp:125:14: error: 'thread' is not a member of 'std'
std::thread ren(uiThread, appname, appport, width, height);
^~~~~~
src/serverlistener.cpp:125:14: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:126:9: error: 'ren' was not declared in this scope
ren.detach();
^~~
src/serverlistener.cpp:126:9: note: suggested alternative: 'run'
ren.detach();
^~~
run
src/serverlistener.cpp:140:30: error: invalid types 'int[SOCKET {aka unsigned int}]' for array subscript
threads[client_socket] = std::thread(ServerListener::clientHandler, client_socket, buffer_size);
^
src/serverlistener.cpp:140:39: error: 'thread' is not a member of 'std'
threads[client_socket] = std::thread(ServerListener::clientHandler, client_socket, buffer_size);
^~~~~~
src/serverlistener.cpp:140:39: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:141:30: error: invalid types 'int[SOCKET {aka unsigned int}]' for array subscript
threads[client_socket].detach();
^
src/ping/ping.cpp:35:18: warning: use of 'auto' in parameter declaration only available with -fconcepts
void setInterval(auto function,int interval) {
^~~~
src/ping/ping.cpp: In function 'void setInterval(auto:1, int)':
src/ping/ping.cpp:36:5: error: 'thread' was not declared in this scope
thread th([&]() {
^~~~~~
src/ping/ping.cpp:36:5: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/ping/ping.cpp:28:1:
+#include <thread>
src/ping/ping.cpp:36:5:
thread th([&]() {
^~~~~~
src/ping/ping.cpp:41:6: error: expected primary-expression before ')' token
});
^
src/ping/ping.cpp:42:5: error: 'th' was not declared in this scope
th.detach();
^~
src/ping/ping.cpp:42:5: note: suggested alternative: 'tm'
th.detach();
^~
tm
In file included from src/webv.cpp:4:
src/webview.h:62:10: fatal error: mshtmhst.h: No such file or directory
#include <mshtmhst.h>
^~~~~~~~~~~~
compilation terminated.
ERR : Neutralino binary is not compiled
C:\Users\ramon\Documents\Projects\neutralinojs\core-windows>build
Neutralino is being built...
In file included from ../core-shared/log.cpp:1:
../core-shared/log.h:27:10: fatal error: experimental/filesystem: No such file or directory
#include <experimental/filesystem>
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/settings.cpp:27:
../core-shared/log.h:27:10: fatal error: experimental/filesystem: No such file or directory
#include <experimental/filesystem>
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/serverlistener.cpp: In lambda function:
src/serverlistener.cpp:71:72: error: 'freeaddrinfo' was not declared in this scope
std::shared_ptr<addrinfo> socket_props(nullptr, [](addrinfo* ai) { freeaddrinfo(ai); });
^~~~~~~~~~~~
src/serverlistener.cpp:71:72: note: suggested alternative: 'addrinfo'
std::shared_ptr<addrinfo> socket_props(nullptr, [](addrinfo* ai) { freeaddrinfo(ai); });
^~~~~~~~~~~~
addrinfo
src/serverlistener.cpp: In member function 'void ServerListener::run(std::function<void(ClientAcceptationException)>)':
src/serverlistener.cpp:80:27: error: 'getaddrinfo' was not declared in this scope
int addrinfo_status = getaddrinfo(NULL, std::to_string(port).c_str(), &hints, (addrinfo**)&socket_props);
^~~~~~~~~~~
src/serverlistener.cpp:80:27: note: suggested alternative: 'addrinfo'
int addrinfo_status = getaddrinfo(NULL, std::to_string(port).c_str(), &hints, (addrinfo**)&socket_props);
^~~~~~~~~~~
addrinfo
src/serverlistener.cpp:111:27: error: 'thread' is not a member of 'std'
std::map<SOCKET, std::thread> threads;
^~~~~~
src/serverlistener.cpp:111:27: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:40:1:
+#include <thread>
src/serverlistener.cpp:111:27:
std::map<SOCKET, std::thread> threads;
^~~~~~
src/serverlistener.cpp:111:27: error: 'thread' is not a member of 'std'
src/serverlistener.cpp:111:27: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:111:33: error: template argument 2 is invalid
std::map<SOCKET, std::thread> threads;
^
src/serverlistener.cpp:111:33: error: template argument 4 is invalid
src/serverlistener.cpp:125:14: error: 'thread' is not a member of 'std'
std::thread ren(uiThread, appname, appport, width, height);
^~~~~~
src/serverlistener.cpp:125:14: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:126:9: error: 'ren' was not declared in this scope
ren.detach();
^~~
src/serverlistener.cpp:126:9: note: suggested alternative: 'run'
ren.detach();
^~~
run
src/serverlistener.cpp:140:30: error: invalid types 'int[SOCKET {aka unsigned int}]' for array subscript
threads[client_socket] = std::thread(ServerListener::clientHandler, client_socket, buffer_size);
^
src/serverlistener.cpp:140:39: error: 'thread' is not a member of 'std'
threads[client_socket] = std::thread(ServerListener::clientHandler, client_socket, buffer_size);
^~~~~~
src/serverlistener.cpp:140:39: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/serverlistener.cpp:141:30: error: invalid types 'int[SOCKET {aka unsigned int}]' for array subscript
threads[client_socket].detach();
^
src/ping/ping.cpp:35:18: warning: use of 'auto' in parameter declaration only available with -fconcepts
void setInterval(auto function,int interval) {
^~~~
src/ping/ping.cpp: In function 'void setInterval(auto:1, int)':
src/ping/ping.cpp:36:5: error: 'thread' was not declared in this scope
thread th([&]() {
^~~~~~
src/ping/ping.cpp:36:5: note: 'std::thread' is defined in header '<thread>'; did you forget to '#include <thread>'?
src/ping/ping.cpp:28:1:
+#include <thread>
src/ping/ping.cpp:36:5:
thread th([&]() {
^~~~~~
src/ping/ping.cpp:41:6: error: expected primary-expression before ')' token
});
^
src/ping/ping.cpp:42:5: error: 'th' was not declared in this scope
th.detach();
^~
src/ping/ping.cpp:42:5: note: suggested alternative: 'tm'
th.detach();
^~
tm
In file included from src/webv.cpp:4:
src/webview.h:62:10: fatal error: mshtmhst.h: No such file or directory
#include <mshtmhst.h>
^~~~~~~~~~~~
compilation terminated.
ERR : Neutralino binary is not compiled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment