Sanayan,
Sorry for the delayed response to your PM's. Class all day today. Mondays...
I used this guide
http://www.eqemulator.org/forums/showthread.php?t=32980 as a basic skeleton. Some things are outdated (such as not using Cmake). I meant to reference this in my first response. Sorry for the confusion.
If you have any specific questions as you go along, feel free to ask. I'm sure if I cannot answer, some one can.
Have fun!