linux compile error

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
BruceXu
Posts: 35
Joined: Wed Apr 15, 2020 7:16 am

linux compile error

Post by BruceXu »

mv: cannot stat 'libOpenImageIO.a': No such file or directory
!!! openimageio installation failed

---------------------
Do I need to download a libOpenImageIO.a file separately?
User avatar
TAO
Developer
Developer
Posts: 851
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: linux compile error

Post by TAO »

I think the static openimageio has been used in the current build and you do not need to do anything about it except download and build the project with all dependencies that are required on the platform you work on and that should be all.
Perhaps you missed a part in downloading and setting up Linux dependencies during the build time.
Which version you are using for it?
Last edited by TAO on Thu Jun 17, 2021 9:25 am, edited 1 time in total.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: linux compile error

Post by Dade »

BruceXu wrote: Thu Jun 17, 2021 8:47 am mv: cannot stat 'libOpenImageIO.a': No such file or directory
!!! openimageio installation failed

---------------------
Do I need to download a libOpenImageIO.a file separately?
Are you following the procedure described here (https://github.com/LuxCoreRender/LinuxCompile) ?
Support LuxCoreRender project with salts and bounties
BruceXu
Posts: 35
Joined: Wed Apr 15, 2020 7:16 am

Re: linux compile error

Post by BruceXu »

Dade wrote: Thu Jun 17, 2021 9:18 am
BruceXu wrote: Thu Jun 17, 2021 8:47 am mv: cannot stat 'libOpenImageIO.a': No such file or directory
!!! openimageio installation failed

---------------------
Do I need to download a libOpenImageIO.a file separately?
Are you following the procedure described here (https://github.com/LuxCoreRender/LinuxCompile) ?
Thank you for your reply

1. I want to compile C on Linux, but because of the network problem, I can only download the B file manually
2. Comment out the following code
#if [ $? != 0 ] ; then
# echo " * Resume downloading $FILE"
# wget -c -O $DIST/$FILE $URL
#
# verify_hash $HASH "$DIST/$FILE"
# if [ $? != 0 ] ; then
# echo " !!! Hash mismatch for $FILE"
# exit 1
# fi
#fi
3. Then run. / first_ run.sh
BruceXu
Posts: 35
Joined: Wed Apr 15, 2020 7:16 am

Re: linux compile error

Post by BruceXu »

Dade wrote: Thu Jun 17, 2021 9:18 am
BruceXu wrote: Thu Jun 17, 2021 8:47 am mv: cannot stat 'libOpenImageIO.a': No such file or directory
!!! openimageio installation failed

---------------------
Do I need to download a libOpenImageIO.a file separately?
Are you following the procedure described here (https://github.com/LuxCoreRender/LinuxCompile) ?
e, i am back
I've had some more problems:

LinuxCompile-master/target-64-sse2/lib/libOpenImageIOBase.a(webpinput.cpp.o): In function `OpenImageIO_v2_2::webp_pvt::WebpInput::close()':
webpinput.cpp:(.text+0x16): undefined reference to `WebPDemuxReleaseIterator'
webpinput.cpp:(.text+0x22): undefined reference to `WebPDemuxDelete'
BruceXu
Posts: 35
Joined: Wed Apr 15, 2020 7:16 am

Re: linux compile error

Post by BruceXu »

ok,I've solved the problem.
Use the following metho,remove the libwebp-dev:
https://github.com/LuxCoreRender/LinuxCompile/issues/1
Post Reply