Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Last active June 22, 2017 05:45
Show Gist options
  • Save kjunichi/95eebce512595102481ca1c1b49535ec to your computer and use it in GitHub Desktop.
Save kjunichi/95eebce512595102481ca1c1b49535ec to your computer and use it in GitHub Desktop.
2016/6/22のメモ

dylibに依存しているframeworkの情報を埋めこめるのか問題

screenresをNAN最新化対応したのに、実行するとシンボル参照でエラー。

"libraries": [
              "-framework",
              "ApplicationServices"
]

-framework CoreGraphics で、解決しないかな

上記の設定はコンパイル時は有効だが、dylib作成時は効いていない疑惑

.oファイルから.dylibをつくる

libtool -dynamic -flat_namespace -o libh2o.dylib -undefined dynamic *.o

もしかして廃止されたから説

が、怒られてる関数は廃止されてない

結果

うごかせた。ただし、廃止されるAPIを使用している為、Retinaではぼやける。

関連

アクセス解析タグ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment