[SOLVED] Is there a SweetHome3D package for Fedora?
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 30
  1. #1
    Join Date
    Aug 2004
    Posts
    4,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is there a SweetHome3D package for Fedora?

    Is there a SweetHome3D package for Fedora? If so, what is it named?
    "Never let the task you are trying to accomplish distract you from the study of computers."

  2. #2
    Join Date
    Jul 2017
    Location
    IL
    Posts
    645
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Hello tashirosgt.

    You can use this Guide to get it done.

    https://tutorialforlinux.com/2019/03...a-30-gnulinux/

    Good luck.
    FFedora

    fedoraforum.org-Wallpapers
    https://forums.fedoraforum.org/group.php?discussionid=304&do=discuss

  3. #3
    Join Date
    Aug 2004
    Posts
    4,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Installing from an rpm fails because it says "java3d" is needed. Is there a fedora package for that?
    "Never let the task you are trying to accomplish distract you from the study of computers."

  4. #4
    Join Date
    Jul 2017
    Location
    IL
    Posts
    645
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Not in dnfdragora anyway.

    But you can try that package:

    https://pkgs.org/download/java3d-examples
    FFedora

    fedoraforum.org-Wallpapers
    https://forums.fedoraforum.org/group.php?discussionid=304&do=discuss

  5. #5
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    1,020
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Did you get this working? I used Sweethome 3D to design my kitchen a while back, pretty sure I've removed it now but I could reinstall it and create some instructions if you need them?

  6. #6
    Join Date
    Jul 2017
    Location
    IL
    Posts
    645
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Hello HaydnH.

    The issue that he has is with one package - java3D.
    it is not on the repositories yet,the only package that I found for him was java3dsamples.
    so if he will have yet issue it will be with that package that not yet full ready not in Fedora/Rpm-fusion.
    FFedora

    fedoraforum.org-Wallpapers
    https://forums.fedoraforum.org/group.php?discussionid=304&do=discuss

  7. #7
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    73
    Posts
    23,750
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Actually, FFedora, I've just installed and can run SweetHome3D without issues, so SOMETHING has provided "java3D" . Darned if I know what at this point.

    Hmmm...how about this? https://fedora.pkgs.org/29/rpm-spher...86_64.rpm.html
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  8. #8
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    1,020
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Quote Originally Posted by bob
    Actually, FFedora, I've just installed and can run SweetHome3D without issues, so SOMETHING has provided "java3D" . Darned if I know what at this point.
    It's included with the package:

    Code:
    [haydn@darkstar SweetHome3D-6.1.2]$ ls -l lib/libj3dcore-ogl.so 
    -rw-r--r-- 1 haydn haydn 158623 Feb  1 13:37 lib/libj3dcore-ogl.so
    [haydn@darkstar SweetHome3D-6.1.2]$

    I believe OP May have confused the error below which you may receive when running the "SweetHome3D-Java3D-1_5_2" binary instead of the "SweetHome3D" binary:

    Code:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/haydn/Downloads/SH3D/SweetHome3D-6.1.2/lib/libj3dcore-ogl.so: libnsl.so.1: cannot open shared object file: No such file or directory

    That can be fixed by "dnf install libnsl" but I wanted to check with OP before guessing.


    Although it's not needed as it's supplied with Sweethome 3D, Java 3D is one of the old Sun Microsystems APIs that Oracle took over and open sourced, although the dev.java.net site appears to be dead these days it can still be downloaded from Oracle. The install instructions are on the defunct site but it's a binary extractor with license, so download, chmod+x, ./filename.bin, cp ./lib/filename.so to a library path. There's some jar files as well which you probably need in your class path:

    https://www.oracle.com/technetwork/j...-1.5.1-oth-JPR
    Last edited by HaydnH; 11th June 2019 at 02:29 PM.

  9. #9
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    1,020
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Actually looking at the SweetHome3D script, it actually has it's own java runtime environment & java3d so I'm no wondering if OP downloaded the incorrect version of Sweet Home 3D or did some weird installation steps? It should just be download, extract, run:

    Code:
    #!/bin/sh
    
    # Retrieve Sweet Home 3D directory
    PROGRAM=`readlink "$0"`
    if [ "$PROGRAM" = "" ]; then
      PROGRAM=$0
    fi
    PROGRAM_DIR=`dirname "$PROGRAM"`
    
    # Run Sweet Home 3D
    exec "$PROGRAM_DIR"/jre8/bin/java -Xmx2g -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dcore.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dutils.jar:"$PROGRAM_DIR"/lib/java3d-1.6/vecmath.jar:"$PROGRAM_DIR"/lib/java3d-1.6/gluegen-rt.jar:"$PROGRAM_DIR"/lib/java3d-1.6/jogl-java3d.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib/java3d-1.6 -Djogamp.gluegen.UseTempJarCache=false -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1"
    Code:
    [haydn@darkstar SweetHome3D-6.1.2]$ ./jre8/bin/java -version
    java version "1.8.0_202"
    Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
    Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)

  10. #10
    Join Date
    Jul 2004
    Location
    Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
    Age
    73
    Posts
    23,750
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    BTW, in the site's instructions, the symlink is not correct. It should be:
    sudo ln -s /opt/SweetHome3D/SweetHome3D-6.1.2/SweetHome3D /usr/local/bin/SweetHome3D
    Linux & Beer - That TOTALLY Computes!
    Registered Linux User #362651


    Don't use any of my solutions on working computers or near small children.

  11. #11
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    1,020
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Quote Originally Posted by bob
    BTW, in the site's instructions, the symlink is not correct. It should be:
    They're long winded (and apparently inaccurate) instructions considering you can just unpack and run the launch script! Oh well... next thread.

  12. #12
    Join Date
    Feb 2005
    Location
    London, UK
    Posts
    1,020
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Quote Originally Posted by tashirosgt
    Installing from an rpm fails because it says "java3d" is needed. Is there a fedora package for that?
    AHHHH! The rpm has a dependency so won't install rather than SH3D not running, that explains it! OP, new instructions:

    - Download the 32 or 64 bit linux installer from here (I'll assume 64bit below, change filenames if 32bit): http://www.sweethome3d.com/download.jsp
    - Extract it with: tar xvfz SweetHome3D-6.1.2-linux-x64.tgz
    - Change to the extracted directory: cd SweetHome3D-6.1.2
    - Run it with: ./SweetHome3D

  13. #13
    Join Date
    Aug 2004
    Posts
    4,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Quote Originally Posted by HaydnH
    AHHHH! The rpm has a dependency so won't install rather than SH3D not running, that explains it! OP, new instructions:

    - Download the 32 or 64 bit linux installer from here (I'll assume 64bit below, change filenames if 32bit): http://www.sweethome3d.com/download.jsp
    - Extract it with: tar xvfz SweetHome3D-6.1.2-linux-x64.tgz
    - Change to the extracted directory: cd SweetHome3D-6.1.2
    - Run it with: ./SweetHome3D
    Thank you. That worked to install and run SweetHome3D. However it immediately ceases with an error message pop-up that says:
    SweetHome3D will now exit because of a fatal error in the 3D rendering system of your computer. Please update the DirectX/OpenGL rendering drivers of your computer graphics card.
    "Never let the task you are trying to accomplish distract you from the study of computers."

  14. #14
    Join Date
    Jul 2017
    Location
    IL
    Posts
    645
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Hello tashirosgt.

    you should run the installer again and select the 32 bit architecture option in the screen installer folder.
    copy the file SweetHome3D.l4j.ini in Sweet Home 3D installation folder to run the program with DirectX rather than OpenGL?

    OK HERE IS THE SOLUTION FOR YOUR ISSUE:

    # Place this file in the same directory as SweetHome3D.exe file to always run Sweet Home 3D with DirectX
    -Dj3d.rend=d3d
    -Dsun.java2d.d3d=true
    -Dsun.java2d.noddraw=false
    -Dsun.java2d.ddoffscreen=true
    -Dsun.java2d.ddscale=true
    -Dcom.eteks.sweethome3d.deploymentInformation=Direc tX
    Last edited by FFedora; 12th June 2019 at 06:54 PM.
    FFedora

    fedoraforum.org-Wallpapers
    https://forums.fedoraforum.org/group.php?discussionid=304&do=discuss

  15. #15
    Join Date
    Dec 2008
    Location
    always where I have to be
    Posts
    1,198
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SweetHome3D package for Fedora?

    Quote Originally Posted by tashirosgt
    Thank you. That worked to install and run SweetHome3D. However it immediately ceases with an error message pop-up that says:
    Well, I don't use the app, but if you downloaded the 32 bit version, it's possible you don't have 32 bit libs in place, probably the Mesa ones. By default, 64 bit system should be able to run 64bit apps with OpenGL acceleration on Fedora, as the required libs are in place. Whether it's technically working is another matter, depending if you use Nouveau or Nvidia drivers for Nvidia cards or the AMD nightmarish stack. Intel mostly works, but depending on the generation, some features are missing, mesa version may be high, but required drivers for specific generations simply lack some of the mesa features, mostly extensions or of course Vulkan support.


    Hello tashirosgt.

    you should run the installer again and select the 32 bit architecture option in the screen installer folder.
    copy the file SweetHome3D.l4j.ini in Sweet Home 3D installation folder to run the program with DirectX rather than OpenGL?

    OK HERE IS THE SOLUTION FOR YOUR ISSUE:

    # Place this file in the same directory as SweetHome3D.exe file to always run Sweet Home 3D with DirectX
    -Dj3d.rend=d3d
    -Dsun.java2d.d3d=true
    -Dsun.java2d.noddraw=false
    -Dsun.java2d.ddoffscreen=true
    -Dsun.java2d.ddscale=true
    -Dcom.eteks.sweethome3d.deploymentInformation=Direc tX

    Last edited by FFedora; Today at 07:53 PM.
    How would that work in the first place? This is linux, not Windows.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 11th October 2011, 08:10 AM
  2. Replies: 0
    Last Post: 23rd November 2009, 11:15 PM
  3. how to add customized rpm package in kickcstart's %package ,not in the %post
    By liqin in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 30th June 2008, 02:52 PM
  4. FC6 fails during package installation ~or~ package dependency check
    By Lord Kage in forum EOL (End Of Life) Versions
    Replies: 0
    Last Post: 29th April 2007, 06:37 AM
  5. Replies: 10
    Last Post: 4th April 2006, 03:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •