-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
↓↓↓↓↓↓main.cpp↓↓↓↓↓↓
#include "Consoler.h"
class Game : public Consoler
{
public:
using Consoler::Consoler;
void Setup() override
{
}
void Update() override
{
ClearScreen();
}
void ShowPauseInfo() override{
}
};
int main(){
Game game(L"Consoler Demo", 320, 200, 1, 1, 60);
game.Run();
return 0;
}Error:
undefined reference to `__imp__ZN8ConsolerD2Ev'
I compile with
g++ -Isrc/Consoler main.cpp -o MyGame.exe -DUNICODE -O3 -lwinmm -Lsrc/Consoler
since -lConsoler was undefined I didn't put it in the command
and I tryed with the .bat but it doesn't work.
Metadata
Metadata
Assignees
Labels
No labels