|
Your SYSTEMROOT or WINDIR environment variable is not set! |
jabel7
Member #16,640
February 2017
|
Hello! I bought a book "Game programming all in one" 3er Edition, and I trying to install allegro 4.2 to use the code of book, in the instructions says write "make", but when I write "make" the terminal of Mac says "Your SYSTEMROOT or WINDIR environment variable is not set! " How I can fix the problem? |
bamccaig
Member #7,536
July 2006
|
Errrr, sounds like you're running a Windows makefile on Mac. Are you sure the book is compatible with Mac? Where did you get your copy of Allegro? -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
jabel7
Member #16,640
February 2017
|
Yes, the book is compatible with mac, linux and win2 and allegro comes with the CD in the book. |
bamccaig
Member #7,536
July 2006
|
The other thing that I can say is that Allegro 4.2 is quite old nowadays. There's a 4.4 branch that is hardware accelerated, plus a completely different API called Allegro 5. Allegro 4 is quite popular so it's still possible to use it and love it, but you may want to upgrade to one of the newer releases. If you do want to continue with Allegro 4 you may want to consider the wiki instructions for help installing it. Instead of using the source that came with the book, you could also seek out the latest 4.2.x or 4.4.x release and try to build that instead. I'm not sure which version would have shipped with the book, but it might be less stable anyway. In any case, the live instructions might be more reliable. It sounds like there is also the option to use "macports" for a binary install. Ultimately, the book should be compatible with any version of Allegro 4 you manage to install because the API didn't change. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
Samuel Henderson
Member #3,757
August 2003
|
This book by chance? I can tell you from experience that if you are going to be doing any sort of development on a mac you will definitely want to install XCode's command line tools and probably 'homebrew' as well. ================================================= |
|