Old 26th October 2002, 21:33   #1
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
#include error

C:\PROGRA~1\Winamp3>mc song_current
MC - Maki Compiler v1.1.1.b3
(c)2001, Nullsoft Inc.

Preprocessing...
#include Lib\std.mi: file not found at song_current.m:1
Preprocessor error, aborting
Exited with code 6

any ideas why it can't find std.mi?
ann-dee-roo is offline   Reply With Quote
Old 26th October 2002, 21:38   #2
allhailskippy
Member
 
Join Date: Oct 2002
Posts: 90
just a guess... but shouldn't there be a space?

#include Lib \std.mi

not

#include Lib\std.mi

?
allhailskippy is offline   Reply With Quote
Old 26th October 2002, 21:39   #3
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
no, "Lib" is a directory, not a command
ann-dee-roo is offline   Reply With Quote
Old 26th October 2002, 22:12   #4
The Rhino
Major Dude
 
The Rhino's Avatar
 
Join Date: Nov 2001
Location: Florida
Posts: 1,069
ok that error is telling u where ur trying to find std.mi it is not really there so if ur are say in your
>winamp skin folder
>>>blah skin
>>>>>>script folder for blah skin
then it should be
#include "../../../lib/std.mi"
not what u have
The Rhino is offline   Reply With Quote
Old 27th October 2002, 07:48   #5
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
the script i am trying to compile is in c:\program files\winamp3 and so lib/std.mi should work should it not?
ann-dee-roo is offline   Reply With Quote
Old 27th October 2002, 08:23   #6
allhailskippy
Member
 
Join Date: Oct 2002
Posts: 90
you should have your script at the very least in your skin folder.. usually people put it in their skinname/scripts/ folder

in which case the line is

#include "../../../lib/std.mi"

if you just want to put it in your skinname folder go with

#include "../../lib/std.mi"
allhailskippy is offline   Reply With Quote
Old 27th October 2002, 19:21   #7
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
1) I'm not writing this script for a skin
2) The path should work anyways
3) It's not, why?
ann-dee-roo is offline   Reply With Quote
Old 27th October 2002, 19:50   #8
allhailskippy
Member
 
Join Date: Oct 2002
Posts: 90
maybe try "./lib/std.mi"

to make it realize that you want it in the current folder.
allhailskippy is offline   Reply With Quote
Old 27th October 2002, 20:49   #9
DirtyLowMoFo
Member
 
Join Date: Aug 2002
Posts: 58
use...
#include <lib/std.mi>
DirtyLowMoFo is offline   Reply With Quote
Old 27th October 2002, 23:02   #10
ziege
Senior Member
 
ziege's Avatar
 
Join Date: Oct 2002
Location: UK
Posts: 363
Thanks DirtyLowMoFo, I was having the exact same problem, it works fine now
ziege is offline   Reply With Quote
Old 28th October 2002, 00:59   #11
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
It doesn't work for me, that's what i originally had it at.
I think maybe mc.exe is corrupted.
ann-dee-roo is offline   Reply With Quote
Old 28th October 2002, 02:43   #12
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
I re-installed winamp3 on the offchance that the Maki Compiler was corrupted, but still the same problem. Can someone please help?
ann-dee-roo is offline   Reply With Quote
Old 28th October 2002, 03:02   #13
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
Could you attach the script you are trying to use? Or at least post all of the lines in your .m before and including the #include?
~FrisbeeMonkey
frisbeemonkey is offline   Reply With Quote
Old 28th October 2002, 03:24   #14
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
#include <lib/std.mi>

Global Browser myBrowser;
Global Timer submitTimer;
system.onScriptloaded() {
group browserGroup = getScriptGroup();
myBrowser = browserGroup.findObject("BrowserID");
submitTimer = NEW Timer;
submitTimer.setDelay(5000);
submitTimer.start();
}

system.onScriptUnloading(){
delete submitTimer;
}

submitTimer.onTimer() {
string submitURL = "http://24.68.98.82/song_current.php?title=";
myBrowser.navigateURL(submitURL+getPlayItemString());
}
ann-dee-roo is offline   Reply With Quote
Old 28th October 2002, 04:08   #15
Hollow
Major Dude
 
Hollow's Avatar
 
Join Date: Oct 2001
Location: Baker Lab, Ithaca NY
Posts: 1,128
Send a message via AIM to Hollow
This may not be all that constructive, but I have never been able to the compiler relative paths to work.

The moon is made of cheese.
Oh for some tasty moon cheese.
www.redtetrahedron.org
Hollow is offline   Reply With Quote
Old 28th October 2002, 04:12   #16
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
Hmm, well, I dropped that in my winamp3 directory and it compiled fine for me. Your song_current.m is in your winamp3 directory, no subdirectories, right? And you didn't move/rename std.mi? I'm attaching a zip with mc.exe as well as a copy of your compiled script in case either of those are of use to you. Other than that, I really have no idea why it's not working for you.
~FrisbeeMonkey
Attached Files
File Type: zip adr.zip (56.8 KB, 99 views)
frisbeemonkey is offline   Reply With Quote
Old 28th October 2002, 12:40   #17
Da_Pipe
Senior Member
 
Join Date: Sep 2002
Location: Home
Posts: 317
Send a message via ICQ to Da_Pipe Send a message via Yahoo to Da_Pipe
this is what i use.
#include "lib/std.mi"
Da_Pipe is offline   Reply With Quote
Old 28th October 2002, 18:58   #18
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
Thanks frisbeemonkey. Is there anyway that it is a platform specific problem? I am running WinXP Pro as administrator, so I wouldn't expect any problems. Does anyone have problems using mc.exe with winxp pro?
ann-dee-roo is offline   Reply With Quote
Old 28th October 2002, 19:28   #19
Gonzotek
Gunslinger
 
Gonzotek's Avatar
 
Join Date: May 2000
Location: Terminus
Posts: 4,693
No problems with XP home.

How are you calling mc? Directly by commandline, via a batch file, or in some other way (like Crimson Editor's User Tools)?

-=Gonzotek=-

I was away for a while.
But I'm feeling much better now.
Gonzotek is offline   Reply With Quote
Old 28th October 2002, 19:39   #20
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
i've tried both via command line and batch file, both return the same result. I really need help with this, it's driving me mad. That script that frisbeemonkey compiled for me has a guru meditation and it's a stick up my ass. HELP!

Last edited by ann-dee-roo; 28th October 2002 at 20:47.
ann-dee-roo is offline   Reply With Quote
Old 28th October 2002, 21:07   #21
ann-dee-roo
Member
 
Join Date: Jun 2002
Posts: 64
Okay, I should have done what daPipe said along time ago. using #include "lib/stc.mi" worked. stupid stupidness. Thanks for all your help guys.
ann-dee-roo 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