Announcement

Collapse
No announcement yet.

Is there anyone about that can help me compile a program?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there anyone about that can help me compile a program?

    A very vague question, I know. But I'm at my wits end and could really do with some help.

    The back story is this:
    I am running Kubuntu 24.04LTS (Info Center | About at the end) and I want to run a 3D Slicing Program (Bambu Studio).
    However, the two available packages (AppImage & Flatpak) are performing abysmally (taking over 60seconds to load).
    I don't think that it is the program or packaging problem because I do not see this behavior on a new 24.04 VM. Thus my suspicion is the configuration on my workstation.

    So in an attempt to debug the problem, the first step (after asking the authors for help!) is to simplify. So I would like to compile the application from the provided source code.
    But herein is my lack of knowledge showing up.

    Problem One.
    The Linux Compile Guide starts with this advice:

    Install Following tools before building:

    sudo apt-get install cmake clang git g++ build-essential libgl1-mesa-dev m4 libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules pkgconf libglu1-mesa-dev libcairo2-dev libgtk-3-dev libsoup2.4-dev libwebkit2gtk-4.0-dev libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-bad libosmesa6-dev nasm yasm libx264-dev

    gstreamer1.0-plugins-bad will provide the h264 decoder in gstreamer for liveview​


    ​Now as I understand it 24.04 uses libwebkit2gtk-4.1-dev and can't run alongside libwebkit2gtk-4.0-dev. How do I get past this point?

    Regards, Martin

    Operating System: Kubuntu 24.04
    KDE Plasma Version: 5.27.12
    KDE Frameworks Version: 5.115.0
    Qt Version: 5.15.13
    Kernel Version: 6.14.0-36-generic (64-bit)
    Graphics Platform: X11
    Processors: 32 × 13th Gen Intel® Core™ i9-13900
    Memory: 31.1 GiB of RAM
    Graphics Processor: Mesa Intel® Graphics
    Manufacturer: ASUS​

    #2
    Welcome to KFN.

    See https://forum.bambulab.com/t/bambu-s...-linux/78092/7 for a possible solution.
    Windows no longer obstruct my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Thank you very much for the suggestion.
      However, unfortunately that doesn't hep.
      I think the AppImage and the Flatpak built for 24.04 ARE built with libwebkit2gtk-4.1-dev dependency.

      It is the source code and the instructions to compile that are still stuck at libwebkit2gtk-4.0-dev. ... and no one is fixing them!

      Regards, M.
      PS - New to this forum. Should I get an email when I get a reply to a post. I have had a hunt about but cant find a subscribe button.

      Comment


        #4
        When you have a minimum of three posts you will have access to your Profile and User Settings. In User Settings > NOTIFICATIONS turn Email Notifications On.
        Windows no longer obstruct my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          So, have you tried just using libwebkit2gtk-4.1-dev?

          The docs probably just weren't fully updated or missed this version bump in 24.04.

          There might be others in the list that also be similarly outdated, but most -dev packages if you notice here don't have overly specific version numbers.​

          Comment


            #6
            Also, if you read the install docs, you can use their build script in the downloaded sources for the current release/ It has a switch to install the deps. Which does pull in the libwebkit2gtk-4.1-dev package, as well as some others not mention in the list in the docs.

            The build command will build a binary as well las an appimage. if you don't want the appimage, just leave off the "i"

            https://github.com/bambulab/BambuStu...ntu-and-fedora

            Once you do this sort of thing, you will find that docs are not always up to date.


            Also, building from source will be a B**ch. There will be errors everywhere, and their github issues tracker will be unhelpful, as far as I can tell so far.
            Ubuntu 24.04 has a cmake version that is too old, or rather the script thinks it is too old (it isn't).

            I have given up on this one.


            .......until I remembered that I am running KDE neon, which just happens to upgrade cmake, and confuses the install script.
            Going to my Kubuntu 24.04 PC, the build script is working. It is building.

            If it complains about not enough ram, add an "r" to skip the ram check, my ~10 Gb free was not enough on my main PC.
            Last edited by claydoh; Yesterday, 08:17 PM.

            Comment


              #7
              Annnnnd it is still building, at step 327 of 609. But it is on an i5-7500T (35 -watt version) with 4 cores.

              But this does mean that using the build script to install; the dependencies and build this should work.

              Comment

              Users Viewing This Topic

              Collapse

              There are 0 users viewing this topic.

              Working...
              X