Re: [Kicad-developers] Some linker errors, and question about qa

2020-09-14 Thread Seth Hillbrand
You might have a dirty build.  I'm not seeing this error locally.  Can you
try `make clean` before you re-make?

-Seth

On Mon, Sep 14, 2020 at 1:26 PM Eeli Kaikkonen 
wrote:

> I get some linker errors:
>
> [3/3] Linking CXX executable qa/drc_proto/drc_proto
> FAILED: qa/drc_proto/drc_proto
> ...
> /usr/bin/ld:
> qa/drc_proto/CMakeFiles/drc_proto.dir/__/pcbnew_utils/board_file_utils.cpp.o:
> in function `KI_TEST::DumpBoardToFile(BOARD&,
> std::__cxx11::basic_string,
> std::allocator > const&)':
> /work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
> undefined reference to `PCB_IO::PCB_IO(int)'
> /usr/bin/ld:
> /work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:41:
> undefined reference to `PCB_IO::Save(wxString const&, BOARD*, PROPERTIES
> const*)'
> /usr/bin/ld:
> /work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
> undefined reference to `PCB_IO::~PCB_IO()'
> /usr/bin/ld:
> /work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
> undefined reference to `PCB_IO::~PCB_IO()'
> /usr/bin/ld: common/libpcbcommon.a(io_mgr.cpp.o): in function
> `{lambda()#2}::operator()() const':
> /work/ohjelmointi/kicad/kicad-master/pcbnew/io_mgr.cpp:209: undefined
> reference to `PCB_IO::PCB_IO(int)'
>
>
>
> What might be the reason?
>
> BTW, why does it link anything under qa at all while I don't have
> KICAD_BUILD_QA_TESTS enabled? I'm not sure what the qa subdir should do,
> but I don't think I need or want it.
>
> Eeli Kaikkonen
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>


-- 
[image: KiCad Services Corporation Logo]
Seth Hillbrand
*Lead Developer*
+1-530-302-5483‬ <+12126039372>
Davis, CA
www.kipro-pcb.comi...@kipro-pcb.com
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] Some linker errors, and question about qa

2020-09-14 Thread Eeli Kaikkonen
I get some linker errors:

[3/3] Linking CXX executable qa/drc_proto/drc_proto
FAILED: qa/drc_proto/drc_proto
...
/usr/bin/ld:
qa/drc_proto/CMakeFiles/drc_proto.dir/__/pcbnew_utils/board_file_utils.cpp.o:
in function `KI_TEST::DumpBoardToFile(BOARD&,
std::__cxx11::basic_string,
std::allocator > const&)':
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
undefined reference to `PCB_IO::PCB_IO(int)'
/usr/bin/ld:
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:41:
undefined reference to `PCB_IO::Save(wxString const&, BOARD*, PROPERTIES
const*)'
/usr/bin/ld:
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
undefined reference to `PCB_IO::~PCB_IO()'
/usr/bin/ld:
/work/ohjelmointi/kicad/kicad-master/qa/pcbnew_utils/board_file_utils.cpp:40:
undefined reference to `PCB_IO::~PCB_IO()'
/usr/bin/ld: common/libpcbcommon.a(io_mgr.cpp.o): in function
`{lambda()#2}::operator()() const':
/work/ohjelmointi/kicad/kicad-master/pcbnew/io_mgr.cpp:209: undefined
reference to `PCB_IO::PCB_IO(int)'



What might be the reason?

BTW, why does it link anything under qa at all while I don't have
KICAD_BUILD_QA_TESTS enabled? I'm not sure what the qa subdir should do,
but I don't think I need or want it.

Eeli Kaikkonen
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] string translation error

2020-09-14 Thread Nick Østergaard
I think JP fixed this in
https://gitlab.com/kicad/code/kicad/-/commit/ff0a728753adf701a9d723b9f2b6484114e5dff1

On Mon, 14 Sep 2020 at 08:11, Marco Ciampa  wrote:

> See the message:
>
> pcbnew/drc/drc_engine.cpp:492: warning: Empty msgid.  It is reserved by
> GNU gettext:
> gettext("") returns the header
> entry with
> meta information, not the empty
> string.
>
> TIA
>
> --
>
> Saluton,
> Marco Ciampa
>
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


[Kicad-developers] string translation error

2020-09-14 Thread Marco Ciampa
See the message:

pcbnew/drc/drc_engine.cpp:492: warning: Empty msgid.  It is reserved by GNU 
gettext:
gettext("") returns the header entry 
with
meta information, not the empty string.

TIA

-- 

Saluton,
Marco Ciampa

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp