motofan logo
> 

C++ Develop App

croccio
сообщение 21.6.2010, 21:36


Мастер
****

Группа: Пользователи
Сообщений: 254
Регистрация: 27.1.2008
Пользователь №: 161 521
Модель телефона: L7 Slvr, c350

Рейтинг: 11



i' trying to develop app in c++. i downloaded E8GCC and E8SDK. i edit file env.sh then i try to compile showRadio but i've this error:
Код
arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/home/antonio/Scrivania/E8SDK//include -o showRadio.o showRadio.cpp
make: execvp: arm-linux-gnueabi-g++: Permesso negato
make: *** [showRadio.o] Errore 127


wht is??
can anyone do example for create "windows" and position object in the window???

EXL: Share full log of their actions, beginning with the launch environment

Цитата(EXL @ 22.6.2010, 7:49) *

Share full log of their actions, beginning with the launch environment

env.sh
Код
#!/bin/bash

# -here you should put your own E8SDK path.
export QTDIR=/home/antonio/Scrivania/E8SDK/
export TMAKEPATH=/home/antonio/Scrivania/E8SDK/tmakelib/pwd/arm-linux-g++/
export PATH=/home/antonio/Scrivania:/e8-gcc/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin


for compile app i do new sh file i called it make_app.sh
Код
. /home/antonio/Scrivania/E8SDK/env.sh
cd /home/antonio/Scrivania/E8SDK/showRadio
progen -o showRadio.pro
tmake showRadio.pro -o Makefile
make

then from console i do
Код
/home/antonio/Scrivania/E8SDK/make_app.sh

the it show this
Код
arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/home/antonio/Scrivania/E8SDK//include -o showRadio.o showRadio.cpp
make: execvp: arm-linux-gnueabi-g++: Permesso negato
make: *** [text.o] Errore 127


can u tell me what file i post??? or app that i can try??? and how can i create new form (window) where i put object, as textbox, label... and how can i control key pression??
in the foldere where there is the app code there isn't showRadio.o

EXL: Try to do so:
Код

cd /home/antonio/Scrivania/E8SDK/
. env.sh
cd /home/antonio/Scrivania/E8SDK/showRadio
progen -o showRadio.pro
chmod +x /Path_to_progen/progen
chmod +x /Path_to_tmake/tmake
progen -o showRadio.pro
tmake showRadio.pro -o Makefile

Coming Makefile fix thus the following strings:
Код

CC    =    arm-linux-gcc
CXX    =    arm-linux-g++


Then execute:

Код

make


And do check the correctness of all paths...


it do nothing

(22.6.2010, 13:43):
i get this
Код
arm-linux-gnueabi-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O3 -DNO_DEBUG -I/home/antonio/Scrivania/E8SDK//include -o showRadio.o showRadio.cpp
make: execvp: arm-linux-gnueabi-g++: Permesso negato
make: *** [showRadio.o] Errore 127


EXL: arm-linux-gnueabi-g++ in the Makefile should be replaced by on arm-linux-g++ !


i edit the make file in showRadio folder, it is or no??

EXL: Yeah!

when i run make_app.sh the make file in showRadio folder change automatically!

can u upload your E8SDK and e8-gcc folder so i use that?? can u tell me in what folder i copy them???

if u don't belive i post a video screen soon

EXL: From make_app.sh remove next line - make

New make_app.sh:

Код
. /home/antonio/Scrivania/E8SDK/env.sh
cd /home/antonio/Scrivania/E8SDK/showRadio
progen -o showRadio.pro
tmake showRadio.pro -o Makefile


then correct Makefile
and run in console the following:

Код
cd /home/antonio/Scrivania/E8SDK/showRadio
make


Сообщение отредактировал EXL - 23.6.2010, 1:21
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить
 
Ответ в темуСоздание новой темы
Ответов
Ant-ON
сообщение 11.11.2010, 17:34


Гуру
******

Группа: Разработчики
Сообщений: 1 329
Регистрация: 22.8.2005
Из: Екатеринбург
Пользователь №: 49 304
Модель телефона: N5 / Defy / VE66
Прошивка: CM12 / CM10 / PM2
Финалист Конкурса 2010

Рейтинг: 1790



lib_E8
http://narod.ru/disk/27332312000/lib_E8.tar.gz.html
ложить в /arm-eabi/arm-linux-gnueabi/

Мои последние SDK:
http://narod.ru/disk/27046301000/SDK_5_11_...-ON.tar.gz.html
ложить в содержимое в /arm-eabi/lib

Внимание! Мои SDK могут требовать симлинка в корнет. Иначе многие симлинки в SDK придется править самому. Пример создания симлинка в корне. Случай rock88: sudo ln -s /opt/toolchains/motomagx/arm-eabi2 /arm-eabi
Юзер вышелВ друзьяВизиткаП/Я
К началу страницы
+Ответить

Сообщений в этой теме
croccio   C++ Develop App   21.6.2010, 21:36
croccio   arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-...   22.6.2010, 14:02
croccio   can anyone give me E8SDK please??   23.6.2010, 13:39
Ant-ON   can anyone give me E8SDK please?? I use this SDK...   24.6.2010, 14:58
Nsolares   hey croccio, how do you extract the e8 toolchain? ...   25.6.2010, 4:33
croccio   thnk u! u're great! i'mdownlading ...   26.6.2010, 13:35
croccio   bro why i can't reas src code of ztask 2???   26.6.2010, 22:07
croccio   I tried again after quite a time trying to fill th...   3.11.2010, 16:19
Ant-ON   Check existing folder and library in it: /home/ant...   4.11.2010, 18:22
croccio   i see it and exist   4.11.2010, 18:54
Ant-ON   need execute: "sudo ln -s /home/antonio/arm-e...   7.11.2010, 6:01
croccio   it give me this error antonio@antonio:~/e8sdk/E8...   7.11.2010, 13:36
croccio   thank u for help. (10.11.2010, 18:22): bro i ins...   10.11.2010, 16:32
Ant-ON   cd /arm-eabi/lib/ezx-e8/lib rm libezxtapi.so ln -s...   10.11.2010, 18:07
croccio   same error   10.11.2010, 18:25
Устарх   same error /home/antonio/arm-eabi/bin/../lib/gc...   10.11.2010, 19:37
rock88   Я уже полгода долблюсь, пытаюсь что-то на ezx/qt н...   11.11.2010, 3:26
Устарх   Я уже полгода долблюсь, пытаюсь что-то на ezx/qt ...   11.11.2010, 5:00
Ant-ON   rock88, Можно было и спросить. Проблема решается ...   11.11.2010, 12:03
rock88   Ant-ON, то есть вот так -L/mnt/win/SDK/ezx-e8/lib...   11.11.2010, 13:01
Ant-ON   Ant-ON, то есть вот так -L/mnt/win/SDK/ezx-e8/li...   11.11.2010, 15:08
rock88   У тебя разве нет такой папки /opt/toolchains/moto...   11.11.2010, 15:40
Ant-ON   У тебя разве нет такой папки /opt/toolchains/mot...   11.11.2010, 16:14
croccio   can anyone explain in english how to resolve my pr...   11.11.2010, 16:54
Ant-ON   lib_E8 http://narod.ru/disk/27332312000/lib_E8.tar...   11.11.2010, 17:34
Pyth_ON!   Мои последние SDK: http://narod.ru/disk/270463010...   11.1.2011, 15:30
rock88   Ant-ON, что-то я 2раза SDK качал и архив битый пол...   12.11.2010, 12:47
Ant-ON   Скажи какой из двух битый и куда залить.   12.11.2010, 14:53
rock88   Ant-ON, SDK_5_11_10_by_Ant-ON.tar.gz лучше на http...   12.11.2010, 15:43
croccio   i get the same error =( i downloaded your files =(   12.11.2010, 16:01
Ant-ON   rock88, SDK_5_11_10_by_Ant-ON.tar.gz : http://www...   12.11.2010, 20:17
rock88   Ant-ON, Опять у меня архив битый получается, в вин...   13.11.2010, 12:49
simen   Ant-ON, Опять у меня архив битый получается, в ви...   13.11.2010, 19:18
croccio   can anyone make a package or a "distro" ...   14.11.2010, 13:51
Ant-ON   croccio, cd /home/antonio/arm-eabi/lib/ezx-e8/li...   14.11.2010, 16:04
croccio   it doesn't work =( with other apps i've a ...   17.11.2010, 11:52
Ant-ON   croccio, try add: -Wl,-rpath-link, /home/antonio/...   17.11.2010, 14:33
croccio   at the end i've this error: warning: sh_l...   17.11.2010, 15:11
Ant-ON   at the end i've this error: [code]warning...   17.11.2010, 15:21
croccio   how can i progrm omega wheel? (17.11.2010, 16:33...   17.11.2010, 15:31
Ant-ON   how can i progrm omega wheel? I dont know [i] (...   17.11.2010, 15:41
croccio   i can't have telnet service in ubuntu! i...   17.11.2010, 16:03
Ant-ON   how can i download all file with one click?? 1) ...   17.11.2010, 16:27
croccio   it says me Insufficient permissions to access chan...   17.11.2010, 16:43
Ant-ON   it says me Insufficient permissions to access cha...   17.11.2010, 17:35
Ant-ON   SDK от 25.01.11 Запакован также как и предыдущий,...   25.1.2011, 11:44
game37   SDK от 25.01.11 Запакован также как и предыдущий...   29.2.2012, 11:43
Ant-ON   Could you please please reupload SDK_25_01_11_by...   3.3.2012, 12:53
game37   Thank you Ant-ON   5.3.2012, 9:25

C++ Develop App · Motorola ROKR E8, EM30 · Forum
 

Ответ в темуСоздание новой темы
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 



Текстовая версия Сейчас: 29.4.2024, 5:17

Форум живёт: