Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » ide is successfully built from 607-dev3 under Ubuntu (Edgy)
icon14.gif  ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4292] Mon, 31 July 2006 20:39 Go to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
By adding the following lines to the top of CtrlLib/LabelBase.cpp,
ide is successfully built from 607-dev3 under Ubuntu (Edgy).

#define IMAGECLASS CtrlsImg
#define IMAGEFILE <CtrlLib/Ctrls.iml>
#include <Draw/iml_source.h>

Well done to all developers!

Laughing
Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4293 is a reply to message #4292] Mon, 31 July 2006 20:49 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
However, when I try to change the build method from GCC32 Debug to GCC32 Optimal by selecting from the drop-down menu on ide(607-dev3), ide exited unexpectedly.


jc@jc-desktop:~/upp/uppsrc/ide$ ide
Segmentation fault


Confused

[Updated on: Mon, 31 July 2006 20:52]

Report message to a moderator

Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4294 is a reply to message #4292] Mon, 31 July 2006 21:18 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
3togo wrote on Mon, 31 July 2006 14:39

By adding the following lines to the top of CtrlLib/LabelBase.cpp,
ide is successfully built from 607-dev3 under Ubuntu (Edgy).

#define IMAGECLASS CtrlsImg
#define IMAGEFILE <CtrlLib/Ctrls.iml>
#include <Draw/iml_source.h>

Well done to all developers!

Laughing



This is still quite strange... I have last compiled in 606 ubuntu 3 days ago, without above change... The same includes are in ChWin32.icpp...

Hm, the only possible explanation: Case-sensitive filesystem. Please check whether ChWin32.icpp is not "empty" (and stored with other name).

Mirek
Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4310 is a reply to message #4294] Tue, 01 August 2006 04:51 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
I have checked the ChWin32.icpp and would like to confirm that it is not "empty".

I guess we are using two different ways to compile the ide. I merely use ide to create the necessary Makefile and then compile ide by typing make in the terminal.

Maybe this is why we have ended with two different results.

[Updated on: Tue, 01 August 2006 05:07]

Report message to a moderator

Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4317 is a reply to message #4310] Tue, 01 August 2006 08:21 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, have you tried TheIDE build?

Mirek
Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4318 is a reply to message #4317] Tue, 01 August 2006 08:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Ahh, I guess I have found something: Looks like makefile generator ignores .icpp files... Sad

Mirek
Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4323 is a reply to message #4318] Tue, 01 August 2006 10:55 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Please ignore what I have said below if u have known them for ages.

Traditionally in Linux, we used to
./configure
make
make install

to compile, link and install a program from its source.

However, there are another way
./configure
make
checkinstall

Checkinstall is a very funny program that read through your Makefile,
locate your "install" clause and create a deb for u.
To install checkinstall in ubuntu,
> >sudo apt-get install checkinstall

Since ide itself is not very platform sensitive, I don't think u need to
worry about how to setup configure.ac nor do u need to worry about which
linux and which versions people are using. Instead simply add "install:
" plus a few lines to your ide's Makefile to copy everything to say
/usr/share/upp and create a link of ide program to /usr/local/bin, u
will have a lovely deb package for debian guys.

Another goods news is checkinstall can create rpm as well.

Pardon me again if I have wasted your time to read these.

Smile


Shocked Shocked Shocked
Aris wrote:
[How did this come here? and my email?]
> > *Subject:* Re: ide is successfully built from 607-dev3 under Ubuntu
> > (Edgy) *Author:* luzr *Date:* Mon, 31 July 2006 15:18
> > *3togo wrote on Mon, 31 July 2006 14:39*
> >
> > By adding the following lines to the top of CtrlLib/LabelBase.cpp,
> > ide is successfully built from 607-dev3 under Ubuntu (Edgy).
> >
> > #define IMAGECLASS CtrlsImg
> > #define IMAGEFILE <CtrlLib/Ctrls.iml>
> > #include <Draw/iml_source.h>
> >
> > Well done to all developers!
> >
> > Laughing
> >
> >
> >
> >
> > This is still quite strange... I have last compiled in 606 ubuntu 3
> > days ago, without above change... The same includes are in ChWin32.icpp...
> >
> > Hm, the only possible explanation: Case-sensitive filesystem. Please
> > check whether ChWin32.icpp is not "empty" (and stored with other name).
> >
> > Mirek
> > [ Reply <index.php?t=post&reply_to=4294> ][ Quote
> > <index.php?t=post&reply_to=4294&quote=true> ][ View Topic/Message
> > <index.php?t=rview&goto=4294#msg_4294> ][ Unsubscribe from this topic
> > <index.php?t=rview&th=1266> ]
> >

