User forums > Help

It seems like project has not been built yet. Do you wan to build it now?

(1/3) > >>

Athul:
Hi,

       Code blocks been working fine for me. But yesterday whenever I try to compile a small program a window appears showing

It seems like project has not been built yet. Do you wan to build it now?
I also found similar questions but in all of them not a single program is working. But in mine "hello world!" program and some other programs are working.

This is the code:


--- Code: ---#include <iostream>
using namespace std;

void print(int b[], int s);

int main()
{
    int a[5] = {1,2,3,4,5};
    print(a, 5);
}

void print(int b[] , int s){

    for(int i = 0; i < s; i++){

        cout << b[i] << endl;
    }
}
--- End code ---


I installed code blocks in another computer and it's working fine.

P.S I'm still learning C++

stahta01:
It is likely that the Anti-Virus on the one computer is deleting the exe.

But, it could be something else.

Please post a full rebuild log so we can look for something else as the cause.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.

Athul:
I followed the steps. Here's the rebuild log


-------------- Clean: Debug in aterMellon (compiler: GNU GCC Compiler)---------------

Cleaned "aterMellon - Debug"

-------------- Build: Debug in aterMellon (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -Wall -fexceptions -g  -c D:\aterMellon\main.cpp -o obj\Debug\main.o
mingw32-g++.exe  -o bin\Debug\aterMellon.exe obj\Debug\main.o   
Process terminated with status 0 (0 minute(s), 3 second(s))
0 error(s), 0 warning(s) (0 minute(s), 3 second(s))
 


stahta01:
Does it runs now or not?

I saw no problem in the build log.

Remember some MinGW GCC do NOT like spaces or non ASCII characters in the path.

But, I saw none of that in the build log you posted.

Tim S.

Athul:
It's still not running.

I installed code blocks in another system, used same compiler, run the same program it works . But in my desktop it's not.

I tried reinstalling, used cleaner softwares to delete temp files , still not working. I'll try to upload a video if I can

Navigation

[0] Message Index

[#] Next page

Go to full version