Skip to content

Compiling for first time... #5

Description

@JJones780

I just gave it a quick try at compiling ..
with updates

Here's my experience thus far:

cmake --workflow --preset="clang-release"
gave me an error "The CMAKE_CXX_COMPILER: clang++ is not a full path and was not found in the PATH."

I had to use
`cmake -G "Kate - Ninja" -D CMAKE_C_COMPILER="gcc" -D CMAKE_CXX_COMPILER="g++" --preset="clang-release"

which got me going to where I'm installing missing dependencies:

qtwebengine5-dev
libkf5texteditor-dev
libkf5parts-dev
libboost-system-dev
libboost-thread-dev
kdevelop-dev     

I also had to install chrpath
sudo apt install chrpath
as I was being told:

target requires changing an RPATH from the
build tree, but this is not supported with the Ninja generator unless on an
ELF-based or XCOFF-based platform.

I've edited this to clean it up a bit after trying again from scratch ( and corrected instead of working around the rpath error ).

next issue:
The "workflow" argument is not understood by my cmake version 3.26.4 despite the argument being introduced in 3.25?

In my sleep-deprived delirium I had originally misread the "build" files as "built" files... so have to manually do the workflow steps if I can't upgrade to a cmake that has workflow.

Manually:

cd build/clang-release
ninja

running into more requirements ( spdlog )
but now out of time.
... to be continued...

Also, I see you have a link in the git to your local directory structure:
kdevcxx_with_ai_settings -> /home/artur/.config/kdevcxx_with_ai

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions