[fixed]cannot compile my game in mac

BlitzMax Forums/BlitzMax Programming/[fixed]cannot compile my game in mac

Ravl(Posted 2013) [#1]
Hello,

I tried to compile and run my game for MacOS but I am receiveng the error message: Cannot find interface for module: Koriolis.mod

I already copy it and recompile all the modules. Any ideas? Is something that I missed?

thanks,


GfK(Posted 2013) [#2]
Check your mod folder structure. You've probably got it in one sub folder too many or something.


Ravl(Posted 2013) [#3]
it's the same as on Windows..


xlsior(Posted 2013) [#4]
Can you explicitly (re)compile the koriolis mod itself?

Open a command shell, go to the blitzmax/bin folder, and type:

./bmk makemods -a koriolis
./bmk makemods -a -h koriolis


If the module is complete and in the correct location, it should show you a bunch of compiling statements. If the module is broken / missing / wrong, it won't print anything and just return you to the prompt.


Ravl(Posted 2013) [#5]
It seems it's wrong.

Here it is a screesnhot:



But it's like on Windows.. :|


Midimaster(Posted 2013) [#6]
where is this line in your code?

....
Import koriolis.zipstream



GfK(Posted 2013) [#7]
Could it actually be a case-sensitivity issue? Capital "K" vs lower-case "k"? MacOS is funny like that, isn't it?


Ravl(Posted 2013) [#8]
@Midimaster:

Import koriolis.zipstream

Import "constants.bmx"
Import "globals.bmx"

This is all I have in my file..

@Gfk:
tried both. :)


Floyd(Posted 2013) [#9]
Are you running an old version of BlitzMax? I know there were problems when Lion was released.

Mark Sibly's posts are mostly about OSX updates breaking things: http://blitzbasic.com/Community/userposts.php?user=1


Ravl(Posted 2013) [#10]
no, I have the last one.

had a look over that topics. nothing helped me..


xlsior(Posted 2013) [#11]
Your screenshots don't show, but do you have a zipstream.mod inside your koriolis.mod folder?


Ravl(Posted 2013) [#12]
yes I have. I copied the whole folder from my windows partition.
before this I had the same issue with another library: "persistence.mod", but worked after I recompile the module.

this one just simply does not..


xlsior(Posted 2013) [#13]
Are you using the latest version?

(1.0.3, look in the koriolis.mod/zipstream.mod/doc/commands.html , see the footer of the page for your version)

You may want to try to re-download the module from it's creator:
http://www.koriolis-fx.com/forum/index.php?topic=15.0

(Download link is in the top post, may need to log in to the forum before it shows the link?)


Ravl(Posted 2013) [#14]
@xlsior: you are my lifesaver. I am SO embarrassed!!

of course i used an old version that does not have a commands.html file..

I downloaded the one from the koriolis forums, recompile the modules and not it's working. damn!

thanks guys for all your help.