magiblot / turbo

An experimental text editor based on Scintilla and Turbo Vision.
Other
442 stars 35 forks source link

install TARGETS given target "fmt" which does not exist. #55

Closed dodona2 closed 7 months ago

dodona2 commented 1 year ago

Result of cmake . -DCMAKE_BUILD_TYPE=Release Status: R

CMake Error at deps/CMakeLists.txt:24 (add_subdirectory): The source directory

/usr/local/src/sdm/turbo/trunk/deps/fmt

does not contain a CMakeLists.txt file. Call Stack (most recent call first): CMakeLists.txt:81 (include)

CMake Error at deps/CMakeLists.txt:34 (add_subdirectory): The source directory

/usr/local/src/sdm/turbo/trunk/deps/tvision

Call Stack (most recent call first): CMakeLists.txt:81 (include)

CMake Error at deps/CMakeLists.txt:34 (add_subdirectory): The source directory

/usr/local/src/sdm/turbo/trunk/deps/tvision

does not contain a CMakeLists.txt file. Call Stack (most recent call first): CMakeLists.txt:81 (include)

CMake Error at CMakeLists.txt:110 (install): install TARGETS given target "fmt" which does not exist.

-- Configuring incomplete, errors occurred!

does not contain a CMakeLists.txt file.

magiblot commented 1 year ago

Hi @dodona2!

It looks like your clone of Turbo does not contain the submodules, hence the error.

If you cloned Turbo manually, then this should be enough:

cd /usr/local/src/sdm/turbo/trunk
git submodule init
git submodule update

If you downloaded Turbo through a package manager, then you should report this issue to the package maintainer.