gCAD3D: a 3D CAD program

Stuff that has yet to be sorted into a category.
Message
Author
puppyoutsider
Posts: 10
Joined: Tue 25 Sep 2007, 17:49

gCAD3D

#21 Post by puppyoutsider »

Hello,

I also tried installing gCAD3D, which looked very promissing.
First I got the same errors as vanchutr mentioned; the missing libGL* and libGLU* stuff. After following the suggestions of muggins, I was able to install the program. It indicates, that I can start it by clicking on the icon on the desktop.
In the first place I got no icon on the desktop. Starting from the directory /root/gCAD3D gives no result. No error are mentioned, simply nothing happens.
Any ideas?
Thanks in advance

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#22 Post by muggins »

somehow i was lucky when i first installed it & everything worked straight away. the critical thing is, do you have a working openGL graphics setup?

to test that all library requirements are met do, (if installed to /root):

ldd /root/gCAD3D/gCAD3D

on my second try at installation, i've met all the library requirements but, because i don't have a working openGL setup, if i do:

/root/gCAD3D/gCAD3D

then i get an error, telling me that openGL isn't working. i'll need to search the forum & go back over threads on openGL to work out it's intricacies. it doesn't just seem to be a simple matter of installing a .pup or .pet, as mu's 3DCC package tells you that if openGL-A doesn't work, try openGL-B. anyway, that'll have to wait as i'm off to work.

puppyoutsider
Posts: 10
Joined: Tue 25 Sep 2007, 17:49

gCAD3D

#23 Post by puppyoutsider »

Hello muggins,

I tried the following:
ldd /root/gCAD3D/gCAD3D
The result is the same as you reported on 6th Sept., except the last library libz.so.1, which is not reported in my list. No errors are reported. As I understood, the command ldd gives the libraries where the executable depends on. Out of that the numbers inside the brackets are different from your list.
After /root/gCAD3D/gCAD3D I got the follwing list:

/+++++++++++++ Start xa 2
0|/root/gCAD3D/gCAD3D|
0|/root/gCAD3D/gCAD3D|
OS_Init_ |/root/gCAD3D/gCAD3D|
basedir = |/root/gCAD3D/|
AP_dir_open=|/root/gCAD3D/dat/|
AP_lang=|nl|
AP_browser=|mozilla|
UTX_memFind1 40 2
ex UTX_memFind1 found 19
AP_printer=|lpr -l -PCUPS-PDF|
Modelname=|unknown.apt|
AP_dir_save=|/root/gCAD3D/dat/|
AP_DllLst_write
UI_win_main 90
GUI_init || 0
GUI_Window |GCAD3D|99|
GUI_WinTit |GCAD3D|
UI_menCB |Iact|
UI_menCB |Bar1|
UI_menCB |Bar2|

=================================================
UI_butCB |VWR|

=================================================
UI_butCB |MAN|
charSet 0 |ANSI_X3.4-1968|
ascent=10 descent=3
UI_Ed_ln_sizY = 13
UI_GR_Init
gtk_gl_area_new OK
button_press_event=612
ex UI_GR_WinInit
GUI_Tx_Win
DemoPostProc.so
DemoPlugin_Resolv.so
DemoPlugin_Hili.so
DemoPlugin_Dialog.so
DemoPlugin_Create.so
DemoKondensatorplatte.so
Demo_Decode_Obj.so
DemoAssy1.so
GUI_Pix /root/gCAD3D/xa/xa_logo.xpm
nach GUI_Pix
The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch'.
(Details: serial 388 error_code 8 request_code 156 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line option
to change this behaviour. You can the get a meaningful backtrace
from your debugger if you break on the gdk_x_error() function.)

Most of the messages doesn't mean very much to me, but don't look very dramaticly. Except " <unknown>:30480 ...." and the error about the X Windows System.
Can this error been caused by the puppy version;
I use puppy-2.17-seamonkey-fulldrivers.iso

Any ideas about the errors reported?
Thanks in advance

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#24 Post by muggins »

puppyoutsider,

i'm in the dark as much as you are as to why it won't work. it's still working on my main 2.16 partition, but i've no idea what the elusive steps are to get it working. i'll have another crack at it on the weekend to see if i can nut out some definite install requirements, but don't have time at the moment.

but do you know if you have a working openGL setup? can you see the rotating GLX gears?

puppyoutsider
Posts: 10
Joined: Tue 25 Sep 2007, 17:49

gCAD3D

#25 Post by puppyoutsider »

Hi muggins,

