error compiling 3.4.2
Derek Tombrello
RebelTaz at RobotsAndComputers.com
Sun Dec 5 03:25:41 GMT 2021
lol... you know. It seems like I am always the one to have trouble and
it's usually the most bizarre.
I made the change to the CMakeFiles.txt file and.... I got further. This
time it went to 74% before failing:
> [ 76%] Linking CXX executable cuecattest
> [ 76%] Built target cuecattest
> Scanning dependencies of target collectiontest_autogen
> [ 76%] Automatic MOC and RCC for target collectiontest
> [ 76%] Built target collectiontest_autogen
> Scanning dependencies of target collectiontest
> [ 76%] Building CXX object
> src/tests/CMakeFiles/collectiontest.dir/collectiontest.cpp.o
> /home/derek/Downloads/tellico-3.4.2/src/tests/collectiontest.cpp:45:10:
> fatal error: QRandomGenerator: No such file or directory
> #include <QRandomGenerator>
> ^~~~~~~~~~~~~~~~~~
> compilation terminated.
> src/tests/CMakeFiles/collectiontest.dir/build.make:62: recipe for
> target 'src/tests/CMakeFiles/collectiontest.dir/collectiontest.cpp.o'
> failed
> make[2]: ***
> [src/tests/CMakeFiles/collectiontest.dir/collectiontest.cpp.o] Error 1
> CMakeFiles/Makefile2:3354: recipe for target
> 'src/tests/CMakeFiles/collectiontest.dir/all' failed
> make[1]: *** [src/tests/CMakeFiles/collectiontest.dir/all] Error 2
> Makefile:140: recipe for target 'all' failed
> make: *** [all] Error 2
So I added the bypass parameter to the cmake command and that seems to
have done the trick. I was able to complete the compile and install
without any further issues. As always, thank you not only for your help,
but also for such a wonderful program!
✞ Derek Tombrello (KM4JAG)
www.RobotsAndComputers.com <www.RobotsAndComputers.com>
/"First they came for the Communists, but I was not a Communist so I did
not speak out.
Then they came for the Socialists and the Trade Unionists, but I was
neither, so I did not speak out.
Then they came for the Jews, but I was not a Jew so I did not speak out.
And when they came for me, there was no one left to speak out for me."
/
On 12/4/21 8:36 PM, Robby Stephenson wrote:
>
>> On Thu, Dec 2, 2021 at 10:29 PM Derek Tombrello
>> <RebelTaz at robotsandcomputers.com
>> <mailto:RebelTaz at robotsandcomputers.com>> wrote:
>>
>> Well... that got us further...
>>
>>> Scanning dependencies of target newstufftest_autogen
>>> [ 63%] Automatic MOC and RCC for target newstufftest
>>> [ 63%] Built target newstufftest_autogen
>>> Scanning dependencies of target newstufftest
>>> [ 63%] Building CXX object
>>> src/tests/CMakeFiles/newstufftest.dir/newstufftest.cpp.o
>>> /home/derek/Downloads/tellico-3.4.2/src/tests/newstufftest.cpp:31:10:
>>> fatal error: QDBusConnection: No such file or directory
>>> #include <QDBusConnection>
>>> ^~~~~~~~~~~~~~~~~
>>> compilation terminated.
>>
>
> Trying to think through what might be missing - do you mind editing
> the src/tests/CMakeFiles.txt file? Down around line 78, if you change
> LINK_LIBRARIES Qt5::Test newstuff config
> to
> LINK_LIBRARIES Qt5::Test Qt5::DBus newstuff config
>
> Does that help? Or since this seems to be a problem in compiling a
> unit test, you can avoid that by passing -DBUILD_TESTING=FALSE to your
> cmake command
>
> Robby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20211204/847c86c8/attachment-0001.htm>
More information about the tellico-users
mailing list