PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

arm-linux-g++: installation problem, cannot exec `cc1plus':

Dear All.

I am new to EDGELIB. I just installed EDGELIB, devkitPRO and devkitGP2X. I am looking forward to learn and use EDGELIB to develop a game for GP2X profile. Eventhough I managed to install all required softwares, I am not able to run my hello world program.

Code:
---------------- Building: Hello - GP2X (devkitgp2x) Release ----------------
Hello.png
helloworld.cpp
arm-linux-g++: installation problem, cannot exec `cc1plus': No such file or directory
-------------------------------------------------

My program is not running and I am getting cc1plus error. I have cc1plus installed in my computer. I copied one executable to arm-linux-g++ executables directory as well. Still this is not workinng.

If you guys had similar problem and solved it before, pls let me know.

Thanks in advance,
Zarina
Hi Zarina,

It seems that the paths aren't set up like they should, so it can't find the cc1plus.exe program.

We have encountered this error on machines with Windows Vista installed and using the Symbian SDK. We think there might be some incompatibilities with gcc and Windows Vista. Can you tell us the operating system you're using?
Hi,

Thanks for your quick reply. I am on Windows Vista / HP dv2000 series laptop. Any idea how to fix this and get going with EDGELIB. I have set path to the proper directories. still it is not able to identify it.

Do you have a linux (preferably : ubunutu) based version for EDGELIB ?

Thanks,
Zarina
Hi Zarina,

When building from a Linux machine you probably can use the existing libedge.a, libedgerender.a and libz.a files. However, you need to use the commandline gcc compiler manually.

An example how to use gcc from the commandline can be seen at the Getting Started tutorial here: http://www.edgelib.com/index.php?node=713
Thanks for your reply regarding the linux version. I will try it out and let you the results.

Meanwhile, any idea about how can I solve the edgelibe issue on my Windows-vista ?

Thanks,
Zarina
Hi Zarina,

I think the best way is to use commandline projects or makefiles. Could you try the batch file inside the helloworld sample folder of the EDGELIB SDK?
Hi,

Thanks for your suggestions.

I switched on to a MS-Windows XP - DELL laptop. I tried running the build.bat file with in the workspac_gp2x diectory of samples provided with EDGELIB SDK.

Code:

Compiling...
helloworld.cpp

Linking...

helloworld.gpe

helloworld.gpe is created.
Iam attaching a screenshot of the command prompt.
What do i do with this .gpe file ? I cant see a .epj file in this directory.

Thanks in advance for your help.
--
Zarina
Attachments:
cmd-view.rar (18 KB)
Hi Zarina,

The .gpe file is your GP2X executable. You can place it on a storage card and run it from the GP2X game menu.
That means the installation is so far success !!!
Thanks a lot for your support and help !!!

I have one more query : (Not related to EDGELIB as such, but I hope you can help me :) )

I dont have a GP2X device with me. Is there any emulator available ?

Many thanks in advance,
Zarina
Digital Chocolate
Hi Zarina,

Unfortunately, there is no emulator available for the GP2X. The best way is to create Windows Desktop builds with a 320x240 resolution.

We may provide testing services on our GP2X unit if you need to test a build on a real device. We recommend against using floating point variables/functions, as they crash the device the moment they are declared.