Monday, November 4, 2013

India launches its first mission to Mars on Tuesday, aiming to become the only Asian nation to reach the Red Planet with a programme designed to showcase its low-cost space technology.

A rocket carrying a 1.35-tonne unmanned probe will blast off at 02:38pm (0908 GMT) from the Sriharikota spaceport off the southeast coast, beginning a 300-day journey to study the Martian atmosphere.

The spacecraft will also collect scientific information about the planet's atmosphere and surface.

The Mangalyaan probe was set to launch on 28 October, but rough weather condition in the Pacific delayed the process by a week. If the mission succeeds, ISRO will become the fourth space agency, after those in the U.S., Europe and Russia to have successfully sent a spacecraft to Mars.

The golden-coloured probe, about the size of a small car or very large refrigerator, has been hurriedly assembled and will be carried by a rocket much smaller than American or Russian equivalents. Lacking the power to fly directly, the 350-tonne launch vehicle will orbit earth for nearly a month, building up the necessary velocity to break free from our planet's gravitational pull.

Only then will it begin the second stage of its nine-month journey which will test India's scientists to the full, five years after they sent a probe called Chandrayaan to the moon.

NASA, which will launch its own probe to study Mars on November 18, is helping ISRO with communications. Two ships stationed in the Pacific will also assist with monitoring.

Saturday, October 26, 2013

graphics.h in Ubuntu 13.04


While studying in my final year, I had to deal with Graphics Lab. I was working on a program that used the library file "graphics.h". I tried to compile the program using g++ compiler with following code.

g++ midpointcircle.cpp -lgraph

But unfortunately it didn't work. It produced some kind of error. I googled the error and came to know that graphics.h is not available in the standard g++ library.

So, what's the solution.
You need to install some extra packages.
1. Run the following command in the terminal to install necessary tools.
     sudo apt-get install build-essential


2. Then install some extra packages using the command
  sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 guile-1.8-dev libaudiofile-dev libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev libslang2-dev libasound2 libasound-dev

3. Download the package "libgraph-1.0.2.tar.gz" from the given link :
download.savannah.gnu.org/releases/libgraph/
4. Extract the package to the Home Folder

5. Run the following commands to install the package
cd libgraph-1.0.2
./configure
sudo make
sudo make install

sudo cp /usr/local/lib/libgraph.* /usr/lib


Now the installation is complete.

Try executing the file again
g++ midpointcircle.cpp -lgraph

I hope it works!!!