[Solved] Can't build custom module on Linux
BlitzMax Forums/BlitzMax Programming/[Solved] Can't build custom module on Linux
| ||
I got a custom module that I can't build on Linux but it works fine on Windows. I tried both NG and Vanilla 1.5. I even copied the exact folder to Linux and it does nothing??? ./bmk makemods -r -l linux mymod |
| ||
You don't need "-l linux" on Linux ;-) You could try "-a" for rebuild all. If that does nothing, your next check is case sensitivity. It is desired that module folders and module bmx is lower case. Eg. mod/mymod.mod/stuff.mod/stuff.bmx where stuff.bmx has the line : Module MyMod.Stuff Then the following should work: ./bmk makemods -a mymod or ./bmk makemods -a mymod.stuff |
| ||
Thanks Brucey. The lowercase issue did the trick! :D |
| ||
Keep that in mind when loading assets... linux and mac are case-sensitive. Bye Ron |
| ||
True, sometime if I'm anxious, excited to get something done or in a middle of something I really do forget. ;-) |
| ||
mac are case-sensitive. Only if you enabled it when formatting. If I remember there should be tools to change the file system case sensitivity. The default is case-insensitive, but case preserving.Basic rule when doing cross platform... use lower case for all file names and paths. You also have to take care with certain characters in paths/filenames, as some files systems can be picky. |