Kirjoittaja Aihe: Kuinka http://www.luxmark.info käännetään ?  (Luettu 1179 kertaa)

kamara

  • Käyttäjä
  • Viestejä: 2944
    • Profiili
Melkein osasin kääntää, mutta en ihan ...
Täältä hain softan http://www.luxmark.info/

Asensin qt4-paketteja epämääräisen määrän ja cmaken.

Onnistuin suorittamaan cmake:n herjaamatta.

... mutta mitä sitten...

Koodia: [Valitse]
~/Lataukset/LuxMarkMaster/2/LuxMark-master/src$ cmake .
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.7", minimum required is "4.6.0")
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.10)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/sami/Lataukset/LuxMarkMaster/2/LuxMark-master/src

Seuraavaksi arvasin, että pitää ajaa make, mutta se ajautuu virheilmoitukseen ...

Koodia: [Valitse]
$ make all
[  2%] Generating moc_submitdialog.cxx
[  5%] Generating ui_aboutdialog.h
[  8%] Generating ui_mainwindow.h
[ 11%] Generating ui_luxvrdialog.h
[ 14%] Generating ui_resultdialog.h
[ 17%] Generating ui_submitdialog.h
[ 20%] Generating qrc_resources.cxx
[ 23%] Generating moc_aboutdialog.cxx
[ 26%] Generating moc_mainwindow.cxx
[ 29%] Generating moc_hardwaretree.cxx
[ 32%] Generating moc_luxmarkapp.cxx
[ 35%] Generating moc_luxvrdialog.cxx
[ 38%] Generating moc_resultdialog.cxx
Scanning dependencies of target luxmark
[ 41%] Building CXX object CMakeFiles/luxmark.dir/aboutdialog.o
[ 44%] Building CXX object CMakeFiles/luxmark.dir/hardwaretree.o
/home/sami/Lataukset/LuxMarkMaster/2/LuxMark-master/src/hardwaretree.cpp:26:10: fatal error: luxrays/core/oclintersectiondevice.h: Tiedostoa tai hakemistoa ei ole
 #include "luxrays/core/oclintersectiondevice.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/luxmark.dir/build.make:149: recipe for target 'CMakeFiles/luxmark.dir/hardwaretree.o' failed
make[2]: *** [CMakeFiles/luxmark.dir/hardwaretree.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/luxmark.dir/all' failed
make[1]: *** [CMakeFiles/luxmark.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Tietenkin, jos löytyy jostain suoraan binääri amd64:lle, niin sekin kelpaa...

nm

  • Käyttäjä
  • Viestejä: 16232
    • Profiili
Vs: Kuinka http://www.luxmark.info käännetään ?
« Vastaus #1 : 18.03.19 - klo:17.08 »
Ehkä Phoronix Test Suiten kautta asentuisi helpommin: https://linuxconfig.org/how-to-benchmark-your-linux-system#h10-3-luxmark


Lisäys: Niin ja tarjoaahan Luxmark-projekti itsekin valmiit 64-bittiset binäärit myös Linuxille:
https://github.com/LuxCoreRender/LuxMark/releases
« Viimeksi muokattu: 18.03.19 - klo:17.11 kirjoittanut nm »

kamara

  • Käyttäjä
  • Viestejä: 2944
    • Profiili
Vs: Kuinka http://www.luxmark.info käännetään ?
« Vastaus #2 : 18.03.19 - klo:17.29 »
Jaahas...
Sain sen verran solmuun koneeni, että en taida jaksaa säätää enempää...

Kiitokset vain avusta, mutta en tällä kertaa saa sitä toimimaan, eikä se ole välttämätöntäkään.