Jump to content
TrinityCore

kcking

Plebs
  • Posts

    2
  • Joined

  • Last visited

Posts posted by kcking

  1. Hello all,
     
    I am trying to compile TrinityCore on MacOSX 10.8.2.
     
    I get a compilation error at 99% of the following:
     

    /Users/kking/ws/TrinityCore/src/tools/vmap4_extractor/vmapexport.cpp:472:9: fatal error: no matching function for call to 'mkdir'
    if (mkdir(szWorkDirWmo
    ^~~~~
    /usr/include/sys/stat.h:434:5: note: candidate function not viable: requires 2 arguments, but 1 was provided
    int mkdir(const char *, mode_t);
    ^
    1 error generated.
    make[2]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/vmapexport.cpp.o] Error 1
    make[1]: *** [src/tools/vmap4_extractor/CMakeFiles/vmap4extractor.dir/all] Error 2
    make: *** [all] Error 2
      
    This seems like a problem with including the right sys headers, but I really am not sure.

    Does anyone have an idea on how to remedy this?
    Thanks so much in advance. I am excited to contribute to this awesome product.
    -Kevin

×
×
  • Create New...