liquidmetal/AI-Shack--Sudoku-Detector — Issue #1: Linux Portability :)
Author: AmmarkoV
Created: 2011-12-31 23:42:39+00:00
State: open

You can add a "typedef unsigned char BYTE;" in the digitrecognizer.cpp and remove #include from stdafx.h

You can also add a custom bash make script

#!/bin/bash
OpenCVStuff="`pkg-config --cflags opencv` `pkg-config --libs opencv`"
Optimizations="-O3 -fexpensive-optimizations"
CPU="-mfpmath=sse -mtune=core2 -msse -msse2 -msse3"
g++ $OpenCVStuff $Optimizations $CPU digitrecognizer.cpp stdafx.cpp "Sudoku Solver.cpp" -o sudoku_detector
exit 0

Running it the program is compiled without problems without visual studio provided the opencv libraries are installed ( sudo apt-get install libcv-dev )

Keep up the good work :)