Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Oct 2014, 09:24
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
C/C++ Development in Puppy Linux
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 6 [78 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: Mon 20 Oct 2008, 21:05    Post subject:  

No, it's not difficult. First download the surce code for wxGTK, extract it somewhere, change to the created directory, then do:

Code:

./configure prefix=/usr
make
make install


Then follow the same procedure with codeBlocks.
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Thu 17 Sep 2009, 11:32    Post subject: Re: Anjuta-2.4.2 SFS-File
Subject description: One problem away from release
 

Wosh wrote:
@ All Puppy Developers

I have fixed the Anjuta bugs and created an Anjuta-SFS file. But there is still one problem that prevents it's release. In current Puppy 4.00 anjuta-2.4.2-p400.sfs is mounted before pup_400.sfs.

Anjuta depends on a lot of library-versions from glib to gtk+ that have not made it into Puppy yet. So it is necessary to mount Anjuta as last SFS-File to activate the new library versions. I have searched /etc to find out where pup_400.sfs and the other sfs-files are mounted. No clue. Help neded.

The alternative would be to build pets from all new libraries and install them first. Very cumbersome!


Hi Wosh, I followed this tread from the beginning, you made an Anjuta SFS file, do you?. I'll like to test it in some Puppy series, I know that you provided a guide to build it from the scratch but I lacking of some basic Linux knowledge to reach that.

Could you provide a link please, Thank you in advance,

clarf.
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 479
Location: Brisbane, Australia

PostPosted: Tue 22 Sep 2009, 10:27    Post subject: codeblocks 8.02 + wxWidgets 2.8.10  

If anyone's interested I have successfully compiled, and use, codeblocks 8.0.2 and wxWidgets 2.8.10 on Puppy 4.1.2.

I produced an .sfs file "wx_cb.sfs" which contains them both.
When loaded with "devx_412.sfs", it all works.

I choose wxWidgets because I want to be able to compile and run my GUI apps on both Linux and Windows, (and even on Macs).

gyro
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Thu 24 Sep 2009, 16:31    Post subject: Re: codeblocks 8.02 + wxWidgets 2.8.10  

gyro wrote:
If anyone's interested I have successfully compiled, and use, codeblocks 8.0.2 and wxWidgets 2.8.10 on Puppy 4.1.2.

I produced an .sfs file "wx_cb.sfs" which contains them both.
When loaded with "devx_412.sfs", it all works.

I choose wxWidgets because I want to be able to compile and run my GUI apps on both Linux and Windows, (and even on Macs).

gyro

Hi gyro, Where could I find this sfs?. Want to try it.
Back to top
View user's profile Send private message 
Wosh


Joined: 09 Jul 2007
Posts: 60
Location: Nuremberg Germany

PostPosted: Fri 25 Sep 2009, 19:22    Post subject:  Anjuta 2.4.2 seems to run without problems in Puppy 4.3
Subject description: Anjuta converted to sfs-4
 

@ clarf and others interested in the Anjuta-IDE

As you have read in this thread some times ago I had created an anjuta-2.4.2-sfs-file for Puppy-Linux 4.0. I was not able to share it with you because some libraries it uses, were newer than those in Puppy-Linux 4.0/4.1. So I did a hack in the init-script of initrd.gz and in the boot manager that allows to load sfs-files after pupXXX.sfs. It overwrites older library versions with the updated versions within these sfs-files. I have not been able to make this hack fool proof and so I ceased from publishing the anjuta-2.4.2-sfs file.

With Puppy Linux 4.3 all libraries relevant for Anjuta 2.4.2 seem to be up to date. After conversion of the anjuta-2.4.2-sfs-file for Puppy-Linux 4.0 to the new sfs-4 format in Puppy-Linux 4.3 it seems to run without problems.

The sfs-file for Puppy Linux 4.3 can be downloaded from:

ftp://ftp.servage.net/anjuta-2.4.2/anjuta-2.4.2-p430.sfs
user: puppy
password: puppylinux

As a goodie the anjuta-2.4.2-sfs-file contains the stand alone ddd Data-Display-Debugger.

Please report your experiences.

_________________
Wosh
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Sat 26 Sep 2009, 09:37    Post subject:  

Many, many thanks Wosh. Your efforts are really appreciated.

After a initial very short test with anjuta-2.4.2-p430.sfs , I found some little problems.

1. In first run it always shows a window error about Valgring Plugin, attached screen capture: Anjuta_error_1.jpg.

2. After I create a project there are some errors in message window, attached screen capture: Anjuta_error_2.jpg

3. Sometimes When I use some menu options Anjuta close without errors.

Seems a problem with some libraries not found. I hope you can check it Wosh.

Greetings,

clarf
Anjuta_error_2.jpg
Description  Message errors after project creation
jpg

 Download 
Filename  Anjuta_error_2.jpg 
Filesize  130.25 KB 
Downloaded  1085 Time(s) 
Anjuta_error_1.jpg
Description  Error at first run
jpg

 Download 
Filename  Anjuta_error_1.jpg 
Filesize  146.59 KB 
Downloaded  1066 Time(s) 
Back to top
View user's profile Send private message 
Wosh


Joined: 09 Jul 2007
Posts: 60
Location: Nuremberg Germany

PostPosted: Sat 26 Sep 2009, 16:53    Post subject:  Anjuta only works if devx430.sfs is loaded
Subject description: But there might be problems with some old libraries
 

@ clarf

It seems that you have not loaded devx430.sfs which contains make, automake, gdb, gcc, strip and other development tools needed by the IDE.

On my rather pristine Puppy 4.30 I succeeded to compile a mini test project and to debug it.. I also succeeded in plugging-in Valgrind.

But there might arise a problem with some older libraries that I used when I compiled Anjuta, that now are outdated in Puppy 4.30. The best thing would be to recompile the whole packages. It takes about 4 hours and a lot of diligence. After loading anjuta-2.4.2-p430.sfs the description how to proceed is found in:

/usr/share/doc/anjuta/BuildPuppy400Anjuta-2.4.2.html

At the moment I am to busy to do it myself, but I will support people that try to recompile it. The first thing that should be done is to check whether some packages used there have made it into Puppy 4.30 because they of course must not be recompiled. The rest is to do the tedious work.

_________________
Wosh
Back to top
View user's profile Send private message 
clarf


Joined: 13 Jun 2007
Posts: 612
Location: The old Lone Wolf

PostPosted: Sat 26 Sep 2009, 20:04    Post subject:  

Excuse me Wosh, that's my fault Embarassed .

As I said it was a very short test Laughing , didn't notice that devx was not loaded. Well, no errors now, and finally I can start to learn C/C++ and GTK+ in Linux.

Thank you again Wosh.
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 479
Location: Brisbane, Australia

PostPosted: Mon 28 Sep 2009, 11:46    Post subject: Re: codeblocks 8.02 + wxWidgets 2.8.10  

clarf wrote:
Hi gyro, Where could I find this sfs?. Want to try it.
Sorry for taking so long to respond.
Right now "wx_cb.sfs" only exists on my computer.
I just tried to upload it to my personal web space, but it wouldn't go. (It's not a small file, about 38MB).
If you still want it, I'll try to find a large file public server to upload it to.

Note: The current "wx_cb.sfs" is compiled on Puppy 4.1.2, since that's still my main puppy. I'm currently upgrading to 4.3 and will recompile it there, when I get there.

gyro
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 29 Sep 2009, 07:30    Post subject:  

the program runs
but if I click on new or try to build a glade interface
I get:

Code:
# anjuta
** Message: Added idle loop to create global tags
Segmentation fault
# anjuta
** Message: Added idle loop to create global tags

(anjuta:12556): GladeUI-WARNING **: No icon named 'widget-gtk-scalebutton' was found for widget class 'GtkScaleButton'.
GladeUI-Message: No displayable values for property GtkScaleButton::orientation

(anjuta:12556): GladeUI-WARNING **: No icon named 'widget-gtk-volumebutton' was found for widget class 'GtkVolumeButton'.
GladeUI-Message: No displayable values for property GtkComboBox::button-sensitivity

(anjuta:12556): GladeUI-WARNING **: No icon named 'widget-anjuta-vcsstatus' was found for widget class 'AnjutaVcsStatusTreeView'.

(anjuta:12556): GLib-GObject-WARNING **: gsignal.c:2267: signal `resource-updated' is invalid for instance `0x8d7ff10'
Segmentation fault
# anjuta


hope someone can help as the program looks good . . . Smile

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 30 Sep 2009, 08:02    Post subject:  

