openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

macOS fixes #8072

Closed danoli3 closed 3 months ago

danoli3 commented 3 months ago

macOS / OSX

Xcode template will automatically detect if you haven't downloaded the libs and download them. This will prevent, developer confusion in the intrim.

Scripts:

downloader [3.3.0->3.3.1]

OSX download_libs -

apps/devApps

vboExample fix glut / vec

danoli3 commented 3 months ago

@dimitre this should fix all the issues with makefiles

danoli3 commented 3 months ago
image

fixed the tester with bind fix if port bound already

dimitre commented 3 months ago

great. I'm having issues with macos/downoad_latest_libs.sh now

d@zen of % ./scripts/macos/download_latest_libs.sh
 openFrameworks download_libs.sh v2.2
 -----
 [openFrameworks downloader v3.3.0] ... 

  [downloader] [wget2] urls:[https://github.com/openframeworks/apothecary/releases/download/bleeding/openFrameworksLibs_bleeding_macos.tar.bz2 ]

0 files                0% [<=>                                                                                                          ]       0          B/s
                          [Files: 0  Bytes: 0  [0 B/s] Redirects: 1  Todo: 0  Errors: 0                                                 ]

 ------ 
 Uncompressing libraries [macos] from [openFrameworksLibs_bleeding_macos.tar.bz2]
assimp/lib/macos/assimp.xcframework/tvos-arm64_x86_64-simulator/assimp.a: truncated bzip2 input
tar: Error exit delayed from previous errors.
Error on or near line 302; exiting with status 1
dimitre commented 3 months ago

which folder and script I should use for a functional OF installation in macOS today?

danoli3 commented 3 months ago

Always the latest XD

danoli3 commented 3 months ago

scripts/osx/download_latest_libs.sh (smaller just osx now in macos folder) or scripts/macos/download_latest_libs.sh (super mega xCFrameworks all apple targets.

danoli3 commented 3 months ago

This PR fixes issues I did find with macos and osx installed at same time

dimitre commented 3 months ago

Good. I installed osx latest libs here, pulled everything to latest. Finally PG Is being built again with make But there is an important regression, I 've opened an issue on pg repo.