Compiling Modules on Windows XP SP2 - Max 1.20?

BlitzMax Forums/BlitzMax Programming/Compiling Modules on Windows XP SP2 - Max 1.20?

Sean Doherty(Posted 2006) [#1]
I have been trying to compile the following module:

[source]
Strict

Rem
bbdoc: Textured Poly Module
End Rem
Module Indiepath.texturedpoly
...
[/source]

However, it just will not compile?

I have created a directory called "C:\Program Files\BlitzMax\mod\pub.mod\indiepath.texturedpoly.mod"

And I put the file 'indiepath.texturedpoly.bmx" in the directory.

I tried control d from the default IDE and the following commands:

bmk makemods indiepath.texturedpoly.bmx
bmk makemods -a indiepath.texturedpoly.bmx

For some reason it just will not create any files in:

"C:\Program Files\BlitzMax\mod\pub.mod\indiepath.texturedpoly.mod"

What am I doing wrong?

Thanks


TomToad(Posted 2006) [#2]
Do you have MinGW installed?
http://www.blitzbasic.com/Community/posts.php?topic=53442


Chris C(Posted 2006) [#3]
[source] try [code] [codebox]

there really should be a sticky for the forum codes I can never remember them or where they are hidden...


VIP3R(Posted 2006) [#4]
Have you tried moving the module out of the pub.mod folder and into the mod folder? Don't forget to 'Add Project' and point to the new module location.

@Chris: They're here... www.blitzmax.com/faq/faq.php


ziggy(Posted 2006) [#5]
the right location shoud be<.
C:\Program Files\BlitzMax\mod\indiepath.mod\texturedpoly.mod\texturedpoly.bmx

and build as: bmk makemods indiepath.texturedpoly


assari(Posted 2006) [#6]
AFAIK BMK is picky with the way the folders are named.

On my system with the following module file sqlite.bmx

it's in the folder

D:\Program Files\BlitzMax\mod\user.mod\sqlite.mod\sqlite.bmx

The syntax I use

D:\Program Files\BlitzMax\bin>bmk makemods -a user.sqlite

So your file should be in
C:\Program Files\BlitzMax\mod\indiepath.mod\texturedply.mod\texturedpoly.bmx

then you can
C:\Program Files\BlitzMax\bin>bmk makemods -a indiepath.texturedpoly



ziggy(Posted 2006) [#7]
the -a parameter indicates building debug enabled and final release at the same time?


Gabriel(Posted 2006) [#8]
BMK now defaults to building both debug and final release at the same time, so there's no need for any command-line options.


TartanTangerine (was Indiepath)(Posted 2006) [#9]
To confirm the path should be :
C:\Program Files\BlitzMax\mod\indiepath.mod\texturedpoly.mod\texturedpoly.bmx