I've compiled, how do I run it?

  • TheTempest
    26th May 2011 Member 0 Permalink
    I made my first element, and want to test it out.... how?
  • cctvdude99
    26th May 2011 Member 0 Permalink
    @TheTempest
    What compiler? Geez. Basic stuff.
  • TheTempest
    26th May 2011 Member 0 Permalink
    Never done this before, if you can't say something nice......

    What do you mean compiler? All I know is I have a completed Code::Blocks Project that I want to run as a program, IDK anything else about all this.
  • cctvdude99
    26th May 2011 Member 0 Permalink
    @TheTempest
    Press F9. Then read the bloody wiki (it says to press F9 in the wiki). Also, it actually has a run button in the top corner!!! It's like a play button.

    Code::Blocks = your compiler. I am new to coding, but I can at least string together a decent thread with basic information in it.
  • TheTempest
    26th May 2011 Member 0 Permalink
    I've done that, it says


    It seems that this project has not been built before. Would you like to build it?

    I click yes, and it gives me

    ||=== Build finished: 0 errors, 2 warnings ===|

    but nothing else happens, I click run again and it repeats the process.
  • cctvdude99
    26th May 2011 Member 0 Permalink
    @TheTempest
    Oh, you seem to be a compiling fail magnet, just like I was... (and still kinda am)
    If you go into the folder with all the project stuff in it, go to 'bin' then 'debug' (or release, I'm guessing you built in debug though). If the .exe is there, run it, then get the .dll's it asks you for. If it isn't there, I have no idea. Maybe try reinstalling MinGW? Make sure you add the C++ compiler.
  • TheTempest
    26th May 2011 Member 0 Permalink
    Yeah, there's NOTHING in my debug or release file :/ and I added the C++ compiler.
  • cctvdude99
    26th May 2011 Member 0 Permalink
    @TheTempest

    cctvdude99:

    Maybe try reinstalling MinGW?

    Just try it. It worked for me. :D
  • TheTempest
    26th May 2011 Member 0 Permalink
    ok, I'll give it a go
  • pilojo
    26th May 2011 Member 0 Permalink
    @TheTempest (View Post)
    C:\.... to source then \(project name)\bin\debug.
    If that don't work get http://www.teamviewer.com then convo me with id and pass.