Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Compilation error in version 0.1.7.

Help
2010-08-24
2013-04-08
  • Mauricio Gomes
    Mauricio Gomes
    2010-08-24

    Hi,
    I have just downloaded 0.1.7 and tried to compile it (Vista / mingw / gcc 4.5.1) but I've got the following error:
    LevelMutex.cpp:777:5: error: '::sleep' has not been declared

    Any suggestions ?
    Thanks.
    Mau.
    C:\projects\loki-0.1.7>make.mingw

    C:\projects\loki-0.1.7>mingw32-make check OS=Windows
    mingw32-make -C src build-static
    mingw32-make: Entering directory `C:/projects/loki-0.1.7/src'
    g++ -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -
    pedantic -g -O2 -I../include -DNDEBUG  -c -o LevelMutex.o LevelMutex.cpp
    LevelMutex.cpp: In static member function 'static void Loki::MutexSleepWaits::Wa
    it()':
    LevelMutex.cpp:777:5: error: '::sleep' has not been declared
    LevelMutex.cpp: In member function 'virtual Loki::MutexErrors::Type Loki::SleepL
    evelMutex::Lock() volatile':
    LevelMutex.cpp:946:9: error: '::sleep' has not been declared
    mingw32-make: ***  Error 1
    mingw32-make: Leaving directory `C:/projects/loki-0.1.7/src'
    mingw32-make: ***  Error 2
    C:\projects\loki-0.1.7>

     
  • Peter Kuemmel
    Peter Kuemmel
    2010-08-24

    I assume the header which defines seep is missing.