buserror / simreprap

emulates en entire reprap 3D printer running a Marlin firmware binary, renders it in opengl
36 stars 13 forks source link

Build error "libc3.so.0 cannot open shared object file" #5

Open klabarge opened 6 years ago

klabarge commented 6 years ago

Running make and executing reprap.elf on Ubuntu 14.04 results in the below error. It appears there's something missing in the make script.

libc3.so.0 cannot open shared object file: no such file or directory.

This can be circumvented by building with make -I shared/libc3/

Here are full steps for compiling and executing simreprap:

  1. Install Dependencies

    sudo apt-get install libdevil-dev libtool-bin libtool libfontconfig1-dev clang libelf-dev freeglut3 freeglut3-dev gcc-avr avr-libc gcc make git libcairo2-dev
    
  2. Clone repository

    git clone https://github.com/buserror/simreprap
  3. Compile

    cd simreprap
    make -I shared/libc3/
  4. Run

    obj-x86_64-linux-gnu/reprap.elf