Skip to content

can't compile on linux #7

@victorqribeiro

Description

@victorqribeiro

Hi, there's a problema when compiling on linux:

g++ -std=c++0x -I. -Icommon -Imath -Iinclude -c game/game.cpp -o game/game.o
game/game.cpp: In member function ‘virtual bool CGame::MouseInput(int, tinker_mouse_state_t)’:
game/game.cpp:299:10: error: ‘sleep’ was not declared in this scope
sleep(1);
^
make: *** [game/game.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions