ONE ASSET PLACE programs

Dear Friends,
I am trying to run the program from GitHub - DaveCollinsJr/OAP_Arduino: One Asset Place Arduino Projects specifically OAP_motion_camera_mega using arduino version 1.5.2 and I get the following errors:
OAP_motion_camera_mega:154: error: 'SPI_HALF_SPEED' was not declared in this scope
OAP_motion_camera_mega:190: error: 'SdFat' does not name a type
OAP_motion_camera_mega:191: error: 'SdFile' does not name a type
OAP_motion_camera_mega.ino: In function 'void setup()':
OAP_motion_camera_mega:227: error: 'sd' was not declared in this scope
OAP_motion_camera_mega:234: error: 'mac' was not declared in this scope
OAP_motion_camera_mega.ino: In function 'void loop()':
OAP_motion_camera_mega:281: error: 'SdFile' was not declared in this scope
OAP_motion_camera_mega:281: error: expected `;' before 'root'
OAP_motion_camera_mega:294: error: 'sd' was not declared in this scope
OAP_motion_camera_mega:296: error: 'dataFile' was not declared in this scope
OAP_motion_camera_mega:296: error: 'O_READ' was not declared in this scope
OAP_motion_camera_mega:350: error: 'serverName' was not declared in this scope
OAP_motion_camera_mega:350: error: 'serverPort' was not declared in this scope
OAP_motion_camera_mega:380: error: 'sensorID' was not declared in this scope
OAP_motion_camera_mega:585: error: 'sd' was not declared in this scope
OAP_motion_camera_mega:592: error: 'dataFile' was not declared in this scope
OAP_motion_camera_mega:592: error: 'O_WRITE' was not declared in this scope
OAP_motion_camera_mega:592: error: 'O_CREAT' was not declared in this scope
OAP_motion_camera_mega:592: error: 'O_TRUNC' was not declared in this scope

and when I put SdFat Library in the library folder I get this:

In file included from OAP_motion_camera_mega.ino:91:
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:286: error: conflicting return type specified for 'virtual void SdFile::write(uint8_t)'
C:\Users\0715807092\Documents\arduino-1.5.2\hardware\arduino\avr\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
OAP_motion_camera_mega:188: error: 'SdFat' does not name a type
OAP_motion_camera_mega.ino: In function 'void setup()':
OAP_motion_camera_mega:225: error: 'sd' was not declared in this scope
OAP_motion_camera_mega.ino: In function 'void loop()':
OAP_motion_camera_mega:292: error: 'sd' was not declared in this scope
OAP_motion_camera_mega:294: error: no matching function for call to 'SdFile::open(char [11], const uint8_t&)'
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:223: note: candidates are: uint8_t SdFile::open(SdFile*, uint16_t, uint8_t)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:224: note: uint8_t SdFile::open(SdFile*, const char*, uint8_t)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:331: note: uint8_t SdFile::open(SdFile&, const char*, uint8_t)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:335: note: uint8_t SdFile::open(SdFile&, const char*)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:341: note: uint8_t SdFile::open(SdFile&, uint16_t, uint8_t)
OAP_motion_camera_mega:423: error: 'class SdFile' has no member named 'available'
OAP_motion_camera_mega:583: error: 'sd' was not declared in this scope
OAP_motion_camera_mega:590: error: no matching function for call to 'SdFile::open(char [11], int)'
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:223: note: candidates are: uint8_t SdFile::open(SdFile*, uint16_t, uint8_t)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:224: note: uint8_t SdFile::open(SdFile*, const char*, uint8_t)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:331: note: uint8_t SdFile::open(SdFile&, const char*, uint8_t)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:335: note: uint8_t SdFile::open(SdFile&, const char*)
C:\Users\0715807092\Documents\Arduino\libraries\SdFat/SdFat.h:341: note: uint8_t SdFile::open(SdFile&, uint16_t, uint8_t)

Please help me with that so that I will be able to send the picture to the website.
Thanks in advance,
Baraka.

It would appear that OAP_Arduino has not been upgraded to work with 1.0+. It is equally clear that you spend zero time searching for answers, since those errors, and the solutions, have been posted hundreds of times.

Thanks Paul,I took your suggestion and its about to work out but I have just single error below using Arduino Version 0023
error compiling
C:\Users\0715807092\Documents\arduino-0023\hardware\tools\avr\bin\avr-ar: pins_arduino.c.o: No such file or directory

Version 23 can not be used to compile .ino files. You are trying to mix post 1.0 libraries and pre 1.0 libraries and files. That will not work.