This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 6 of 6

Thread: Vaultserver compiling

  1. #1

    Vaultserver compiling

    Im getting the following error while trying to compile vaultserver

    Code :
    ..\CriticalSection.h|22|error: 'recursive_timed_mutex' in namespace 'std' does not name a type|

    Compiler flags:
    -m32
    -std=c++11

    Linker flags:
    -static

    Its release, not debug... Suggestions? Looked up about this but... shouldnt be happening at all

  2. #2
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    You should use the makefiles, not specifying compiler flags manually. Just use the project files in the repository.

    This compiler error has been reported by other users several times already. It's an issue with the setup / wrong MinGW.

    https://fuch.si/47

    And there are more threads like these

  3. #3
    Well, i am using the makefile... Cleaned the whole thing once again, verified mingw settings and tried to compile unmodified source using the makefile, goes back to the last error i was having before this one

    Code :
    RakNet\RakNetTypes.cpp||In member function 'bool RakNet::RakNetGUID::FromString(const char*)':|RakNet\RakNetTypes.cpp|756|error: '_strtoui64' was not declared in this scope|
    ||=== Build finished: 1 errors, 0 warnings ===|

    This one was solved replacing for strtoull, but since the source compilled b4 without this change, i guess there might be still something wrong with my compiler... Im just getting out of places to look for mistakes... mingw is set up correctly as far as i know...

  4. #4
    You need to include the Boost libs for compiling vault-mp. I know, you can't read this here at the forum, but you will need it. Also like the newest MingW Compiler. The Boost libs must also be compiled before you can include it in your compiler. Its not really easy to do this. I spend a lot of time to build my developerenviromnent for vault-mp.


  5. #5
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    Boost doesn't need to be compiled. It's enough if it's present. Only a couple of header files are actually required.

  6. #6
    Im happy that i found a suggestion for this problem, because im not experienced enought to see which header file would be needed. I also found no information that boost lib files would needed for compiling. Other programpart sources are linked on github.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •