← Back to team overview

kicad-developers team mailing list archive

Re: MacOS build missing frameworks

 

Yes… I have configured QTCreator to build debug/release into separate folders and I do my “production” builds via console.
QTCreator seems to have its own ideas how default folder structure should look like and I didn’t yet figure out in detail on how to configure it so that it doesn’t clash.


Bernhard


> On 3. Mar 2018, at 14:48, Jeff Young <jeff@xxxxxxxxx> wrote:
> 
> Thanks, Bernhard.  I re-did mine to that scheme, but it didn’t help.  I think it’s just QTCreator not quite following what’s going on.
> 
> 
> 
>> On 3 Mar 2018, at 12:45, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:
>> 
>> Sure.
>> 
>> My work folder looks like that:
>>   kicad => git repo
>>   build => build folder
>>   wx-3.0 => wx binaries
>> 
>> In build folder, I use that cmake
>> <<<
>> cmake ../kicad -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DwxWidgets_CONFIG_EXECUTABLE=../wx-3.0/bin/wx-config -DKICAD_SCRIPTING=OFF -DKICAD_SCRIPTING_MODULES=OFF -DKICAD_SCRIPTING_WXPYTHON=OFF -DBUILD_GITHUB_PLUGIN=ON -DKICAD_USE_OCE=ON -DOCE_DIR=/opt/local/Library/Frameworks/OCE.framework/Versions/0.17/Resources -DKICAD_SPICE=OFF -DCMAKE_INSTALL_PREFIX=../bin -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.12
>> >>>
>> 
>> 
>> Bernhard
>> 
>>> On 3. Mar 2018, at 13:41, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
>>> 
>>> Interesting.  Could you share your cmake command?
>>> 
>>>> On 3 Mar 2018, at 12:19, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx <mailto:stegmaier@xxxxxxxxxxxxx>> wrote:
>>>> 
>>>> You are sure that you have a clean build folder and don’t mix things from console builds, QTCreator, etc.?
>>>> In my build folder (built yesterday) I don’t have a “bin” or “debug” folder…
>>>> 
>>>> HackMini:build bstegmaier$ ls -l
>>>> total 200
>>>> drwxr-xr-x   8 bstegmaier  staff    272 Mar  2 13:43 3d-viewer
>>>> -rw-r--r--   1 bstegmaier  staff  41439 Mar  2 13:06 CMakeCache.txt
>>>> drwxr-xr-x  18 bstegmaier  staff    612 Mar  2 13:43 CMakeFiles
>>>> -rw-r--r--   1 bstegmaier  staff  35407 Mar  2 13:06 Makefile
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 bitmap2component
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 bitmaps_png
>>>> -rw-r--r--   1 bstegmaier  staff   4235 Mar  2 13:06 cmake_install.cmake
>>>> -rw-r--r--   1 bstegmaier  staff    907 Mar  2 13:06 cmake_uninstall.cmake
>>>> drwxr-xr-x   8 bstegmaier  staff    272 Mar  2 13:42 common
>>>> -rw-r--r--   1 bstegmaier  staff   1834 Mar  2 13:06 config.h
>>>> drwxr-xr-x   5 bstegmaier  staff    170 Mar  2 13:06 cvpcb
>>>> drwxr-xr-x   5 bstegmaier  staff    170 Mar  2 13:06 demos
>>>> drwxr-xr-x   8 bstegmaier  staff    272 Mar  2 13:06 eeschema
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 gerbview
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 kicad
>>>> -rw-r--r--   1 bstegmaier  staff    277 Mar  2 13:06 kicad_build_version.h
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 lib_dxf
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 pagelayout_editor
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 pcb_calculator
>>>> drwxr-xr-x   9 bstegmaier  staff    306 Mar  2 13:06 pcbnew
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 plugins
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 polygon
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 potrace
>>>> drwxr-xr-x   9 bstegmaier  staff    306 Mar  2 13:06 qa
>>>> drwxr-xr-x   5 bstegmaier  staff    170 Mar  2 13:06 template
>>>> drwxr-xr-x   6 bstegmaier  staff    204 Mar  2 13:06 tools
>>>> drwxr-xr-x   8 bstegmaier  staff    272 Mar  2 13:06 utils
>>>> 
>>>> 
>>>> 
>>>> Bernhard
>>>> 
>>>>> On 3. Mar 2018, at 12:38, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> wrote:
>>>>> 
>>>>> When I do a build I get 3 copies of all the stand-alone apps:
>>>>> 
>>>>> build/
>>>>>    bin/
>>>>>       eeschema.app
>>>>>    debug/
>>>>>       eeschema/
>>>>>          eeschema.app
>>>>>       kicad/
>>>>>          kicad.app/
>>>>>             Contents/
>>>>>                eeschema.app
>>>>> 
>>>>> The build/bin/ version is a link to the build/debug/kicad/kicad.app/Contents/ version.  This one has a Contents/Frameworks/ inside it (with all the dylibs in it).  So far so good.
>>>>> 
>>>>> However, the debug/eeschema/eeschema.app is not a link, and does not have a Contents/Frameworks/ directory inside, and so generates a bunch of errors.
>>>>> 
>>>>> Ring any bells?
>>>>> _______________________________________________
>>>>> 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>
>>>> 
>>> 
>> 
> 


References