which version of 3dgs are you using... Go to help>about and type what it says there here... Example > Gamestudio commercial 6.40.2/wed v6.723
Yours may differ...
Also did you use snap to build your levels?
Im not sure if I understand your problem correctly? Is it compiling but just taking very long... Or is it not compiling at all?