Jump to content

C++ Development environment attacked by viruses. GNU make file destroyed! HELP!

- - - - -

  • Please log in to reply
8 replies to this topic

#1
Yuriy M

Yuriy M

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
Hi guys.

My C++ dev environment was recently infected with 23 viruses and after having my anti-virus software remove them, I discovered that in the process, my Make file was removed as well. Therefore, I am unable to create executable files from my programs. I've never been in a situation like this before but did manage to find a GNU Make file from this site: GNU Make - GNU Project - Free Software Foundation

However, there are so many files included with it that I'm not sure what I have to do to get the problem fixed. A walkthrough would be nice. Thanks. :)
For $1000: Something that is a miserable pile of secrets.

#2
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
You can't just download any makefile. What were the source files? Maybe you can write another makefile to replace the deleted one.
Latinamne loqueris?

#3
Yuriy M

Yuriy M

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
Pardon my ignorance but which folder would I find them in?

---------- Post added at 08:49 PM ---------- Previous post was at 08:16 PM ----------

Okay, heads up. I recently downloaded the latest beta version of Bloodshed Dev C++ which had additional MingGW source and binary files and it appears to have solved the problem. So everything is smooth sailing here, guys. Thanks anyway. :)
For $1000: Something that is a miserable pile of secrets.

#4
Flying Dutchman

Flying Dutchman

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 889 posts
  • Location:::1
Dev-C++ is bad choice since it's no longer being developed/supported. I'd recommend Code::Blocks, or maybe even NetBeans with C++ plugin. You can always choose a simple notepad and compile by hand.
A conclusion is where you got tired of thinking.
#define class struct    // All is public.

#5
Yuriy M

Yuriy M

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
How big are those files?
For $1000: Something that is a miserable pile of secrets.

#6
mebob

mebob

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 490 posts
Code::Blocks? My Code::Blocks installation is about 40 MB, without MinGW. NetBeans is a bit bigger: My installation is about 220 MB.
Latinamne loqueris?

#7
Yuriy M

Yuriy M

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
Thanks for the advice but I will stick to what works for me.
For $1000: Something that is a miserable pile of secrets.

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
At the very least, upgrading to wxDev-C++ will give you a more up-to-date package, including the compiler.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 551 posts
  • Location:/etc/passwd
Also it's more likely that your anti-virus software saw a danger in your make-file that may not have existed. You should have checked it by hand, if it was anything other than a small text file then you may have a risk.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users