Edit by fudadmin.

[Updated on: Tue, 01 August 2006 16:31] by Moderator

Report message to a moderator

Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4329 is a reply to message #4323] Tue, 01 August 2006 14:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Actually, that is what I expected our missing Linux maintainer would do Smile (Means: I really do not know anything about makefiles. Never used them. Never needed to Wink

As there was not any, we proceeded with simple plan.

I guess, alternative even now is simply to create "classical" windows-like installer for LSB-3.1.

Anyway, wait a moment - this unfortunately does not help with .icpp files now. TheIDE makefile generator simply needs fixing to manage them right.

Mirek

Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4333 is a reply to message #4329] Tue, 01 August 2006 16:23 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Mirek,

How about we make a deal? If u fix the bug about .icpp files against the IDE makefile generator, I will prepare the deb file for u.

Smile


luzr wrote on Tue, 01 August 2006 08:29

Actually, that is what I expected our missing Linux maintainer would do Smile (Means: I really do not know anything about makefiles. Never used them. Never needed to Wink

As there was not any, we proceeded with simple plan.

I guess, alternative even now is simply to create "classical" windows-like installer for LSB-3.1.

Anyway, wait a moment - this unfortunately does not help with .icpp files now. TheIDE makefile generator simply needs fixing to manage them right.

Mirek



Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4334 is a reply to message #4323] Tue, 01 August 2006 16:42 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
3togo, please check if my email appeared in your post because of typing mistake or this is related to Fudforum software? In any case, just edit and delete not needed pieces. Smile
Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4338 is a reply to message #4323] Wed, 02 August 2006 01:39 Go to previous messageGo to next message
rbmatt is currently offline  rbmatt
Messages: 90
Registered: July 2006
Location: Tennesse, USA
Member

3togo wrote on Tue, 01 August 2006 04:55

However, there are another way
./configure
make
checkinstall

Checkinstall is a very funny program that read through your Makefile,
locate your "install" clause and create a deb for u.

I thought checkinstall was more of a hack to get it to work on a local system, not to distribute. Do you know about that?

On a related note, does anyone know a Debian maintainer that can upload it to the main repository??
Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4340 is a reply to message #4338] Wed, 02 August 2006 04:16 Go to previous messageGo to next message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
As long as we confine ourselves to install only
1) ide executable
2) all the sources code to /usr/share/upp

the generated deb out of checkinstall should be useful to everybody.

Am I right?

3togo


rbmatt wrote on Tue, 01 August 2006 19:39

3togo wrote on Tue, 01 August 2006 04:55

However, there are another way
./configure
make
checkinstall

Checkinstall is a very funny program that read through your Makefile,
locate your "install" clause and create a deb for u.

I thought checkinstall was more of a hack to get it to work on a local system, not to distribute. Do you know about that?

On a related note, does anyone know a Debian maintainer that can upload it to the main repository??

[Updated on: Wed, 02 August 2006 04:16]

Report message to a moderator

Re: ide is successfully built from 607-dev3 under Ubuntu (Edgy) [message #4436 is a reply to message #4333] Mon, 07 August 2006 11:58 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
3togo wrote on Tue, 01 August 2006 10:23

Mirek,

How about we make a deal? If u fix the bug about .icpp files against the IDE makefile generator, I will prepare the deb file for u.

Smile




Should be now fixed.

Mirek
Previous Topic: U++ install on SLES 10 [SOLVED]
Next Topic: Linux upgrade
Goto Forum:
  


Current Time: Thu Apr 25 00:13:27 CEST 2024

Total time taken to generate the page: 0.07134 seconds