Using GMCS to compile csharp on a linux box. Only 2 files at the moment. How do you get gmcs to see other .cs scripts? I have
MapGenerator.cs which contains “using PerlinGenerator;”
PerlinGenerator.cs is in the same directory. WHen I compile:
> gmcs MapGenerator.cs
MapGenerator.cs(2,7): error CS0246: The type or namespace name `PerlinGenerator' could not be found. Are you missing a using directive or an assembly reference?
MapGenerator.cs(10,17): error CS0246: The type or namespace name `PerlinGenerator' could not be found. Are you missing a using directive or an assembly reference?
MapGenerator.cs(2,7): error CS0246: The type or namespace name `PerlinGenerator' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 3 error(s), 0 warnings
same using
gmcs -v -lib:/home/me/cs/ MapGenerator.cs
where /home/me/cs is where both files are.
Googled this but I think I’m barking up the wrong tree. Should I be using an arg other than -lib?