Caanoo Sdk Setup
#1
Posted 24 July 2012 - 05:03 PM
And still not able to get though the compilation process in both Ubuntu w/ codeblocks or windows w/ codeblocks.
I went though the instructions with windows here: http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,14,383
I cant seem to access any of the project files so I cannot find the target/host compilation.
In ubuntu, I was able to get the host system compilation (because I had previously installed g++) and had no issue with the sample programs there. The target system, on the other hand gave me the error: ""ad3sprite - target" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done."
The target compiler seems to be the issue. I would love help on this and would be willing to give you screenshots when I know what I am looking for.
I just want to make a hello world example program to compile to the Caanoo.
#2
Posted 26 July 2012 - 08:30 PM
#3
Posted 26 July 2012 - 10:11 PM
#4
Posted 02 August 2012 - 05:09 PM
This may help: http://www.gp32x.com...dk-for-windows/
OK so I went though the steps in:
http://edorul.free.f...sdk_install_eng
One should note that the Caanoo SDK has changed places and now can be found here:
http://dl.openhandhe...?0,1,0,0,15,577
I went though all the steps in the tutorial and got stuck actually compiling the code.
In this step:
"
For a Windows (host) build
In "selected compiler" leave "GNU GCC Compiler".
In "Search directories"/"linker" tab, add:
C:\Program Files\CAANOO\GPH_SDK\DGE\lib\host
C:\Program Files\CAANOO\GPH_SDK\lib\host
In "toolchain executables"/"additional path" tab, add:
C:\Program Files\CAANOO\GPH_SDK\DGE\lib\dll
C:\Program Files\CAANOO\GPH_SDK\lib\dll
"
I then made a sample project. I pushed a build on the host platform and I get this error:
"samplecaanoo - host" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.
#5
Posted 02 August 2012 - 05:17 PM
#6
Posted 02 August 2012 - 07:24 PM
"
For a Windows (host) build
In "selected compiler" leave "GNU GCC Compiler".
In "Search directories"/"linker" tab, add:
C:Program FilesCAANOOGPH_SDKDGElibhost
C:Program FilesCAANOOGPH_SDKlibhost
In "toolchain executables"/"additional path" tab, add:
C:Program FilesCAANOOGPH_SDKDGElibdll
C:Program FilesCAANOOGPH_SDKlibdll
"
this instruction is for setting the toolchain for build the projects on a Windows machine.
If you want to build for Caanoo follow the second part of the instruction :
For a Caanoo (target) build
- In "selected compiler" select "GNU ARM GCC Compiler", you can rename it as "Caanoo GNU ARM GCC Compiler".
C:Program FilesCAANOOGPH_SDKDGEinclude
- In "search directories"/"Compiler" tab, add the following folders :
C:Program FilesCAANOOGPH_SDKinclude
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootusrinclude
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabiincludec++4.2.4arm-gph-linux-gnueabi
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabiincludec++4.2.4
C:Program FilesCAANOOGPH_SDKtoolscross-eabilibgccarm-gph-linux-gnueabi4.2.4include
C:Program FilesCAANOOGPH_SDKDGElibtarget
- In "search directories"/"Linker" tab, add the following folders :
C:Program FilesCAANOOGPH_SDKlibtarget
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootusrlib
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-root
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootlib
C:Program FilesCAANOOGPH_SDKtoolscross-eabi
- In "toolchain executables"/"Compiler's installation directory" tab, put :
C compiler : arm-gph-linux-gnueabi-gcc.exe
- In "toolchain executables"/"Program files" tab :
C++ compiler : arm-gph-linux-gnueabi-g++.exe
Linker for dynamic libs : arm-gph-linux-gnueabi-g++.exe
Linker for static libs : arm-gph-linux-gnueabi-ar.exe
Debugger :
Resource compiler :
Make program : mingw32-make.exe
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabibin
- In "toolchain executables"/"Additional paths" tab, add the following folders :
C:Program FilesCAANOOGPH_SDKtoolscross-eabilibexecgccarm-gph-linux-gnueabi4.2.4 (to resolve "cc1plus.exe not found" problem)
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootusrlib
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootlib
Edited by Farox, 02 August 2012 - 07:25 PM.
#7
Posted 02 August 2012 - 09:07 PM
"
For a Windows (host) build
In "selected compiler" leave "GNU GCC Compiler".
In "Search directories"/"linker" tab, add:
C:Program FilesCAANOOGPH_SDKDGElibhost
C:Program FilesCAANOOGPH_SDKlibhost
In "toolchain executables"/"additional path" tab, add:
C:Program FilesCAANOOGPH_SDKDGElibdll
C:Program FilesCAANOOGPH_SDKlibdll
"
this instruction is for setting the toolchain for build the projects on a Windows machine.
If you want to build for Caanoo follow the second part of the instruction :
For a Caanoo (target) build
- In "selected compiler" select "GNU ARM GCC Compiler", you can rename it as "Caanoo GNU ARM GCC Compiler".
C:Program FilesCAANOOGPH_SDKDGEinclude
- In "search directories"/"Compiler" tab, add the following folders :
C:Program FilesCAANOOGPH_SDKinclude
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootusrinclude
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabiincludec++4.2.4arm-gph-linux-gnueabi
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabiincludec++4.2.4
C:Program FilesCAANOOGPH_SDKtoolscross-eabilibgccarm-gph-linux-gnueabi4.2.4include
C:Program FilesCAANOOGPH_SDKDGElibtarget
- In "search directories"/"Linker" tab, add the following folders :
C:Program FilesCAANOOGPH_SDKlibtarget
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootusrlib
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-root
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootlib
C:Program FilesCAANOOGPH_SDKtoolscross-eabi
- In "toolchain executables"/"Compiler's installation directory" tab, put :
C compiler : arm-gph-linux-gnueabi-gcc.exe
- In "toolchain executables"/"Program files" tab :
C++ compiler : arm-gph-linux-gnueabi-g++.exe
Linker for dynamic libs : arm-gph-linux-gnueabi-g++.exe
Linker for static libs : arm-gph-linux-gnueabi-ar.exe
Debugger :
Resource compiler :
Make program : mingw32-make.exe
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabibin
- In "toolchain executables"/"Additional paths" tab, add the following folders :
C:Program FilesCAANOOGPH_SDKtoolscross-eabilibexecgccarm-gph-linux-gnueabi4.2.4 (to resolve "cc1plus.exe not found" problem)
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootusrlib
C:Program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabisys-rootlib
I actually just finished this part and still no luck. It is stating the same error as before. Where is the absolute path to the build executable?
#8
Posted 02 August 2012 - 09:15 PM
#9
Posted 02 August 2012 - 10:00 PM
#10
Posted 03 August 2012 - 11:52 AM
In "toolchain executables"/"Compiler's installation directory" tab :
Es : the correct dir is ....C:\Program Files\CAANOO\GPH_SDK\tools\cross-eabi
NOT ....C:\Program Files\CAANOO\GPH_SDK\tools\cross-eabi\bin
Tested on WinXP











