build issue with Tellico and msvc

Johnny Jazeix jazeix at gmail.com
Mon Mar 8 07:19:10 GMT 2021


Hi Robby,

this kind of error (missing type), often means an include is missing or the
class/struct/enum is not found.

Doesn't it miss the namespace in the .cpp file: using Tellico::Fetch or
using namespace Tellico::Fetch?

Johnny

Le lun. 8 mars 2021 à 03:05, Robby Stephenson <robby at periapsis.org> a
écrit :

> Hi all,
>
> Motivated by someone letting me know they had a successful build of
> Tellico using craft, I've been able to make a few changes to get the master
> branch compiling with MSVC locally. This is the first time I've ever
> compiled anything on windows, though, having always used Linux before.
>
> I requested a nightly build on the CI and now I'm puzzled by the fact that
> my local craft build compiles without issue, but fails on the binary
> factory. I'm hoping anyone on this list could give me some help or provide
> pointers where I could go read to learn more.
>
> The CI failure looks like some sort of scope/namespace issue
> https://binary-factory.kde.org/job/Tellico_Nightly_win64/5/console
>
> C:\_\9b0777e7\tellico\src\fetch\fetchrequest.cpp(32): error C2065: 'FetchKey': undeclared identifier
> C:\_\9b0777e7\tellico\src\fetch\fetchrequest.cpp(32): error C2146: syntax error: missing ')' before identifier 'key_'
> C:\_\9b0777e7\tellico\src\fetch\fetchrequest.cpp(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
>
> It may be that I've been relying on some sort of behavior from gcc or clang that is more reliable for class name resolution that I wasn't aware of,
> but like I said, it compiles just fine for me on Windows. I can tell that my MSVC version is slightly newer than the Ci version, but that doesn't
> seem like it's to blame. I guess my first question is how I can set up my local build to be as similar to the CI as possible so I can test fixes?
> After that, any suggestions for what I'm doing wrong?
>
> Thanks for any help!
>
> Robby
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20210308/23825c5d/attachment.htm>


More information about the Kde-windows mailing list