← Back to team overview

kicad-developers team mailing list archive

Re: Build changes.

 

Thank you Bernhard,

I thought that the patches would be applied by the cmake/make
 process.

How do I apply those patches?

Jean-Paul
AC9GH

I forgot to provide kicad info.


Application: kicad
Version: (2014-09-27 BZR 5152)-product Release build
wxWidgets: Version 3.0.1 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.2.1,wx containers,compatible with 2.8)
Platform: Mac OS X (Darwin 13.4.0 x86_64), 64 bit, Little endian, wxMac
Boost version: 1.54.0
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=ON
         KICAD_SCRIPTING=OFF
         KICAD_SCRIPTING_MODULES=OFF
         KICAD_SCRIPTING_WXPYTHON=OFF
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON



On Sep 27, 2014, at 5:14 PM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:

> Hi,
> 
> I know that… that happens if you don’t apply the wxOverlay-Patches to wxWidgets.
> 
> You need to apply these 2 patches from the patches folder of Kicad to wxWdigets:
> -rw-r--r--   1 bstegmaier  staff  11752 27 Sep 08:41 wxwidgets-3.0.0_macosx.patch
> -rw-r--r--   1 bstegmaier  staff    574 27 Sep 08:41 wxwidgets-3.0.0_macosx_bug_15908.patch
> 
> 
> Regards,
> Bernhard
> 
> On 27.09.2014, at 23:06, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
> 
>> To All,
>> 
>> It looks like the build proceeded OK with Bernhard's help.
>> 
>> BUT, there is a weird artifact created in the eeschema window.
>> The top left corner is missing. See the screen capture below.
>> Not sure what that means.
>> 
>> <PastedGraphic-1.png>
>> 
>> The remaining part of the schematic seems to be OK.
>> I will test further, and report here.
>> 
>> <PastedGraphic-2.png>
>> 
>> 
>> Jean-Paul
>> AC9GH
>> 
>> 
>> 
>> On Sep 27, 2014, at 4:01 PM, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>> 
>>> Thank you Bernhard.
>>> 
>>> I will try to modify my script with this switch and test it.
>>> 
>>> Jean-Paul
>>> AC9GH
>>> 
>>> On Sep 27, 2014, at 11:48 AM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:
>>> 
>>>> Hi Jean-Paul,
>>>> 
>>>> look into Wayne’s mail… to use the “old” all-in-one build by Marco you explicitly have to set -DUSE_OSX_DEPS_BUILDER=ON.
>>>> Without it now won’t build any (library) dependencies but use anything that is (hopefully) already installed on your machine, e.g. using MacPorts or Homebrew.
>>>> Unfortunately, you can’t use a stock (MacPorts/Homebrew or self-compiled) wxWidgets, because it has to be patched with the two patches for wxOverlay support that is not contained in official wxWidgets deliveries (and in future a third patch that I have to submit yet).
>>>> 
>>>> 
>>>> Regards,
>>>> Bernhard
>>>> 
>>>> 
>>>> On 27.09.2014, at 16:42, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>>>> 
>>>>> Hi Bernhard,
>>>>> 
>>>>> I did not install wxwidgets, I was letting the kicad cmake do that for me.
>>>>> I will try your cmake option to see if it find the config file
>>>>> 
>>>>> Thank you,
>>>>> Jean-Paul
>>>>> AC9GH
>>>>> 
>>>>> On Sep 27, 2014, at 2:45 AM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> how did you install wxWidgets, which version are you using?
>>>>>> 
>>>>>> I just synced and tested… works for me without problems, I use
>>>>>> -DwxWidgets_CONFIG_EXECUTABLE=../wxWidgets/3.0/bin/wx-config
>>>>>> to point CMake to my wxWidgets build.
>>>>>> 
>>>>>> 
>>>>>> Regards,
>>>>>> Bernhard
>>>>>> 
>>>>>> 
>>>>>> On 27.09.2014, at 07:12, Jean-Paul Louis <louijp@xxxxxxxxx> wrote:
>>>>>> 
>>>>>>> Wayne,
>>>>>>> 
>>>>>>> BZR 5151 fails miserably when building for OS X.
>>>>>>> My script hasn’t changed in the last few months.
>>>>>>> I tried to rebuild from scratch, and get the same result:
>>>>>>> 
>>>>>>> -- Performing Test OpenMP_FLAG_DETECTED
>>>>>>> -- Performing Test OpenMP_FLAG_DETECTED - Failed
>>>>>>> CMake Error at CMakeModules/FindwxWidgets.cmake:864 (message):
>>>>>>> wxWidgets wx/version.h file not found in
>>>>>>> /usr/local/lib/wx/include/osx_cocoa-unicode-3.0;/usr/local/include/wx-3.0.
>>>>>>> Call Stack (most recent call first):
>>>>>>> CMakeLists.txt:376 (find_package)
>>>>>>> 
>>>>>>> 
>>>>>>> -- Configuring incomplete, errors occurred!
>>>>>>> See also "/Users/jean-paullouis/Soft_Dev/kicad-build/CMakeFiles/CMakeOutput.log".
>>>>>>> See also "/Users/jean-paullouis/Soft_Dev/kicad-build/CMakeFiles/CMakeError.log”.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Jean-Paul
>>>>>>> AC9GH
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> <CMakeError.log><CMakeOutput.log>
>>>>>>> 
>>>>>>> 
>>>>>>> On Sep 26, 2014, at 9:12 PM, Wayne Stambaugh <stambaughw@xxxxxxxxxxx> wrote:
>>>>>>> 
>>>>>>>> On 9/26/2014 8:43 PM, Blair Bonnett wrote:
>>>>>>>>> On 27 September 2014 12:36, Wayne Stambaugh <stambaughw@xxxxxxxxxxx
>>>>>>>>> <mailto:stambaughw@xxxxxxxxxxx>> wrote:
>>>>>>>>> 
>>>>>>>>>> I may have pulled trigger on this change too fast.  If I remove
>>>>>>>>> 
>>>>>>>>>> ${CMAKE_CURRENT_LIST_DIR} using CMake 2.8.12.2 on windows, I get the
>>>>>>>>> 
>>>>>>>>>> same error you get with it.  What version of CMake are you using?  If
>>>>>>>>> 
>>>>>>>>>> it's 3 or greater, I may have to copy FindPackageMessage.cmake and
>>>>>>>>>> CMakeParseArguments.cmake into the CMakeModules folder as well.
>>>>>>>>> 
>>>>>>>>> CMake 3.0.2.
>>>>>>>>> 
>>>>>>>>> Incidentally, revision 5150 still doesn't build on my machine -- you
>>>>>>>>> need to remove the .cmake extension on the includes. But it might be
>>>>>>>>> best to copy the new versions of those files into CMakeModules and
>>>>>>>>> restore the ${CMAKE_CURRENT_LIST_DIR}/. I can confirm doing this works
>>>>>>>>> for me so if it works with older versions of CMake thats probably the
>>>>>>>>> way to go.
>>>>>>>>> 
>>>>>>>>> Blair
>>>>>>>> 
>>>>>>>> I copied the other two cmake files from 3.0.2 and it now works on
>>>>>>>> windows with cmake 2.8.12 and linux with cmake 3.0.2.  I had to leave
>>>>>>>> ${CMAKE_CURRENT_LIST_DIR}/ off the include statements to make it work
>>>>>>>> correctly on cmake 2.8.12.  Sorry about the build issues.  I appears
>>>>>>>> that there were some significant changes between CMake 2 and 3 that I
>>>>>>>> was unaware of.
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
> 



Follow ups

References