Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: greatjack on March 01, 2017, 02:30:51 PM

Title: When building a target for the simulator I get a fatal error
Post by: greatjack on March 01, 2017, 02:30:51 PM
I am trying to create a rockbox build for a ui simulator and when i run the make command the command ends with the following error /Users/jack/documents/rockbox/rockbox/firmware/include/rbendian.h:27:10: fatal error:
      'endian.h' file not found

Anyone know how to fix this?

Title: Re: When building a target for the simulator I get a fatal error
Post by: __builtin on March 01, 2017, 06:26:54 PM
Can you provide some more details about your build environment? What operating system, word size (32 or 64), and what compiler?
Title: Re: When building a target for the simulator I get a fatal error
Post by: greatjack on March 02, 2017, 01:50:13 PM
I am compiling on mac os x el capitan, using  a 64 bit system.

In the end I just ended up using my ubuntu machine and everything works fine.
Title: Re: When building a target for the simulator I get a fatal error
Post by: saratoga on March 02, 2017, 02:41:29 PM
I am compiling on mac os x el capitan, using  a 64 bit system.

Unless something has changed, you need gcc on OSX, not llvm.  Since you didn't mention which compiler you used, I'm guessing you tried the default (llvm), not gcc.