Re: Can someone confirm?

Leon Pollak <[email protected]> Fri, 10 Apr 2020 17:33:12 +0300
Newsgroups gmane.comp.kde.users.kdevelop
Message-ID <[email protected]>
Sorry, in the last mail typo error - the lust
sentence sould look like:

"Just to be sure - I removed the BuildA8/debug
directory from the project configuration

and placed all back in directory

/Projects/CSU/BuildBdg - again everything returned to work!!

The conclusion:

build directory defined as inside another directory in the
project causes the problem.

On 10/04/2020 17:11, Leon Pollak wrote:

Hello, all.

The update on the problem:

I recreated all the project from the beginning from my
CMakeLists.txt.

I followed the defaults steps as suggested - everything is OK!

Clicking on the error line in the build tab brings my source file
as required!

Now, I changed back to my build tree as it was in the old
configuration:

/Projects/CSU/BuildA8/debug

and now it stops working - clicking on the error brings empty file
with the path:

/Projects/src/ instead of /Projects/CSU/src/.

Just to be sure - I removed the BuildA8/debug directory from the
project configuration and placed all back in directory

/Projects/BuildBdg - again everything returned to work!!

Any comments will be highly appreciated.

On 07/04/2020 13:43, Leon Pollak
wrote:

As René advised I copied file name in the tab of the empty file
and was surprised.

My project tree is as following:

/Projects/CSU/src/ - here reside all files, part here, part in
subdirectories.

For example, the file I test now is in
/Projects/CSU/src/Units/UNIT_IDE.cpp

When I copy its name with right-click on the empty file tab
named UNIT_IDE.cpp

I receive the name /Projects/src/Units/UNIT_IDE.cpp.

As for the build directory, it resides (and always was there) in

/Projects/CSU/BuildA8/debug

Now, I picked up a project copy from December - everything works
fine.

Comparison of two trees gave me (new-old):

- ninja-build instead of gmake+ccmake

- CMAKE_GENERATOR:INTERNAL=Ninja instead of "Unix Makefiles"

Does all this make any sense to my problem?

--

--
Leon

--
Leon