Caanoo / WIZ Caanoo Sdk Setup


mesamunefire

Still Fresh
Joined
Jul 24, 2012
Messages
7
I recently got a Caanoo on thinkgeek and love the device. I have prior expereince programming in c/c++ but not on SDK configurations. I went and downloaded the SDK on both linux and windows and cannot seem to get anything working. I read though the instructions on http://www.gp32x.de/board/index.php?/topic/56056-caanoo-sdk-and-some-documentation/

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.
 
Last edited by a moderator:
I should also say that the windows 7 setup is 64 bit. I know others have stated that the 64 bit was not working so well. I would love to start developing for this platform.
 
This may help: http://www.gp32x.de/board/index.php?/topic/57925-tutorial-installing-caanoos-sdk-for-windows/
 
Last edited by a moderator:
hmn said:
This may help: http://www.gp32x.de/board/index.php?/topic/57925-tutorial-installing-caanoos-sdk-for-windows/


OK so I went though the steps in:
http://edorul.free.fr/dokuwiki/doku.php?id=prog:caanoosdk_install_eng

One should note that the Caanoo SDK has changed places and now can be found here:
http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?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.
 
Last edited by a moderator:
"
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".
  • In "search directories"/"Compiler" tab, add the following folders :
C:program FilesCAANOOGPH_SDKDGEinclude
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

  • In "search directories"/"Linker" tab, add the following folders :
C:program FilesCAANOOGPH_SDKDGElibtarget
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

  • In "toolchain executables"/"Compiler's installation directory" tab, put :
C:program FilesCAANOOGPH_SDKtoolscross-eabi

  • In "toolchain executables"/"Program files" tab :
C compiler : arm-gph-linux-gnueabi-gcc.exe
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

  • In "toolchain executables"/"Additional paths" tab, add the following folders :
C:program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabibin
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
 
Farox said:
"
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".
  • In "search directories"/"Compiler" tab, add the following folders :
C:program FilesCAANOOGPH_SDKDGEinclude
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

  • In "search directories"/"Linker" tab, add the following folders :
C:program FilesCAANOOGPH_SDKDGElibtarget
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

  • In "toolchain executables"/"Compiler's installation directory" tab, put :
C:program FilesCAANOOGPH_SDKtoolscross-eabi

  • In "toolchain executables"/"Program files" tab :
C compiler : arm-gph-linux-gnueabi-gcc.exe
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

  • In "toolchain executables"/"Additional paths" tab, add the following folders :
C:program FilesCAANOOGPH_SDKtoolscross-eabiarm-gph-linux-gnueabibin
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?
 
Last edited by a moderator:
I am going to try and reinstall everything from scratch in a bit and if that does not work, I will try and make a video to upload showing the steps. If I end up getting it to work, I will also try and get a video of the steps involved (that way other devs can install the SDK).
 
Yeo same issue, it is not detecting the toolchain path. I am not sure even the video will help. Ill keep looking for answers.
 
Ensure that you not have selected a subdir....

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
 
Back
Top