SetupForLinux_EN - CCSEPBVR/CS-IS-PBVR GitHub Wiki

Setting up for Linux environment

Installing the Compiler

When setting up CS/IS-PBVR in Linux environment, gcc (g++) and make are used. If you do not have the compiler installed, execute the following command in the terminal to install it.

sudo apt install build-essential

Install FBXSDK (optional)

If you want to visualize .fbx format files in a client program, you need to install FBXSDK library. The steps are shown below.

  • Select Download SDK for Linux from the Website to download and extract the fbx2XXXXX_fbxsdk_gcc_linux.tar.gz.
  • Run the fbx2XXXXX_fbxsdk_linux from the terminal.
    ./fbx202037_fbxsdk_linux
    Please confirm[y/n] ? y
    Type "yes" to agree and continue the installation. Agree [yes/no] ? yes
    Do you want to read the ReadMd file [y/n] ? y
    

Install Assim (optional)

If you want to visualize .3ds format files in a client program, you need to install the Assimp library. The steps are shown below.

  • Download and extract the source code from the Website.
  • In the terminal, navigate to assimp-5.0.0/ and execute the following commands:
    cmake -DCMAKE_BUILD_TYPE=Release -DASSIMP_BUILD_ZLIB=on -DBUILD_SHARED_LIBS=off CMakeLists.txt
    make -j 16
    

After the build is completed, check that libassimp.a, libIrXML.a, and libzlibstatic.a are generated in assimp-5.0.0/lib.

Installing Qt & QtCreator

Download and run the installer for the open source version of Qt from the Qt official Website. Select the directory where you want to install Qt, check Custom Install, and check the following components on the component selection screen.

  • Qt 6.2.4 > Desktop gcc 64-bit
  • Qt 6.2.4 > Qt Debug Information Files
  • Developer and Designer Tools > Qt Creator
  • Developer and Designer Tools > Qt Creator Debug Symbols
  • Developer and Designer Tools > Qt Creator Plugin Development
  • Developer and Designer Tools > CMake
  • Developer and Designer Tools > Ninja 1.12.0

Local Image

After selecting the component, proceed with the permission permission and shortcut registration settings to start the installation. After the installation is completed, add the following command to "~/.bashrc".

export PATH=/home/UserName/Qt/6.2.4/gcc_64/bin:$PATH
⚠️ **GitHub.com Fallback** ⚠️