Open Alalo1 opened 7 years ago
Try downloading/using Visual Studio. Cmake works a lot better with Visual Studio compared to Codeblocks in my experience
You need to open the .cbp, not main.cpp
I've been looking in every folder and can't seem to find any .cbp files.
If you ran cmake with a codeblocks generator, it should have created one in the Build directory
I searched for .cbp files in the build directory and these are the only two that appeared, and when I open either of them, it's just a blank project.
The project file that you should open is called Glitter. When you open it you should be able to navigate through subfolders to Sources/main.cpp
This is what my screen looks like after I open the glitter project file. It doesn't load up.
It says "Glitter" on the top; that means your project is open. You can now open main.cpp using File->Open
I was able to build the program, but when trying to run it, it says I "can't run a commands only target" -- sorry for taking up this much time but I just want to be able to do the homeworks already.
The executable will be somewhere like Build/Glitter/Debug and will be called Glitter. You can double click it from a file manager or do something like ./Glitter from the command line. When it runs you should see a new gray window.
There is no such file in my build folder, and there is no debug file either
Did you compile the program?
Yes
These are directories. Follow the path Build/Glitter/Debug
There is no debug directory for me
It should have been created by cmake and compiling. Try compiling again to make sure it works. You may have to remove everything from the build directory and start over.
Does this for all the files included in main.cpp
TIA