← Back to team overview

kicad-developers team mailing list archive

Re: Build broken?

 

Sorry forgot to add: I am compiling using your CMakeSettings.json file,
which has the following CMake variables defined (i.e. *python scripting is
off*)

"variables": [
        {
          "name": "KICAD_SPICE",
          "value": "OFF",
          "type": "STRING"
        },
        {
          "name": "KICAD_USE_OCE",
          "value": "OFF",
          "type": "STRING"
        },
        {
          "name": "KICAD_SCRIPTING",
          "value": "OFF",
          "type": "STRING"
        },
        {
          "name": "KICAD_SCRIPTING_WXPYTHON",
          "value": "OFF",
          "type": "STRING"
        },
        {
          "name": "KICAD_SCRIPTING_MODULES",
          "value": "OFF",
          "type": "STRING"
        }
      ],

On Mon, 10 Aug 2020 at 10:18, Roberto Fernández Bautista <
roberto.fer.bau@xxxxxxxxx> wrote:

> Hi Jon,
>
> Thanks for that commit - it does appear that it fixed one compile issue,
> however it appears there is a second one. Just to make sure it was nothing
> related to my branch, I pulled latest from master (commit 370bc89d) and did
> a clean build on MSVC, resulting in the following compile error:
>
> Error C1083 Cannot open include file: 'Python.h': No such file or
> directory C:\src\kicad-sources\master\build\x64-Debug\master
> C:\src\kicad-sources\master\pcbnew\swig\python_scripting.h 37
>
> Thanks
>
> Roberto.
>
> On Sun, 9 Aug 2020 at 23:27, Jon Evans <jon@xxxxxxxxxxxxx> wrote:
>
>> Can you see if it's fixed by abc64f22?
>>
>> On Sun, Aug 9, 2020 at 6:16 PM Roberto Fernández Bautista <
>> roberto.fer.bau@xxxxxxxxx> wrote:
>>
>>> Hi all,
>>>
>>> I just rebased my branch to master and got the following errors
>>> unrelated to the changes in my branch (compiling in MSVC, Windows 10)
>>>
>>> Severity Code Description Project File Line Suppression State
>>> Error C2664 'int atoi(const char *)': cannot convert argument 1 from
>>> 'wxString' to 'const char *'
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\build\x64-Debug\cadstar_pcb_archive_importer
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\pcbnew\dialogs\dialog_board_reannotate.cpp
>>> 317
>>> Error C2664 'int atoi(const char *)': cannot convert argument 1 from
>>> 'wxString' to 'const char *'
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\build\x64-Debug\cadstar_pcb_archive_importer
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\pcbnew\dialogs\dialog_board_reannotate.cpp
>>> 786
>>> Error C2664 'int atoi(const char *)': cannot convert argument 1 from
>>> 'wxString' to 'const char *'
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\build\x64-Debug\cadstar_pcb_archive_importer
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\pcbnew\dialogs\dialog_board_reannotate.cpp
>>> 789
>>> Error C2660 'DIALOG_BOARD_REANNOTATE::BuildChangeArray': function does
>>> not take 4 arguments
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\build\x64-Debug\cadstar_pcb_archive_importer
>>> C:\src\kicad-sources\cadstar_pcb_archive_importer\pcbnew\dialogs\dialog_board_reannotate.cpp
>>> 789
>>>
>>>
>>> Does anyone else also see this?
>>>
>>> Thanks
>>>
>>> Roberto.
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>

References