← Back to team overview

kicad-developers team mailing list archive

Re: Build failure

 

First thing I did with QTCreator is to delete all of the default (build/release/etc) build configurations that it sets up when creating/importing a project.
Then, I created my own one with the settings I need for KiCad (especially build options and paths).
I didn’t have any problems since then.

I can send you my configuration later on, maybe it helps…


Regards,
Bernhard

> On 23. Mar 2018, at 01:33, Jeff Young <jeff@xxxxxxxxx> wrote:
> 
> Based on Seth’s "cache cruft" comment I whacked my CMakeCache.txt entirely, and my cmd-line build is running again from kicad/build/.  
> 
> I’m afraid to run QTCreator again, though.
> 
>> On 23 Mar 2018, at 00:20, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
>> 
>> I think used to do a “make install” inside kicad/build/.  But now it says it doesn’t have an install target.  (And if I do a “make” that’s when I get the OCE errors.)
>> 
>> “make install” works one level higher (in kicad/), but then spews out a whole bunch of CMakeFiles directories as siblings to build/ which pollute my git status.
>> 
>> 
>> 
>>> On 23 Mar 2018, at 00:14, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
>>> 
>>> It complains that it doesn’t have a CMake dialog available.
>>> 
>>> Could someone dump in their cmake command (and indicate what directory it is executed from)?
>>> 
>>> Thanks
>>> Jeff.
>>> 
>>> 
>>>> On 22 Mar 2018, at 23:32, Seth Hillbrand <seth.hillbrand@xxxxxxxxx <mailto:seth.hillbrand@xxxxxxxxx>> wrote:
>>>> 
>>>> Hi Jeff-
>>>> 
>>>> I assume you have a populated cmake build directory.  If so, you can run "make edit_cache" and you should be see what is toggled on and off and adjust.  Then hit "c" to reconfigure and "g" to generate your makefiles.  You can also delete cache entries using this tool, in case there is cruft from a previous config.
>>>> 
>>>> You should only see that message if cmake thinks you are trying to enable OCE.  I don't see any recent changes that would have affected this option. (my OpenCascade patch is not in the tree yet)
>>>> 
>>>> -S
>>>> 
>>>> 2018-03-22 16:20 GMT-07:00 Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>>:
>>>> No, I don’t have Seth’s patch (to my knowledge).  I assume it’s something I would have had to install?
>>>> 
>>>> I’m not sure what’s different.  I was trying to get it to build with scripting on and the wheels came off…
>>>> 
>>>> Cheers,
>>>> Jeff.
>>>> 
>>>> 
>>>>> On 22 Mar 2018, at 23:09, Nick Østergaard <oe.nick@xxxxxxxxx <mailto:oe.nick@xxxxxxxxx>> wrote:
>>>>> 
>>>>> Do you have Seth's opencascade patch in your tree? Or what is different from the usual? The build flag you are specifying shoulnd be correct IIRC.
>>>>> 
>>>>> 2018-03-22 23:56 GMT+01:00 Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>>:
>>>>> What does this mean:
>>>>> 
>>>>> By not providing "FindOCE.cmake" in CMAKE_MODULE_PATH this project has
>>>>> asked CMake to find a package configuration file provided by "OCE", but
>>>>> CMake did not find one.
>>>>> 
>>>>> Could not find a package configuration file provided by "OCE" (requested
>>>>> version 0.16) with any of the following names:
>>>>> 
>>>>> OCEConfig.cmake
>>>>> oce-config.cmake
>>>>> 
>>>>> Add the installation prefix of "OCE" to CMAKE_PREFIX_PATH or set "OCE_DIR"
>>>>> to a directory containing one of the above files. If "OCE" provides a
>>>>> separate development package or SDK, be sure it has been installed.
>>>>> 
>>>>> I thought I had avoided this stuff by specifying:
>>>>> 
>>>>>     -DKICAD_USE_OCE=OFF \
>>>>> 
>>>>> but it seems to be back.
>>>>> 
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>> 
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> More help   : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
> 
> _______________________________________________
> 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