Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / [SOLVED] Failed to compile project, it must contain main.agc file in the project directory

Author
Message
AquilaCoder
User Offline
Joined: 21st Apr 2024
Location:
Posted: 21st Apr 2024 20:43
I have AppGameKit Classic 2 on Windows 10, from Steam. I've tried to read how to fix this but to no avail. I've remade my project 3 times, first removing spaces then giving it a name with nothing but lower case letters. I've tried uninstalling and reinstalling. When I look at the File>Properties of main.agc, the path reads C:/...main.agc; I can't find another way to see if it's in the directory.

So, how can this be fixed?

The author of this post has marked a post as an answer.

Go to answer

AquilaCoder
User Offline
Joined: 21st Apr 2024
Location:
Posted: 23rd Apr 2024 15:30
This post has been marked by the post author as the answer.
Found a fix. As I hovered the mouse over main.agc in the left menu, it showed its directory as C/.../.../.../main.agc, not the actual directory. I moved my project file to another folder in the C drive, deleted main.agc from the project and made a new one, copying and pasting the code over, and it worked. Directory showing correctly, program running.

Login to post a reply

Server time is: 2024-11-07 04:32:17
Your offset time is: 2024-11-07 04:32:17