Sunday, February 17, 2013

How to run a makefile in windows?

Q. I know at school we run it on linux but i have windows on my laptop and im using visual studios 2010 for C++ (express) - can someone please explain what i need to download/do to run makefiles?

A. I don't believe that Visual Studio has any facility for handling a "makefile".

What you can do is download the MinGW C++ compiler.

http://www.mingw.org

Unzip the download into a known location, such as "C:\mingw" on XP, or
"C:\Users\USERNAME\AppData\Local\MinGW" on Windows 7.

Calling that {mingw} to represent whichever case you have:

Set your PATH to include {mingw}\bin and {mingw}\msys\1.0\bin.

The MinGW package includes not only a C++ compiler, but a Bash shell script, awk, sed, grep, and a slew of other UNIX commands that will run on the Windows machine. For your interest, it happens to also include the "make" command, which will process your "makefile".

It might end up running the MinGW compiler against your C++ code, when you might have wanted it to use the Visual Studio compiler, but you can cross that bridge when you come to it.

How can I open a zip file on a Linux OS?
Q. I reaceently installed the LInux Fedora OS in my PC and now the sound is not working, does anybody know what can I used and or do to open a zip file?
Thanks in advance

A. There is a program called zip or unzip. Do a yum install zip or yum search zip from the command line (as root) then unzip the file using that.

http://www.cyberciti.biz/tips/how-can-i-zipping-and-unzipping-files-under-linux.html

Why wont my downloaded version of wordpress work?
Q. I downloaded wordpress from wordpress.org and it downloaded it as a zipped folder, I unzipped it but it is still just alot of documents and folders and files and I have no idea how to set it up. I know other people have had this problem, any advice?

A. you need a running server (apache/php/mysql). [apache is reccommended, but not required)
It might be easier to sign up for a free hosting plan, so you don't have to think about the server-part

However if you'd prefer to have wordpress on your own computer:
http://php.net/manual/en/install.php
http://httpd.apache.org/docs/1.3/windows.html
http://dev.mysql.com/doc/refman/5.1/en/windows-installation.html

I took it that you're a windows user, if you have a linux distribution on you computer, you should be able to find these software packages in the repositories



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment