Page 1 of 1

linux compile error

Posted: Thu Jun 17, 2021 8:47 am
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?

Re: linux compile error

Posted: Thu Jun 17, 2021 8:55 am
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?

Re: linux compile error

Posted: Thu Jun 17, 2021 9:18 am
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) ?

Re: linux compile error

Posted: Thu Jun 17, 2021 9:33 am
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

Re: linux compile error

Posted: Mon Jun 21, 2021 7:39 am
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'

Re: linux compile error

Posted: Mon Jun 21, 2021 9:07 am
by BruceXu
ok,I've solved the problem.
Use the following metho,remove the libwebp-dev:
https://github.com/LuxCoreRender/LinuxCompile/issues/1