Long story short: building FLTK inside/below /tmp on macOS Ventura
13.1 (MacBook Air M1) and launching apps works ... sometimes. Crazy!
OK, to test this, my first step was:
```
git worktree add /tmp/fltk
cd /tmp/fltk/
make -j7
test/hello
open test/hello.app/
```
Worked like a charm! Note that the first command checks out a
"worktree" from the current Git working tree to /tmp/fltk.
So, why does it work here?
Checked: this was an older Git commit:
4bff15278e83616e4da6be9d36ed05c0c949545b from Jan 5, 2023.
OK, checking out the latest commit:
86a0a288152da0d3891ae67f56fd88014f6787f5, then running:
```
make distclean
make -j7
...
Generating keyboard_ui.cxx ... etc. --- HANGS
```
Hmm, running `make -j1` or `make -k -j5` and other variations
reveals: it hangs in `fluid` (as expected).
Even `make -j77` hangs.
Running `fluid -c any.fl` manually hangs too.
So what ... ?
Next try: Building with CMake and Ninja (default configuration):
works flawlessly. I can run all test and demo programs I tested,
including glpuzzle. `fluid -c` and interactive `fluid` work fine.
Conclusion: I don't know. Strange things are going on. Did I find a
bug in macOS? Maybe, since I **can** run GUI programs built in /tmp
with CMake ! ;-)
One more point: building with CMake + make (instead of ninja) works
as well. I have no idea what's going on.
Sorry, that's it for tonight from me. Maybe someone else who knows
more about macOS (Manolo?) can take a look.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.