maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Need help in modifying an existing open source N900 program .. (https://talk.maemo.org/showthread.php?t=67632)

ahmadka 2011-01-16 03:40

Re: Need help in modifying an existing open source N900 program ..
 
Sorry for getting back to this so late .. i was busy to work on this again ..

Anyways, I tried running the command 'mad qmake', and I got the following error (a simple 'qmake' gave a 'command not found' error):

Code:

MADDE-0.6.46 /d/n9profile
Ahmad $ mad qmake
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
WARNING: desktop.path is not defined: install target not created


ahmadka 2011-01-16 03:45

Re: Need help in modifying an existing open source N900 program ..
 
Quote:

Originally Posted by MohammadAG (Post 908061)
Or he removed the Makefile, which again, can be fixed by running qmake.

As far as I can tell, there's no makefile in the entire source code TAR file you download from http://gitorious.org/n9profile/n9profile/trees/master ..

Wikiwide 2011-01-16 04:29

Re: Need help in modifying an existing open source N900 program ..
 
Quote:

Originally Posted by ahmadka (Post 921326)
Sorry for getting back to this so late .. i was busy to work on this again ..

Anyways, I tried running the command 'mad qmake', and I got the following error (a simple 'qmake' gave a 'command not found' error):

Code:

MADDE-0.6.46 /d/n9profile
Ahmad $ mad qmake
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
env.exe: /madlib/pkg-config: No such file or directory
WARNING: desktop.path is not defined: install target not created


I suppose this application needs pkg-config for compiling, and MADDE doesn't have it.
Clutching my head...
I don't know how to install anything in MADDE environment. It has no apt-get.

Ask somebody else...

Try compiling in something else instead of MADDE.
I don't know what scratchbox is,

and these is a way to run qmake on N900 itself (and it's easy to install pkg-config on N900, just apt-get install pkg-config)
http://talk.maemo.org/showthread.php?p=771651

Diph 2011-01-16 08:13

Re: Need help in modifying an existing open source N900 program ..
 
I have Nokia Qt SDK and tried to build n9profile from Qt Creator and it works just fine (compiled and created the package). There shouldn't be any problems.

ahmadka 2011-01-16 08:29

Re: Need help in modifying an existing open source N900 program ..
 
@Diph, can you tell me exactly what steps you did ? Like what version of Qt Creator are you using ? How did you open the project in Qt Creator ? What build settings did you use, etc ?

Diph 2011-01-16 18:34

Re: Need help in modifying an existing open source N900 program ..
 
Quote:

Originally Posted by ahmadka (Post 921377)
@Diph, can you tell me exactly what steps you did ? Like what version of Qt Creator are you using ? How did you open the project in Qt Creator ? What build settings did you use, etc ?

Latest Nokia Qt SDK. I just opened the *.pro file and pressed build. :)

ahmadka 2011-01-16 22:57

Re: Need help in modifying an existing open source N900 program ..
 
Alright well I just opened the pro file, choose the output forms in the popup that appears, and then pressed CTRL+B (Build Project) .. I'm getting some missing file and undeclared variables errors:

Code:

In file included from controlclass.cpp:7:
calendatprofile.h:9:23: error: CCalendar.h: No such file or directory
calendatprofile.h:10:28: error: CMulticalendar.h: No such file or directory
calendatprofile.h:11:19: error: CTodo.h: No such file or directory
calendatprofile.h:12:24: error: CBdayEvent.h: No such file or directory
calendatprofile.h:13:20: error: CEvent.h: No such file or directory
In file included from controlclass.cpp:7:
calendatprofile.h:52: error: 'CalendarColour' has not been declared
make: Leaving directory `/d/n9profile'
make: *** [controlclass.o] Error 1
Exited with code 2.
Error while building project n9profil (target: Maemo)
When executing build step 'Make'

Are you getting these errors too ? If so, what did you do to get around them ?

Diph 2011-01-17 20:03

Re: Need help in modifying an existing open source N900 program ..
 
Sorry, I don't know how to help. It just worked from scratch. I have Ubuntu and latest Nokia Qt SDK if it helps.

ahmadka 2011-01-17 20:40

Re: Need help in modifying an existing open source N900 program ..
 
can you just check if any of the files I'm betting not found error for are included in the package you downloaded .. ?

because I actually tried finding such files in the source code TAR file I downloaded and couldnt find any of them ...

Diph 2011-01-18 06:12

Re: Need help in modifying an existing open source N900 program ..
 
I just cloned the git repo from the first post's link.

Code:

git clone git://gitorious.org/n9profile/n9profile.git
Have you tried this?

http://gitorious.org/n9profile/n9pro...tarball/master


All times are GMT. The time now is 03:55.

vBulletin® Version 3.8.8