Old 18th December 2006, 06:20   #1
xpqcad
Junior Member
 
Join Date: Sep 2005
Posts: 7
Error while compiling .m file to .maki

Hi.
When I try to compile a m file to maki I always get an error.
The console shows the following error:

code:

MC - Maki Compiler v1.1.3
(c)2001, Nullsoft Inc.

Preprocessing...
#include lib\std.mi: file not found at main.m:5
Preprocessor error, aborting
Exited with code 6



The path to std.mi library is set to \lib\std.mi in the m script and the file exists definitely at that position. So i got no idea why the compiler can't find it.

This is my file hierarchy

code:

mc.exe
main.m
<Folder name=lib>
std.mi



So mc.exe and main.m are in the same directory and std.mi is in the subfolder lib.

Anyone here who can help me with this error?

Greetz
xpqcad is offline   Reply With Quote
Old 18th December 2006, 06:30   #2
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,048
I have the same folder structure as you, try this as your include.

#include "lib/std.mi"
Mr Jones is offline   Reply With Quote
Old 18th December 2006, 06:57   #3
xpqcad
Junior Member
 
Join Date: Sep 2005
Posts: 7
Hi!

Thats it! Thx for your help.
I just had to change the <> in the include statement to ""
xpqcad is offline   Reply With Quote
Old 18th December 2006, 06:59   #4
Mr Jones
Nothing to say...
 
Mr Jones's Avatar
 
Join Date: Sep 2000
Location: UK
Posts: 23,048
No problem.
Mr Jones is offline   Reply With Quote
Old 19th December 2006, 17:07   #5
TheElusiveMelon
Senior Member
 
TheElusiveMelon's Avatar
 
Join Date: Feb 2005
Location: Kent, England
Posts: 353
Yeah, with includes, if it doesnt want to work, just change from "" to <> or vice-versa, 9 times out of 10 it will probably work then.
TheElusiveMelon is offline   Reply With Quote
Old 11th March 2017, 00:45   #6
chinagreenelvis
Junior Member
 
Join Date: Nov 2009
Posts: 35
I'm trying to recompile suicore.m with slight changes, but I'm getting the same error. My folder structure is exactly what the Skin Development Pack installed.

I tried changing the brackets to quotes, but got the same error still.

Edit: Turns out I had to make all of the include paths relative to the script files and change the brackets to quotes.

Last edited by chinagreenelvis; 11th March 2017 at 02:31.
chinagreenelvis is offline   Reply With Quote
Old 11th March 2017, 02:54   #7
Victhor
Late skinner & Moderator
 
Victhor's Avatar
 
Join Date: May 2003
Location: Argentina
Posts: 1,400
Quote:
Originally Posted by chinagreenelvis View Post
I'm trying to recompile suicore.m with slight changes, but I'm getting the same error. My folder structure is exactly what the Skin Development Pack installed.

I tried changing the brackets to quotes, but got the same error still.

Edit: Turns out I had to make all of the include paths relative to the script files and change the brackets to quotes.
Indeed, it's a bit tricky. So you've compiled the script succesfully then?

· · TMCT · KOMODO X
Victhor is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump