18.02.2013, 17:13
(
Последний раз редактировалось [HLF]Southclaw; 25.02.2013 в 22:05.
)
SOLVED. I found out exactly why this happens, check last post.
I've found two files in my include list not being included into the compilation.
The include list looks like this:
The contents of each file is just a single function named "LoadGen_#()" with '#' following the file name convention (so inside "gen_ls.pwn" the function is "LoadGen_LS();") like this:
EVERY file is the same, for the purpose of debugging I removed the entire file contents of each file so each is left with a blank function. The functions are called from OnGameModeInit UNDERNEATH the includes, but obviously as the two aren't included they have "Undefined symbol" errors for the "LoadGen_" functions.
I even put a '#error' line inside the files to see if they were included but no compiler errors on those two files.
There isn't even a "fatal error 100: cannot read from file:" error on the compilation on those two files, yet if I alter the other include lines slightly it pops up with that error.
Why is this happening? Is it the file names? I changed from a mix of cases to all lower case, I also deleted the files and created new ones and still just those two files named gen_lv.pwn and gen_rob.pwn aren't included. I'm compiling this on windows and running it on the same PC.
I've found two files in my include list not being included into the compilation.
The include list looks like this:
pawn Код:
#include "../scripts/SSS/Maps/gen_ls.pwn"
#include "../scripts/SSS/Maps/gen_sf.pwn"
#include "../scripts/SSS/Maps/gen_lv.pwn" // NOT INCLUDED
#include "../scripts/SSS/Maps/gen_red.pwn"
#include "../scripts/SSS/Maps/gen_flint.pwn"
#include "../scripts/SSS/Maps/gen_bone.pwn"
#include "../scripts/SSS/Maps/gen_rob.pwn" // NOT INCLUDED
pawn Код:
LoadGen_LS()
{
}
I even put a '#error' line inside the files to see if they were included but no compiler errors on those two files.
There isn't even a "fatal error 100: cannot read from file:" error on the compilation on those two files, yet if I alter the other include lines slightly it pops up with that error.
Why is this happening? Is it the file names? I changed from a mix of cases to all lower case, I also deleted the files and created new ones and still just those two files named gen_lv.pwn and gen_rob.pwn aren't included. I'm compiling this on windows and running it on the same PC.