Thread: Codeblocks incompatible with Norton 360?

  1. #1
    Registered User
    Join Date
    Nov 2015
    Posts
    5

    Codeblocks incompatible with Norton 360?

    I have experienced this problem on computers running both Win 7 and Win 10. When I try to compile using codeblocks and the GNU gcc compiler I get a Norton pop up window that states: "Auto-protect has removed security risk SAPE-Heur.2e5e your computer is now secure". This causes the compile to be voided and will not build the program.

    Is this a known issue with Codeblocks? I do not have the same problem with the latest version of DevC but I would like to use Codeblocks to follow Chapeter 20 in Jumping into C++.

    Also, I have tried logging in to the Codeblocks user forum and, using one email address got no response to my sign in and with another address I got an email saying that they would be in touch with a validation email but I didn't ever hear from them again. This was weeks ago. Is the forum still viable?

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    Is this a known issue with Codeblocks?
    This is not a problem with Codeblocks, it is your anti-virus program doing it's job. You have probably not set the location of your project correctly so you either need to move the project to an appropriate directory or tell your anti-virus program that files in your project directories should not be scanned for viruses.

    Jim

  3. #3
    Registered User
    Join Date
    Nov 2015
    Posts
    5
    That is what I suspected. I got online with Norton and figured out how to block scanning of the appropriate directories and it is now working fine. I still think it is interesting that this was not an issue with DevC++.

    Thanks

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    I still think it is interesting that this was not an issue with DevC++.
    This is probably because the directory being used by DevC++ was a directory that was already set to be excluded from your AV scanning.

    Jim

  5. #5
    Registered User
    Join Date
    Jul 2014
    Location
    Central Arizona
    Posts
    61
    Hello kme and jimblumberg,
    I use codeblocks and another Norton Product and I occasionally have a program that is reports a SAPE-Heur virus too.
    My antivirus is supplied by my ISP so I can't get help from Norton and the ISP doesn't know how to fix it either.

    If it's not to much of a problem can you please let all of us here on C++ users board know how Norton told you to fix this problem.

    It's kind of weird in my case, since just one file out of a directory may show a virus and all the others work fine. One thing that might cause my problem is that I use File-->Empty File to write a lot of my programs on the editor and do not use a project file.

    One more point for other users Code::Blocks is an IDE it is not a Compiler, Editor, or a Debugger.

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    It's kind of weird in my case, since just one file out of a directory may show a virus and all the others work fine. One thing that might cause my problem is that I use File-->Empty File to write a lot of my programs on the editor and do not use a project file.
    You really should use a project. Using a project lets you easily set the compile and link options and several other useful features.

    It's kind of weird in my case, since just one file out of a directory may show a virus and all the others work fine.
    This may be because you only tried to compile the program more than once. The AV programs look for changes in the executable to detect possible sources of Viruses.

    What operating system are you using? Some of the more current Windows operating systems place more restrictions on where you should create your user files. I believe that if you happen to be trying to create directories in the "Program Files" directory you will likely have problems. I believe that you should be creating your projects/files in the "My Files" directory (or what ever they now call it).

    Perhaps some knowledgeable Windows user can shed more light as to the problem, since I'm only guessing because the last Windows Operating system I used for any length of time was Windows NT4.

    Jim

  7. #7
    Registered User
    Join Date
    Nov 2015
    Posts
    5
    Here are the instructions that Norton gave me for excluding files or folders. Don't know if you have access to the Norton Product to allow you to do this but it works for me.

    My Norton product incorrectly alerts that a file is infected, or a program or website is suspicious

    These steps are for the current version of the Norton products. If you have an older version or if you do not know your product version, go to Norton Update Center.

    What are false positives?



    • A false positive occurs when your Norton product incorrectly alerts that a file is infected, or a program or website is suspicious. Common indicators of a false positive are:

      • Your Norton product detects a threat in a file that you believe is unlikely to be infected (for example, files with extensions such as, *.txt, *.dbf, *.log, *.hlp).
      • Your Norton product alerts that a file or program developed and created by you or a legitimate company is suspicious, or is a threat
      • Your Norton product indicates that a legitimate website is malicious
      • Your Norton product blocks downloading a file as suspicious


    How to report a false positive?



    • Before submitting a false positive, make sure that your Norton product has the latest definition updates. Run LiveUpdate to install all the available updates for your Norton product.
      If the false positive still occurs with the latest definitions, report it to Symantec. The link to submit a false positive differs based on the exact detection, or the alert you receive.
      Report a Suspected Erroneous Detection (False Positive)


    What to do after you submit a false positive?



    • After submitting the file, wait until you receive the confirmation email from Symantec. In the mean time, you can try updating the definitions and scan the incorrectly detected file or application at frequent intervals.


    Exclude files or folders from scan



    1. If you are certain that the file is good, then you can exclude the files or folders from being scanned.
    2. Start your Norton product.
    3. Click Settings.
    4. Under Detailed Settings, click Antivirus.
    5. On the Scans and Risks tab, scroll down to Exclusions / Low Risks.
    6. Next to Items to Exclude from Auto-Protect, SONAR and Download Intelligence Detection row, click Configure.
    7. In the Real Time Exclusions window, click Add Folders or Add Files.
    8. Browse for and select the folders or files that you want to exclude from the scan, and then click OK.
    9. Click Apply, and then click OK.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with codeblocks
    By SilverClif in forum Windows Programming
    Replies: 6
    Last Post: 05-24-2011, 05:12 AM
  2. Norton Slow-Down
    By jmd15 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-19-2006, 04:21 PM
  3. Why is Norton so sensitive?
    By Queatrix in forum Tech Board
    Replies: 4
    Last Post: 08-17-2005, 12:54 PM
  4. Norton Firewall
    By MethodMan in forum Tech Board
    Replies: 4
    Last Post: 02-14-2003, 06:46 PM
  5. Norton Internet Security
    By MethodMan in forum Tech Board
    Replies: 9
    Last Post: 12-22-2002, 06:02 PM