[Solved] Can't build custom module on Linux

BlitzMax Forums/BlitzMax Programming/[Solved] Can't build custom module on Linux

RustyKristi(Posted 2016) [#1]
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


Brucey(Posted 2016) [#2]
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



RustyKristi(Posted 2016) [#3]
Thanks Brucey. The lowercase issue did the trick! :D


Derron(Posted 2016) [#4]
Keep that in mind when loading assets... linux and mac are case-sensitive.

Bye
Ron


RustyKristi(Posted 2016) [#5]
True, sometime if I'm anxious, excited to get something done or in a middle of something I really do forget. ;-)


dawlane(Posted 2016) [#6]
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.