WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can I launch Blender  (Read 9161 times)

Offline blackfox1

  • Newbie
  • *
  • Posts: 6
Can I launch Blender
« on: September 26, 2017, 08:08:03 AM »
I unpack archive and write at terminal: blender. Terminal returns: command not found.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11514
Re: Can I launch Blender
« Reply #1 on: September 26, 2017, 08:24:37 AM »
Hi blackfox1
I take it you are in the directory you unpacked the archive in. Try:
Code: [Select]
./blender

Offline blackfox1

  • Newbie
  • *
  • Posts: 6
Re: Can I launch Blender
« Reply #2 on: September 27, 2017, 04:14:23 AM »
Nothing. I make "cd" before execute. "run" command from menu also ignores blender(elf). I don`t try other files,but think that result will be same..... And there is also no "wifi" option in Corepure menu, that was in TCL...... (TCL ignores blender too)
P.S. As I a can see Tiny Core is dream-os and os of the future :))) There are no analogs now, so I want it very much...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11514
Re: Can I launch Blender
« Reply #3 on: September 27, 2017, 09:31:22 AM »
Hi blackfox1
Nothing. I make "cd" before execute.
What do you mean "nothing"? After you entered  ./blender  what was the exact response?

Offline blackfox1

  • Newbie
  • *
  • Posts: 6
Re: Can I launch Blender
« Reply #4 on: September 27, 2017, 09:33:37 AM »
./blender not found :(((, as I can remember now

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11514
Re: Can I launch Blender
« Reply #5 on: September 27, 2017, 09:39:34 AM »
Hi blackfox1
Then it's in that directory. Maybe check if it's in a subdirectory and try from there.

Offline blackfox1

  • Newbie
  • *
  • Posts: 6
Re: Can I launch Blender
« Reply #6 on: September 27, 2017, 10:14:47 AM »
I try to launch it some times before, by 2 linuxes.
First Porteus: All ok.
Second: Lighthouse puppy: I think, the same story like there (I cannot find solution(I don`t try to find it))
Maybe something about hardware................................
I will try today another computer...

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14755
Re: Can I launch Blender
« Reply #7 on: September 27, 2017, 11:51:22 AM »
Is blender a script or a binary?

If it's a binary, is it looking for the loader in /lib64?

If it's a script, is it looking for bash or for perl/python in /usr/bin?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: Can I launch Blender
« Reply #8 on: September 28, 2017, 02:46:46 AM »
It's a binary.
I've tried to list out the possible dependencies, but no luck.
Here's what I've found out so far ...
Code: [Select]
tc@box:~$ tce-load -i expat2.tcz libGL.tcz libXi.tcz libXrender.tcz glu.tcz
tc@box:/tmp/blender-2.79-linux-glibc219-x86_64$ ./blender
/home/sources/blender-release/intern/ghost/intern/GHOST_WindowX11.cpp:198: X11 glXQueryVersion() failed, verify working openGL system!
initial window could not find the GLX extension
Writing: /tmp/blender.crash.txt
Segmentation fault
tc@box:/tmp/blender-2.79-linux-glibc219-x86_64$ cat /tmp/blender.crash.txt
# Blender 2.79 (sub 0), Commit date: 2017-09-11 10:43, Hash 5bd8ac9abfa

# backtrace
./blender(BLI_system_backtrace+0x20) [0x1a6c8e0]
./blender() [0x107a525]
/lib/libc.so.6(+0x2fbf0) [0x7f435f72ebf0]
./blender(GHOST_GetDPIHint+0) [0x1a85b10]
./blender(WM_window_set_dpi+0x12) [0x1099022]
./blender(ED_screen_refresh+0xc1) [0x1361201]
./blender(ED_screens_initialize+0x2b) [0x136183b]
./blender(WM_check+0x68) [0x107ae08]
./blender(wm_homefile_read+0x261) [0x1087b01]
./blender(WM_init+0xf1) [0x108a0e1]
./blender(main+0x264) [0x1018a44]
/lib/libc.so.6(__libc_start_main+0x15a) [0x7f435f71fe9e]
./blender() [0x107747e]

Then, I tried to compile from source ...
Code: [Select]
mkdir build
cd build
cmake .. -DPYTHON_INCLUDE_DIR=/usr/local/include/python2.7 -DPYTHON_LIBRARY=/usr/local/lib/libpython2.7.so
...
-- Could NOT find OpenImageIO (missing:  OPENIMAGEIO_LIBRARY OPENIMAGEIO_INCLUDE_DIR)
-- OpenImageIO not found, disabling WITH_CYCLES
CMake Error at CMakeLists.txt:870 (message):
  Cycles requires WITH_OPENIMAGEIO, the library may not have been found.
  Configure OIIO or disable WITH_CYCLES
...
The deps I used so far
Code: [Select]
compiletc
cmake
git
boost-dev
openal-dev
python-dev

OpenImageIO, we don't have such library.  :(

Offline blackfox1

  • Newbie
  • *
  • Posts: 6
Re: Can I launch Blender
« Reply #9 on: September 28, 2017, 05:30:18 AM »
There must be someone who use Blender by TCl. Really..... or not...?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14755
Re: Can I launch Blender
« Reply #10 on: September 28, 2017, 12:25:31 PM »
Ref:
Code: [Select]
..could not find the GLX extension..
..did you have the graphics-KERNEL and Xorg-7.7-3d extensions loaded before "startx"

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: Can I launch Blender
« Reply #11 on: September 28, 2017, 10:49:31 PM »
Ref:
Code: [Select]
..could not find the GLX extension..
..did you have the graphics-KERNEL and Xorg-7.7-3d extensions loaded before "startx"

Yes for Xorg-7.7-3d, no for graphics-KERNEL.
After loading graphics-KERNEL, the binary blender has launched.

However, the lack of OpenImageIO library could become a problem for the users.

@blackfox1, try it out  :)
Code: [Select]
tce-load -i expat2.tcz libGL.tcz libXi.tcz libXrender.tcz glu.tcz python graphics-KERNEL Xorg-7.7-3d
« Last Edit: September 28, 2017, 10:51:31 PM by polikuo »

Offline blackfox1

  • Newbie
  • *
  • Posts: 6
Re: Can I launch Blender
« Reply #12 on: September 29, 2017, 03:33:37 AM »
Sorry, I`m newbee in linuxex, and just second day at TCL. So tell me please how I can use these Xorg/gr-kernel...

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: Can I launch Blender
« Reply #13 on: October 05, 2017, 04:09:27 AM »
I've figured out the missing dependencies.  :)

You need flash for this. (getFlash.tcz)

Test environment: TC 8.2, 64-bit, boot with "base".

Dependencies:
Code: [Select]
flash.tcz
glu.tcz
graphics-KERNEL.tcz
Xorg-7.7-3d.tcz
expat2.tcz
libGL.tcz
libXi.tcz
libXrender.tcz

Note that the official blender executable package (blender-2.79-linux-glibc219-x86_64.tar.bz2) comes with a "libGLU.so.1".
You can link the lib to your file system if you want to omit "glu.tcz" from the list above.

Recommended extras:
Code: [Select]
aterm.tcz
openbox-config.tcz
mylocale.tcz
« Last Edit: October 05, 2017, 04:11:47 AM by polikuo »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 719
Re: Can I launch Blender
« Reply #14 on: January 24, 2022, 07:14:02 AM »
didn't want to start a new thread so just dropping this link here:

https://tech.slashdot.org/story/22/01/23/0026257/blender-30-released-with-more-new-features-and-improvements

sharing is caring
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580