User forums > Help

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

<< < (2/3) > >>

BlueHazzard:


--- Quote from: stahta01 on August 25, 2016, 05:16:07 pm ---It is likely that the Anti-Virus on the one computer is deleting the exe.

--- End quote ---

you probably have not turned off your antivirus

Athul:

--- Quote from: BlueHazzard on August 30, 2016, 03:44:38 pm ---

--- Quote from: stahta01 on August 25, 2016, 05:16:07 pm ---It is likely that the Anti-Virus on the one computer is deleting the exe.

--- End quote ---

you probably have not turned off your antivirus

--- End quote ---


It was working fine for the first month. I was using the same anti-virus back then and I don't have an internet connection at home  so I'm pretty sure that it hasn't made any update.  Also in my second computer I use the same antiviru s and program works fine in that too

I made a video

https://youtu.be/liwKSmKLXSk

BlueHazzard:
i can't reproduce this...

Is your application, or the console runner of the hello world still running? You have to look in the task manager...


--- Quote from: Athul on August 31, 2016, 08:51:57 am ---It was working fine for the first month. I was using the same anti-virus back then and I don't have an internet connection at home  so I'm pretty sure that it hasn't made any update.  Also in my second computer I use the same antiviru s and program works fine in that too

--- End quote ---
New Anti Virus work on heuristics and not on signature, so they don't have to work deterministic. The same anti virus on two different machines don't have to detect the same file if the previous history of the file is not the same. For example the file what does first A then B and then C on one pc 1 but only does B and C on pc 2 can trigger the anti virus on pc 1 but not on pc 2...

This error pops up if the output file does not change or is not existent, so can you check if there is a exe in your bin folder after building?
If there is no exe there are three most probably answers:
1) You don't have write access to the output directory (this not your case, because the file was build the first time)
2) You don't have write access to the output file (for example the file is still executed, but this is also unlikely because then the compiler would have thrown a error about not be able to open the file for writing)
3) The anti virus deletes the file, or blocks the access after the compiler created it... (possible because after the first run your exe did "Hello wordl" but on the second run it did something else)

hope this helps
greetings

Athul:
Yes, It was the anti-virus messing with the some file.

I added the project folder to the "exclusion list" of anitvirus.

What I don't understand is that, In the video If change array elements from 5 to 3 , it works(Anti-virus is not causing any trouble), but with 5 it doesn't work. That's why I thought it wasn't an antivirus problem.

Thanks for the help

danonti:
I am having this same issue. My virus protection is disabled so that isn't causing the issue for me. When i try to build, this is what i see under Build Log:

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

Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).


I am very new to C++ and code blocks so any help would be appreciated.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version