Hi folks,
I'm trying to troubleshoot a build problem where, when I first time run "cmake
.." it fails to find a resource file, when I run "make" it builds the resource
files but fails later on, now when I try to run "cmake .." again it succeeds.
After this point everything runs fine and it
nit tests in its project?
If no executable linked to the ilb you won't discover the link error until you
try to link something to the lib.
This is a kind wild guess, don't take it personally :-)
Le mer. 15 août 2018 à 16:21, Damir Porobic
mailto:damir_poro...@live.com>> a écrit :
Thanks for th
Hi Folks,
I'm trying to write a shared library and run into an issue where I can't find
any clues to where the problem is.
I have a project with following structure:
src/
dir1/
file1.h
file1.cpp
dir2/
file2.h
file2.cpp
Now I have this
Hi all,
As the subject line says, what would be the best approach to share a custom
Widget with cmake? I have written a custom Qt Widget that I would like to be
able to use in other projects.
Would that be a shared library? Or is there another approach?
Thanks in advance!
Best regards,
From: Eric Noulard
Sent: Sunday, August 19, 2018 22:44
To: Damir Porobic
Cc: smanc...@jlab.org; CMake Mailinglist
Subject: Re: [CMake] Problem with creating shared library
Hi Damir,
May be the issue has nothing to do with the way you build the exported
<>Config.cmake files.
Since may be some na
about this one:
auto kImageAnnotator = new KImageAnnotator(pixmap);
kImageAnnotator->show();
kImageAnnotator->testMethod();
From: Sebastián Mancilla
Sent: Thursday, August 23, 2018 22:13
To: Damir Porobic
Cc: cmake@cmake.org
Subject: Re: [CMake] Problem wit
hen I manually create a link to the installed file:
$ sudo ln -s /usr/local/lib64/libkImageAnnotator.so
/usr/local/lib64/libkImageAnnotator.so.0.0.1
Everything finally works, but I need to fix this final issue with the missing
link. This was working earlier I think.
___
MAKE_CURRENT_LIST_DIR}/FooTargets.cmake")
endif()
All this is pretty much the same for any project. Here are the best links
explaining it:
https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/
http://unclejimbo.github.io/2018/06/08/Modern-CMake-for-Library-Developers/
El
)
target_link_libraries(testApp kImageAnnotator)
Am I missing something again?
From: Sebastián Mancilla
Sent: Wednesday, August 22, 2018 00:51
To: Eric Noulard
Cc: Damir Porobic; cmake@cmake.org
Subject: Re: [CMake] Problem with creating shared library
I fixed
)
Manually creating a link seems to fix the issue, but I guess there is a way to
let cmake generate it.
Any idea?
From: Damir Porobic
Sent: Sunday, August 26, 2018 13:50
To: Sebastián Mancilla
Cc: cmake@cmake.org
Subject: Re: [CMake] Problem with creating shared
10 matches
Mail list logo