Portál AbcLinuxu, 4. května 2025 20:52

Dotaz: cmake "You must set a binary directory that is different from your source directory."

16.4.2019 19:19 debian+
cmake "You must set a binary directory that is different from your source directory."
Přečteno: 302×
Odpovědět | Admin
Prekladam stk-code git verzia a vzdy mi hadze:
-- Configuring WiiUse version 0.15.4
CMake Error at lib/wiiuse/cmake/cmake-4.0.0-modules/RequireOutOfSourceBuild.cmake:41 (message):
  You must set a binary directory that is different from your source
  directory.  You might consider /home/dusan/src/stk-code/build or
  /home/dusan/src/build-SuperTuxKart
Call Stack (most recent call first):
  lib/wiiuse/cmake/cmake-4.0.0-modules/autoinclude.cmake:13 (include)
  lib/wiiuse/cmake/UseBackportedModules.cmake:92 (include)
  lib/wiiuse/CMakeLists.txt:38 (include)
Skusam parametre pre CMAKE, skusam preklad v build a furt ta chyba. Neviete, ako to je spravne?

Řešení dotazu:


Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

Řešení 1× (ZAH)
16.4.2019 19:51 Andrej | skóre: 51 | blog: Republic of Mordor
Rozbalit Rozbalit vše Re: cmake "You must set a binary directory that is different from your source directory."
Odpovědět | | Sbalit | Link | Blokovat | Admin

Nemáš to rozbité? Mně se tohle normálně přeloží, klasický CMake.

mkdir stk-assets
git clone git@github.com:supertuxkart/stk-code.git
cd stk-code
mkdir build
cd build
cmake ..
make -j

Ke spuštění bin/supertuxkart je pak potřeba dát něco rozumného do stk-assets; build systém jenom kontroluje, jestli ten adresář existuje, takže se mu dá podstrčit prázdný.

16.4.2019 20:46 debian+
Rozbalit Rozbalit vše Re: cmake "You must set a binary directory that is different from your source directory."
Necital som dokumentaciu a ze to musi byt v priecinku stk-assets. Problem vyriesieny.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.