tronkel wrote:
You should have a look at C++ programming using FLTK.

Sounds good

Quote:
It includes a GUI builder called Fluid and operates seamlessly with c/c++ and the STL libraries. It is small and fast as well. Ideal for use in Puppy.

Sounds very good

Quote:
I once made a dotpet of this.
http://www.dotpups.de/dotpups/Programming/

Hooray it works

Quote:
You'll certainly need some help to get started, but it's not difficult at all.

I need Help
Quote:
Google for "ercol" and see what comes up

well it seems to be erco and those are DOS demos . . .
HELP!
Code:
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Button.H>

are those for Windows programming?

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6688
Location: lisbon

PostPosted: Wed 30 Sep 2009, 09:36    Post subject:  

erco

Lob,

I think fltk is cross-platform...remember John Murga's murgalua, which runs on linux, windows & mac, is fltk-based.
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 479
Location: Brisbane, Australia

PostPosted: Wed 30 Sep 2009, 15:28    Post subject: codeblocks 8.0.2 and wxWidgets 2.8.10 available for download  

I have just uploaded wc_cb.sfs to http://www.filefront.com/14631189/wx_cb.sfs
This contains codeblocks 8.0.2 and wxWidgets 2.8.10.
It was compiled on Puppy 4.1.2.
I suspect it's aimed at an i686, since I didn't specify this.

It's 35.7MB in size.

The sfs file was created on Puppy 4.1.2, so it's not sfs4.

I haven't tested it running codeblocks on Puppy 4.3.0 yet, haven't converted the sfs file to sfs4 yet.

I have used it to write a few programs. I've compiled the same source code on both Puppy 4.1.2 and Windows XP, and both work. ("otherOS" is an example, and it runs also on Puppy 4.3)

gyro

Edit: Converted it to an sfs4 file in 4.3 and successfully compiled and ran the initial wxSmith application using devx_430.sfs + wx_cb-sfs4.sfs.

NOTE: This all done on frugal installs.
Back to top
View user's profile Send private message 
Wosh


Joined: 09 Jul 2007
Posts: 60
Location: Nuremberg Germany

PostPosted: Thu 01 Oct 2009, 08:38    Post subject:  Libraries obsolete  

@ Lobster

Quote:
the program runs
but if I click on new or try to build a glade interface
I get:


If you write about the anjuta-sfs file, the errors seem to be due to some obsolete libraries. To fix the problem the whole sfs-file must be recompiled using the puppy-4.30 libraries. Instructions are found in my previous post.

_________________
Wosh
Back to top
View user's profile Send private message 
alejol


Joined: 14 Apr 2009
Posts: 30
Location: Country: Uruguay; city: Florida

PostPosted: Thu 01 Oct 2009, 14:12    Post subject: Please make the download available via HTTP
Subject description: Somoe people like me have FTP access blocked
 

Hi Wosh!
I think that is fabulous your post of a C++ IDE. But,
I have FTP blocked by my administrator.
Can anyone make available the Anjuta IDE .SFS via HTTP?
I think that HTTP is by far more usable for all people than FTP.
Thanks!!!
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 5 of 6 [78 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0958s ][ Queries: 12 (0.0053s) ][ GZIP on ]