Re: Need assistance to build LuxCoreRender

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On vendredi 2 novembre 2018 21:34:01 CET Luya Tshimbalanga wrote:
> Thanks for the pointers. The build encountered an issue due to the use
> of boost-static (for some strange reason, boost-devel will not be
> detected). I put the SRPM in COPR for testing:
> https://copr-be.cloud.fedoraproject.org/results/luya/LuxCoreRender/fedora-29
> -x86_64/00818528-LuxCoreRender/
> 
> including the SPEC file. Suggestion welcome.
> 
> 
> Luya

As explained in my previous mail this is solved by passing  -DPYTHON_V=3 to 
cmake. Actually %{python3_pkgversion} would be better:

 - Use BuildRequires:  boost-devel instead of static and add the PYTHON_V=%
{python3_pkgversion} variable as a cmake parameter. It will now detect Boost 
correctly

%cmake \
    -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \
    -DCMAKE_CXX_FLAGS="$CXXFLAGS -DLUXRAYS_DISABLE_OPENCL=0" \
    -DPYTHON_V=%{python3_pkgversion}

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux