-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Hi,
I'm trying to compile this repo on Windows 10 machine.
No visual studio installed, just the WinGm compiler (g++ exe).
Currently using the following command to compile:
g++ src\main.cpp -I"<DIR>\SpikeRecorder\support" -I"<DIR>\SpikeRecorder\src" -I"<DIR>\SpikeRecorder\src\libraries" -I"<DIR>\SpikeRecorder\src\engine\firmware" -I"<DIR>\SpikeRecorder\SDL2.framework\Versions\A\Headers" -L"<SDL_DIR>\SDL2-2.0.10\i686-w64-mingw32\lib" -lmingw32 -lSDL2main -lSDL2
Currently trying to compile I get the following errors:
C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0x32): undefined reference to 'BackyardBrains::Log::msg(char const*, ...)' C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0xfc): undefined reference to 'BackyardBrains::Log::fatal(char const*, ...)' C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0x109): undefined reference to 'BackyardBrains::Game::Game()' C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0x116): undefined reference to 'BackyardBrains::Widgets::Application::run()' C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0x122): undefined reference to 'BackyardBrains::Log::msg(char const*, ...)' C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0x134): undefined reference to 'BackyardBrains::Game::~Game()' C:\Users\NETABR~1\AppData\Local\Temp\cc6saPGb.o:main.cpp:(.text+0x167): undefined reference to 'BackyardBrains::Game::~Game()' collect2.exe: error: ld returned 1 exit status
Any help regarding this issue?
Windows compiling docs will be great.