I understand that you ran inside the same problem.
Because I am very new in puppy linux (in fact new in Linux), I try to find solutions in this forum, because I couldn't find them anywhere else.
To test the OpenGL setup, I ran the 3D-Demo from 3DCC. I see three turning wireframe balls (quit slow 4.55 FPS in full screen). I use a ATI Radeon 9000 with 128Mb, but I think OpenGL works.
In the PETget package manager I can see I have installed OpenGL and X11R7-OpenGL and the 3DCC package.
I hope this is the right way to test the OpenGL setup. If not, please advise.
In the meanwhile I will try further.

Thanks anyway.

puppyoutsider
Posts: 10
Joined: Tue 25 Sep 2007, 17:49

gCAD3D

#26 Post by puppyoutsider »

Hi,

I tried installation of gCAD3D on Puppy-2.16 and now I was able to get it run.
After starting Puppy-2.16 I started to setup the OpenGL. I saw in the 3DCC that special drivers where in for ATI Radeon 9000 card. I installed these and the 3D-Demo was much faster as I mentioned last week (now 50 fps in full-screen).
I re-installed gCAD3D. First I checked dependencies with "ldd gCAD3D-1.100-Linux-x86". Than I did "ldconfig" and after giving the permissions to execute the installer-file, everything ran smoothly. After it I could start the program.
Conclusion is just as muggins suggested, the OpenGL system for the videocard, which seems to be rather critical. May be the same route will function an 2.17, but I have not tried this.

Anyway, thanks for all help nd suggestions.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#27 Post by muggins »

puppyoutsider,

now you've triggered a distant memory in my brain! i think that with the install that works I have installed the specific drivers for the graphics card + openGL.

anyway, good that you managed to get it working. i'm not really a CAD person, so was it worth the effort?

puppyoutsider
Posts: 10
Joined: Tue 25 Sep 2007, 17:49

gCAD3D

#28 Post by puppyoutsider »

Hi muggins,

I am trying to setup a system under Linux, which can do the things I used to do under MS-Windows. These are
- texteditting
- spreadsheet
- C/C++ programming
- electronic design
- CAD (2D and 3D)

One of the programs I use often is Alibre Design, a 3D CAD program. which functions good. After modelling a 3D-design, it is possible to generate 2D-drawings. I will investigate if these can also be done with gCAD3D, but after I was succesfull to install this, I have not tried it yet. Later this week, I hope I can inform you about my ideas about it later this week.

I do not really understand if you were succesfull to install the package again. For me the drivers for the graphics card were crucial.
My opinion so far is, that installing programs under Linux is less trivial than in MS-Windows. Mostly you need a package special made for the distribution you need and even than it is tricky to install them. However, I didn't have had any problems with PET- and Dotpup-packages.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#29 Post by muggins »

i don't have any need for a CAD program. the only reason i posted the link to gCAD3D was i was aware of previous posts querying the lack of CAD programs for puppy.

but out of curiousity today i successfully duplicated my initial install, (with pup2,16), to a pristine pup2.17 partition. with gCAD3D the critical factor is having a working 3D openGL display.

so i used mu's 3DCC program, and this time followed all the steps, and upon rebooting, gCAD3D worked.

if you're looking for electronics &/or CAD programs, do a forum search for:

qucs, xcircuit, qcad, sagcad.

if you've got the relevant devx for your pupversion, the latest development version of tkgate compiles & install easily, but at 7M+ is too big to upload to the forum. also tclspice.

puppyoutsider
Posts: 10
Joined: Tue 25 Sep 2007, 17:49

gCAD3D

#30 Post by puppyoutsider »

Hello,

After I have been succesful to install gCAD3D under Puppy-2.16, I have a problem to use it.
I can open example models and they can be rotated in 3D; great.
When I like to start a model, I understand from the manual, that I have to enter CAD or MAN modus. As soon as I click on one of these radio-buttons in the taskbar, the complete program disappears. In VWR modus all work fine. I noticed, that VWR, 3D and Shade texts in the taskbar are blue.
Does anyone know the reason for this. As a check I installed the package under Win2k, where this functions well (I don't like to use this program in MS environment).
Evey hint or suggestion will be welcome.

Thanks in advance.

User avatar
miriam
Posts: 373
Joined: Wed 06 Dec 2006, 23:46
Location: Queensland, Australia
Contact:

#31 Post by miriam »

Hi puppyoutsider.

I have the same thing. I installed it easily and it worked with no problems until I tried the CAD radio button... and gCAD3D disappeared. So I tried starting it from the commandline (one of the nice things about Linux). I went to the folder where gCAD3D is, started up a new terminal by pressing the ` key, then typed:
./gCAD3D

Then when I tried the CAD button it responded with "segmentation fault". I don't know why. If anybody else has a clue I'd be happy to learn more. I wonder if it has anything to do with Gtk_Toolbox. I know gCAD3D requires Gtk_Toolbox, and I'm pretty sure Puppy uses Gtk_Toolbox already, but if there are some slight differences in the version Puppy uses and the version gCAD3D wants then it could cause problems with gCAD3D. This is just speculation though. I don't really know.

Suggestions anybody?
[color=blue]A life! Cool! Where can I download one of those from?[/color]

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#32 Post by muggins »

miriam,

i noticed that a new version, v1.12, has been released, and was hoping that it would resolve this issue. but it has the same problem.

i ran the program via gdb, clicked the CAD radiobutton, and it gave this output:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
0xb7eccc38 in gtk_widget_hide () from /usr/lib/libgtk-x11-2.0.so.0
but what this means i'm not sure. but i've sent off a query to the developers, so i'll see what their response is.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#33 Post by charlie6 »

Hi Muggins,
muggins wrote:...new version, v1.12, has been released...
I am now trying to install gCAD3D 1.24; I went through all the steps you 'walked' in till here with "erreur de segmentation" (french translation of 'segmentation default'); and of course I cannot go farther as I am a linux newbie...I wonder if 'segfault' could be an irrevesible error or whether it could be fixed.

I am using CAD softwares and have tried some; I believe gCAD3D to be interesting as I could use it (not fully)on WinXP.

My PC run toutoulinux4.1.2 (= french translation of puppylinux4.1.2)
+ devx_412.sfs + kernel2.6.25.15.patched.sfs + xorg_dri_openchrome-7.3-0.2.903.pet from
http://download.mcpup.org/pets/drivers/ ... .2.903.pet
(straight installation without having to look for and install extra dependencies :) )
...and was hoping that it would resolve this issue. but it has the same problem..
...no change as yet..

I downloaded and installed in /root/my_documents :gCAD3D-devel-1.144.tar.gz by doing
#tar -xzvf gCAD3D-devel-1.144.tar.gz
Afterwards I downloaded also in /root/my_documents gCAD3D-1.24-Linux-x86;
gXinstall do not need be installed according to developpers.

doing
#./gCAD3D-1.24-Linux-x86
gave a dialog box asking for 'choose which language for installation';
I first choose english which validation caused dialog box extinction...!
I afterwards choose 'german' which gave another diaolog box asking for
'installieren' (...) whether 'abbrechen' (= exit); I choose installieren ... and something went further till...'Program wird erfolgreich installiert' (= program succesfully installed);
Here I wonder if there could be mysfunction(s) due to trivial translation (from EN to DE) mismatch...?
I got a /root/gCAD3D folder and did as follows:
# pwd
/root
# ls
....gCAD3D...
# cd gCAD3D
# ls
....gCAD3D...

then I launched

# ./gCAD3D
program ran till 'erreur de segmentation' as detailled hereafter

Code: Select all

# ./gCAD3D
+++++++++++++ Start xa   1
0|./gCAD3D|
0|./gCAD3D|
OS_Init_ |./gCAD3D|
 basedir = |/root/gCAD3D/|
 tmpdir = |/root/gCAD3D/tmp/|
 AP_dir_open=|/root/gCAD3D/dat/|
 AP_lang=|fr|
 AP_browser=|mozilla|
UTX_memFind1 40 2
ex UTX_memFind1 found 19
 AP_printer=|lpr -l -PCUPS-PDF|
 Modelname=|unknown.gcad|
 AP_dir_save=|/root/gCAD3D/dat/|
 AP_dir_prg=|/root/gCAD3D/prg/|
 active application=||
AP_DllLst_write 
UI_win_main 90
GUI_init || 0
UI_fontsizX/Y=7,7
UI_menCB |Iact|
UI_menCB |Bar1|
UI_menCB |Bar2|

=================================================
UI_butCB |VWR|

=================================================
UI_butCB |MAN|
DemoAnim1.so
DemoAssy1.so
Demo_Decode_Obj.so
DemoKondensatorplatte.so
DemoPlugin_Create.so
DemoPlugin_Dialog.so
DemoPlugin_Hili.so
DemoPlugin_Resolv.so
DemoPostProc.so
Demosimple.so
APP_GIS1.so
Erreur de segmentation
# 
i ran the program via gdb, clicked the CAD radiobutton, and it gave this output:
what is the syntax to run the program via gdb?
...but i've sent off a query to the developers, so i'll see what their response is.
did you receive an answer from them ?
I plan to contact them (I did it ca. one year ago trying to run it on WinXP but I dismissed because of strange display behaviour; and had no more motivation to keep searching to fix the problem on WinXP... :wink: )

Furthermore I did (as documented in you post..):

Code: Select all

# pwd
/
# ldd /root/gCAD3D/gCAD3D
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7d62000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7d00000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7ce9000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7cd9000)
        libm.so.6 => /lib/libm.so.6 (0xb7cb7000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7cae000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7c7f000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7c22000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7c02000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7bff000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7bfb000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7b6d000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7aee000)
        libGL.so.1 => /usr/X11R7/lib/libGL.so.1 (0xb7a98000)
        libc.so.6 => /lib/libc.so.6 (0xb799d000)
        libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb78cc000)
        libXfixes.so.3 => /usr/X11R7/lib/libXfixes.so.3 (0xb78c8000)
        libfontconfig.so.1 => /usr/X11R7/lib/libfontconfig.so.1 (0xb78a1000)
        libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb7895000)
        libXrender.so.1 => /usr/X11R7/lib/libXrender.so.1 (0xb788e000)
        libXrandr.so.2 => /usr/X11R7/lib/libXrandr.so.2 (0xb7888000)
        libXcursor.so.1 => /usr/X11R7/lib/libXcursor.so.1 (0xb7880000)
        /lib/ld-linux.so.2 (0xb7fc4000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb785a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb77fc000)
        libz.so.1 => /lib/libz.so.1 (0xb77ed000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb77d0000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb779f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76b7000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb76ac000)
        libXxf86vm.so.1 => /usr/X11R7/lib/libXxf86vm.so.1 (0xb76a7000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7692000)
        libdrm.so.2 => /usr/X11R7/lib/libdrm.so.2 (0xb768a000)
        libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7686000)
        libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7681000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7665000)
# 
to verify these libs to be present:
libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7aee000)
libGL.so.1 => /usr/X11R7/lib/libGL.so.1 (0xb7a98000)

I did not create any symlink as mentionned in earlier posts.

Many thanks for answering.
Cheers from Belgium, :D Charlie

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#34 Post by muggins »

Hello charlie6,

no, I gave up on gCAD3D. Have you tried searching for cad here?

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#35 Post by charlie6 »

Hi Muggins,
I run the french translation of Puppy412 with kernel2.6.25.16. Would you indicate me where to download and which an OpenGLWindow package (if possible .pet) which is compatible?
Cheers, Charlie

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#36 Post by muggins »

charlie6,

if you install xorg_xorg_dri-7.3-1.pet this will provide openGL...but gCAD3D will still crash with a segmentation fault. Have you looked at any alternatives?

medusa4
turbocad
qcad-2.0.5.0-1-i486.pet
varkon

User avatar
bambuko
Posts: 578
Joined: Wed 14 Nov 2007, 14:03
Location: North Devon

#37 Post by bambuko »

And don't forget Varicad
I know it is not open source, nor is it free (but student licence is very reasonable) - this one comes closest to my idea of mechanical engineering solution.
It works very well on Puppy as well!

User avatar
vtpup
Posts: 1420
Joined: Thu 16 Oct 2008, 01:42
Location: Republic of Vermont
Contact:

#38 Post by vtpup »

Also, I've mentioned CollabCad before, and have run it in limited fashion on Puppy.

If you're looking for 3D and free, and running native in Linux this one is available. As Bambuko says, documentation is lacking, it might be tricky to dimension in a way that you like, and some of the very advanced collaborative features haven't been implemented yet. But it might be of interest as a try-out anyway.

http://www.murga-linux.com/puppy/viewto ... 19&t=36240

Most of the others mentioned by muggins are 2D programs, but certainly good ones. I've been unable to crash Turbocad 4L on wine 1.1.14 as I could with earlier Wine versions, so it looks stable to me.

Qcad is an old standby, and my former dislike of its vector typestyles is gone since the user can now create new ones.

I try late version TurboCad and DesignCad 3D programs with every new release of Wine. Designcad is close nowadays but crashes after opening at odd moments. I'm pretty confident that with the right tweaking and dll substitutions somebody could get it to work. These apps are frequently available at very low prices. I got a TurboCad 14 Professional once for $19 at a Staples store markdown.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#39 Post by muggins »

Just saw this on freshmeat:
Changes:
This release creates parametric points upon selection of surface. Segfaults at startup have been fixed for Puppy Linux.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#40 Post by muggins »

Following charlie6's post, below, I've repackaged it as a .pet, and added it to page1 of this thread.
Last edited by muggins on Sun 08 Mar 2009, 03:07, edited 1 time in total.

Post Reply