question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m having some issues when trying to build it in OSX. I know it is not yet supported, maybe someone fixed it and could help?

[ 33%] Building CXX object CMakeFiles/snake.dir/src/GameCtrl.cpp.o /Users/ramon/fun/snake/src/GameCtrl.cpp:56:5: error: use of undeclared identifier 'exit' exit(0); ^ 1 error generated. make[2]: *** [CMakeFiles/snake.dir/src/GameCtrl.cpp.o] Error 1 make[1]: *** [CMakeFiles/snake.dir/all] Error 2 make: *** [all] Error 2

  • Version of cmake is 3.7.1
  • g++: Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin16.3.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
chuyangliucommented, Jan 5, 2017

@ramonsaraiva Try to build it again. Is it OK?

0reactions
ramonsaraivacommented, Jan 6, 2017

#9 merged, closing issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why new Macs break your Docker build, and how to fix it
The problem: different hardware and wheel availability ... So why do the Linux machine and Mac have such different outcomes? It's not the ......
Read more >
OSX Catalina build issues · Issue #4516 · visit-dav/visit - GitHub
In trying to set up a build environment again on my Mac, I noticed that creating a "fakempi" library breaks building IceT on...
Read more >
[macOS] "build is damaged and cannot be opened" error ...
Is this no longer an issue because the related issue was fixed? Or will mac builds still show this error? Add comment.
Read more >
Install on Mac | Docker Documentation
How to install Docker Desktop on Mac. ... Troubleshooting describes common problems, workarounds, how to run and submit diagnostics, and submit issues.
Read more >
Connection Troubleshooting for a Xamarin.iOS Build Host
If you are troubleshooting a build problem and want to make sure the behavior is not related to any of temporary build files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found