slenkar
23-11-2010, 03:24 PM
i am 'using' classes in my program and it has worked until recently.....
when i 'use' it in a unit it says there is a circular reference so it doesnt compile
when i remove all references to 'classes' it cant compile SDL for some reason
when I just put 'classes' in the main file it says 'cant find classes used by project1'
I downloaded the FPC source and pointed lazarus to the source folder successfully but still got the same error.
-edit NEVERMIND
i created a unit called 'types' which conflicts with a normal pascal unit
when i 'use' it in a unit it says there is a circular reference so it doesnt compile
when i remove all references to 'classes' it cant compile SDL for some reason
when I just put 'classes' in the main file it says 'cant find classes used by project1'
I downloaded the FPC source and pointed lazarus to the source folder successfully but still got the same error.
-edit NEVERMIND
i created a unit called 'types' which conflicts with a normal pascal unit