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 Tue 30 Sep 2014, 14:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
gCAD3D: a 3D CAD program
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 6 [81 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Wed 05 Sep 2007, 01:34    Post subject:  gCAD3D: a 3D CAD program  

http://www.gcad3d.org/

Quote:
gCAD3D is a 3D CAD-CAM application that features an integrated 3D OpenGL viewer, a program interpreter for geometry and NC-commands in 3D, an integrated NC-processor, and a programming interface for user programs. It has support for importing Step files and support for both importing and exporting Iges, DXF, and VRML files.


Requires a working OpenGL graphics environment, plus the 3 attached library .pets.

Run via Menu->Graphic->gCAD3D

N.B. For the newest release of puppy, p431, don't install libgio-2.0.so.0.pet.
gCAD3D-1.44.pet
Description 
pet

 Download 
Filename  gCAD3D-1.44.pet 
Filesize  1.15 MB 
Downloaded  1057 Time(s) 
libgio-2.0.so.0.pet
Description 
pet

 Download 
Filename  libgio-2.0.so.0.pet 
Filesize  157.63 KB 
Downloaded  2575 Time(s) 
libgtkgl-2.0.so.1.0.0.pet
Description 
pet

 Download 
Filename  libgtkgl-2.0.so.1.0.0.pet 
Filesize  6.16 KB 
Downloaded  1551 Time(s) 
libselinux.so.1.pet
Description 
pet

 Download 
Filename  libselinux.so.1.pet 
Filesize  44.04 KB 
Downloaded  2092 Time(s) 

Last edited by muggins on Fri 02 Apr 2010, 00:56; edited 20 times in total
Back to top
View user's profile Send private message 
john biles


Joined: 17 Sep 2006
Posts: 1408
Location: Australia

PostPosted: Wed 05 Sep 2007, 19:20    Post subject:  

Hello muggins,
I'm running Puppy 2.14 base and get errors from the installer and the package won't install.
What version of Puppy did you try this out on and did you have to do anything else to get it going?

Hey muggins have you been here yet!! looks like it could be a goldmine for Linux CAD Apps.

http://www.tech-edv.co.at/lunix/CADlinks.html

_________________
Legacy OS 2.1 LTS Released! Install me on a new! EXT2 Partition with 500Mb of swap and I'll be happy. Razz
Legacy OS 4 Released! Install to newer legacy hardware / early EeePC's Very Happy
Back to top
View user's profile Send private message Visit poster's website 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Thu 06 Sep 2007, 04:14    Post subject:  

hello john,

i installed it on pup2.16 & didn't get any errors. if you run the installer on the commandline, what errors do you get?

running ldd gCAD2D gives me this:

Code:
   linux-gate.so.1 =>  (0xffffe000)
   libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7cb1000)
   libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7c45000)
   libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7c2b000)
   libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7c1a000)
   libm.so.6 => /lib/libm.so.6 (0xb7bf5000)
   libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7be8000)
   libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7bb6000)
   libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7b58000)
   libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7b2d000)
   libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7b2a000)
   libdl.so.2 => /lib/libdl.so.2 (0xb7b26000)
   libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7ab4000)
   libGLU.so.1 => /usr/X11R7/lib/libGLU.so.1 (0xb7a40000)
   libGL.so.1 => /usr/X11R7/lib/libGL.so.1 (0xb79d4000)
   libc.so.6 => /lib/libc.so.6 (0xb78c8000)
   libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb77da000)
   libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb77a4000)
   libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb7796000)
   libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb778d000)
   libXinerama.so.1 => /usr/X11R7/lib/libXinerama.so.1 (0xb7789000)
   libXi.so.6 => /usr/X11R7/lib/libXi.so.6 (0xb7781000)
   libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb777d000)
   libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb7774000)
   libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb776f000)
   /lib/ld-linux.so.2 (0xb7ef8000)
   libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb774a000)
   libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb76e0000)
   libpng12.so.0 => /usr/lib/libpng12.so.0 (0x441e8000)
   libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7612000)
   libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7609000)
   libXxf86vm.so.1 => /usr/X11R7/lib/libXxf86vm.so.1 (0xb7603000)
   libpthread.so.0 => /lib/libpthread.so.0 (0xb75b0000)
   libdrm.so.2 => /usr/X11R7/lib/libdrm.so.2 (0xb75a9000)
   libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb75a6000)
   libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb75a1000)
   libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7581000)
   libz.so.1 => /lib/libz.so.1 (0xb756f000)
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Thu 06 Sep 2007, 04:32    Post subject:  

i just ran the install program again and i see that, because it uses OpenGL, it checks if you've got libGL.so.1 & libGLU.so.1. so if you haven't got openGL libraries it would probably abort the installation.

i'm pretty sure i've installed one from mu's repository, but i'm not sure which one:

http://dotpups.de/dotpups/XServer/DRI/
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Fri 21 Sep 2007, 12:25    Post subject:  

i thought i'd make a note here that john biles had some difficulty getting this program to install. i thought it was due to missing openGL libraries, but we've found that the culprit was a missing /sbin/ldconfig which the gCAD3D program was looking for during it's installation.

so if anyone dloaded the program, and couldn't get it to install, you need mu's openGL.pup & the file /sbin/ldconfig
ldconfig.tar.bz2
Description 
bz2

 Download 
Filename  ldconfig.tar.bz2 
Filesize  217.67 KB 
Downloaded  1025 Time(s) 
Back to top
View user's profile Send private message 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Sun 23 Sep 2007, 05:17    Post subject:  

Thank you muggins,
I'd installed OpenGL.pup & ldconfig. But I can't install the gCAD3D.
(I run Puppy 2.17.1).
Please give some instructions?
gCAD3D.gif
 Description   (Error from gCAD3D install program)
 Filesize   12.93 KB
 Viewed   2738 Time(s)

gCAD3D.gif

Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Sun 23 Sep 2007, 06:20    Post subject:  

hi vanchutr ,

assuming you downloaded this .pup, from mu's repository :

http://dotpups.de/dotpups/XServer/DRI/OpenGL.pup

then the library files are extracted to /usr/X11R6/lib, with 2 symlinks going to /usr/lib. you should just need to symlink /usr/X11R7/lib/libGLU.so.1 to /usr/lib.
Back to top
View user's profile Send private message 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Sun 23 Sep 2007, 08:13    Post subject:  

I'd followed your instructions to make these symlink.
I chage to /usr/lib; open rxvt and use these commands
Code:

#ln -s /usr/X11R7/lib/libGL.so.1.2 libGL.so.1
#ln -s /usr/X11R7/lib/libGLU.so.1.3.060402 libGLU.so.1


But nothing new? I get same old error message:
Code:

 " *** ERROR: Library libGLU.so.1 doesnot exist ...
Cancel to terminate installation

What's error?
Thank you muggins.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Sun 23 Sep 2007, 08:21    Post subject:  

the file /usr/X11R7/lib/libGLU.so.1 should already exist, but gCAD3D is expecting it to be in /usr/lib, not /usr/X11R7/lib, so try this instead:

Code:
ln -s /usr/X11R7/lib/libGLU.so.1 /usr/lib
Back to top
View user's profile Send private message 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Sun 23 Sep 2007, 09:48    Post subject:  

Thank you muggins.
But I met same trouble (as the last post).
Please give more instructions? Or a .pet
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Sun 23 Sep 2007, 10:01    Post subject:  

if you type:

ls /usr/X11R7/lib/libGLU* ,and then
ls /usr/lib/libGLU*

what response do you have?
Back to top
View user's profile Send private message 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Sun 23 Sep 2007, 10:51    Post subject:  

After your note, I get these
Code:

# ls /usr/X11R7/lib/libGLU*
/usr/X11R7/lib/libGLU.so    /usr/X11R7/lib/libGLU.so.1.3.060402
/usr/X11R7/lib/libGLU.so.1  /usr/X11R7/lib/libGLU.so.1.3.060500
# ls /usr/lib/libGLU*
/usr/lib/libGLU.so.1

#
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Mon 24 Sep 2007, 01:42    Post subject:  

sorry vanchutr,

but this one has got me well & truly bamboozled! and embarrassed. embarrassed because one of the things that so impressed me with gCAD3D was the self-extracting installation package, and now i can't replicate my previous install & i don't know why. (and i somehow managed to get all my gtk apps giving me seg-fault errors on my main partition! but i'm not blaming gCAD3D for that as i was trying to multitask & in the end don't know what caused my xserver to die).

anyway, i thought i'd boot puppy-2.16 cdrom into ram, then go through the steps of installing gCAD3D.

initially, without any additional libraries added, pup-2.16 already has libGLU.so.1 linked to /usr/X11R7/lib/libGLU.so.1.3.060402. thinking i'd retrace my steps, i downloaded, and installed, http://dotpups.de/dotpups/XServer/DRI/OpenGL.pup ,
so libGLU.so.1 is now symlinked with:
/usr/X11R7/lib/libGLU.so.1.3.060500

then, before i tried to install the program, i ran
ldconfig, then i ran the install program, and it installed without complaint. typing ldd /root/gCAD3D/gCAD3D says it has all it's library requirements met...yet it won't run!

if i try to run it from the commandline it complains that:

"OpenGL not supported"

the only other thing i had done was install mu's 3DCC graphics program. so i tried that, but whether i install openGL-A, or try openGL-B, either way i can't get it to run?

the critical thing is, which i suppose is logical for a 3D graphics program, you need to have a working openGL graphics environment.

but for now, i'm back on trying to get my main partition working again, as currently it's 1D!
Back to top
View user's profile Send private message 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Mon 24 Sep 2007, 01:59    Post subject:  

Thank you Muggins.
So I will try to install in Puppy 216 (IceWM)
If there any new I will post to forum.
Sincerly
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6687
Location: lisbon

PostPosted: Mon 24 Sep 2007, 03:14    Post subject:  

no, i'm not suggesting you need to use pup2.16. i was just reporting my lack of success in trying to replicate an install in pup2.16.

i think the critical thing for gCAD3D to work is getting openGL to work with your display. maybe you should try installing mu's 3DCC.

( changing subject, my normal distro is back in operation. as it seemed to be all the gtk apps that wouldn't work, i copied an untouched /usr/lib from a cdrom, then used diff to compare it with the damaged one. i found these files were all altered, and copying them from the cdrom & i was back in business:


/usr/lib/libbz2.so.1.0 and /usr/lib2/libbz2.so.1.0 differ /usr/lib/libcairo.so.2 and /usr/lib2/libcairo.so.2 differ
/usr/lib/libgdk-x11-2.0.so.0 and /usr/lib2/libgdk-x11-2.0.so.0 differ
/usr/lib/libgdk-x11-2.0.so.0.800.17 and
/usr/lib2/libgdk-x11-2.0.so.0.800.17 differ
/usr/lib/libgimpprint.so.1 and /usr/lib2/libgimpprint.so.1 differ
/usr/lib/libgtk-1.2.so.0 and /usr/lib2/libgtk-1.2.so.0 differ
/usr/lib/libgtk-1.2.so.0.9.1 and /usr/lib2/libgtk-1.2.so.0.9.1 differ
/usr/lib/libgutenprint.so and /usr/lib2/libgutenprint.so differ
/usr/lib/libgutenprint.so.2 and /usr/lib2/libgutenprint.so.2 differ
/usr/lib/libgutenprint.so.2.0.0 and /usr/lib2/libgutenprint.so.2.0.0 differ

how they were changed is the mystery?)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 6 [81 Posts]   Goto page: 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0948s ][ Queries: 13 (0.0093s) ][ GZIP on ]