missing files

  • Jaxxx
    25th Aug 2019 Member 0 Permalink

    when I ran scons this is the output i got

    scons: done reading SConscript files.
    scons: Building targets ...
    g++ -o build\src\client\Client.o -c -std=c++11 -U__STRICT_ANSI__ -Wno-invalid-of
    fsetof -msse -msse2 -DSDL_INC -DLUA_R_INCL -DWIN -D_WIN32_WINNT=0x0501 -D_USING_
    V110_SDK71_ -DX86 -DX86_SSE -DX86_SSE2 -DGRAVFFT -DLUACONSOLE -Ibuild\src -Isrc
    -Ibuild\data -Idata -Ibuild\generated -Igenerated src\client\Client.cpp
    =====
    b'src\\client\\Client.cpp:19: warning: "NOMINMAX" redefined\n #define NOMINMAX\n
    \nIn file included from c:\\mingw\\lib\\gcc\\mingw32\\8.2.0\\include\\c++\\ming
    w32\\bits\\c++config.h:508,\n from c:\\mingw\\lib\\gcc\\mingw32\
    \8.2.0\\include\\c++\\bits\\stl_algobase.h:59,\n from c:\\mingw\
    \lib\\gcc\\mingw32\\8.2.0\\include\\c++\\vector:60,\n from src\\
    client\\Client.h:4,\n from src\\client\\Client.cpp:1:\nc:\\mingw
    \\lib\\gcc\\mingw32\\8.2.0\\include\\c++\\mingw32\\bits\\os_defines.h:45: note:
    this is the location of the previous definition\n #define NOMINMAX 1\n \nIn file
    included from src\\client\\Client.cpp:46:\nsrc/client/http/Request.h:39:8: erro
    r: \'mutex\' in namespace \'std\' does not name a type\n std::mutex rm_mutex;\
    n ^~~~~\nsrc/client/http/Request.h:39:3: note: \'std::mutex\' is defined
    in header \'<mutex>\'; did you forget to \'#include <mutex>\'?\nsrc/client/http/
    Request.h:9:1:\n+#include <mutex>\n #include "common/String.h"\nsrc/client/http/
    Request.h:39:3:\n std::mutex rm_mutex;\n ^~~\nsrc/client/http/Request.h:53:8
    : error: \'condition_variable\' in namespace \'std\' does not name a type\n st
    d::condition_variable done_cv;\n ^~~~~~~~~~~~~~~~~~\nsrc/client/http/Requ
    est.h:53:3: note: \'std::condition_variable\' is defined in header \'<condition_
    variable>\'; did you forget to \'#include <condition_variable>\'?\nsrc/client/ht
    tp/Request.h:9:1:\n+#include <condition_variable>\n #include "common/String.h"\n
    src/client/http/Request.h:53:3:\n std::condition_variable done_cv;\n ^~~\nIn
    file included from src\\client\\Client.cpp:47:\nsrc/client/http/RequestManager.
    h:18:8: error: \'thread\' in namespace \'std\' does not name a type\n std::thr
    ead worker_thread;\n ^~~~~~\nsrc/client/http/RequestManager.h:18:3: note:
    \'std::thread\' is defined in header \'<thread>\'; did you forget to \'#include
    <thread>\'?\nsrc/client/http/RequestManager.h:9:1:\n+#include <thread>\n #inclu
    de <curl/curl.h>\nsrc/client/http/RequestManager.h:18:3:\n std::thread worker_
    thread;\n ^~~\nsrc/client/http/RequestManager.h:27:8: error: \'mutex\' in name
    space \'std\' does not name a type\n std::mutex rt_mutex;\n ^~~~~\nsrc/
    client/http/RequestManager.h:27:3: note: \'std::mutex\' is defined in header \'<
    mutex>\'; did you forget to \'#include <mutex>\'?\nsrc/client/http/RequestManage
    r.h:9:1:\n+#include <mutex>\n #include <curl/curl.h>\nsrc/client/http/RequestMan
    ager.h:27:3:\n std::mutex rt_mutex;\n ^~~\nsrc/client/http/RequestManager.h:
    28:8: error: \'condition_variable\' in namespace \'std\' does not name a type\n
    std::condition_variable rt_cv;\n ^~~~~~~~~~~~~~~~~~\nsrc/client/http/Re
    questManager.h:28:3: note: \'std::condition_variable\' is defined in header \'<c
    ondition_variable>\'; did you forget to \'#include <condition_variable>\'?\nsrc/
    client/http/RequestManager.h:9:1:\n+#include <condition_variable>\n #include <cu
    rl/curl.h>\nsrc/client/http/RequestManager.h:28:3:\n std::condition_variable r
    t_cv;\n ^~~\n'
    =====
    scons: *** [build\src\client\Client.o] Error 1
    scons: building terminated because of errors.
    strip: 'build/Powder.exe': No such file

  • LBPHacker
    25th Aug 2019 Developer 0 Permalink

    The output is so garbled that I don't feel like looking for specific errors in it, but I can tell that you're trying to use scons on windows. We've literally just had a question about it.

  • jacob1
    25th Aug 2019 Developer 0 Permalink
    Yeah, you need to use the visual studio guide. You don't actually have to use visual studio if you don't want to, but you do need their compiler.