win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key cheap Win 7 key win 7 professional Windows 7 key windows-7-ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key store Windows 7 Professional Product Key Windows-7-Ultimate-Product-Key windows-7-home-premium buy Windows 7 key Office-2013-key office-professional-plus-2013 Office-2010-key Office-2016-key windows 8 key windows-8-key-sale windows 8.1 key windows 8.1 product key windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key win 7 key Win 7 key product key Win 7 ultimate key Win 7 key sale Windows 7 professional windows 7 Pro key Windows 7 key windows 7 ultimate Windows 7 ultimate key Windows 7 product key Windows 7 key sale Windows 7 iso windows 7 home premium windows 7 home Office 2013 key Office 2013 Professional Office 2010 key office 2010 product key Office 2016 key office 2016 product key office 2016 pro key windows 8 key windows 8 key sale Windows 8 pro windows 8.1 key windows 8.1 product key windows 8.1 professional windows 10 key windows 10 product key Windows 10 product key Windows 10 Pro Product Key windows 7 home Windows 7 professional windows 7 pro windows 7 key Windows 7 professional windows 10 product key windows 10 key windows 8 key Windows 8.1 professional windows 8.1 pro office 2013 key office-2010 serial key office 2010 key windows 10 key windows 7 home premium windows 7 ultimate windows 8.1 key windows 8 professional windows 7 ultimate windows 7 key windows 7 home windows 7 activation key win 10 professional office 2010 key Windows 7 Product Key Windows 7 Key Windows 7 iso Windows 7 ultimate

Reflection with Java-style Annotations in C++ on Linux (Part 2 of 3)

Part 2 – Linux (Fedora Core 20 32-bit and 64-bit)

For part 2 of this article, I tested out the instructions using a Fedora Core 20 installation on a virtual machine created with Oracle VirtulBox and the Fedora Core 20 (32-bit, and 64-bit) Live DVDs.

  • Fedora-Live-Desktop-i686-20-1.iso
  • Fedora-Live-Desktop-x86_64-20-1.iso

These instructions should work on most, if not all distributions of linux, if you run into any problems, please post them as comments or message me directly and I will be more than happy to assist you.

For different platforms, see the other parts of this series:

Step 1

Enable Port Forwarding on your Virtual Machine

I like to access my virtual Machine via Putty, so I set the following Port Forwarding Rules:

( Settings -> Network -> Adapter 1 -> Advanced -> Port Forwarding )

Protocol – Host IP – Host Port – Guest IP – Guest Port

TCP – 127.0.0.1 – 2222 – 10.0.2.15 – 22

(and make sure you unmount the Fedora Live Disk before restarting your virtual machine!)

Step 2

Enable SSH Daemon on your Virtual Machine

Turn your virtual machine back on and login interactively and enabled SSHD via:

sudo chkconfig sshd on
sudo service sshd start

Step 3

Enable Sudo without password.

Start Putty and ssh in from your locahost and edit the “sudo users” file by issuing the command:

sudo visudo

Then in the subsequent editor, uncomment the line that says:

#%wheel  ALL=(ALL)       NOPASSWD: ALL

becomes:

%wheel  ALL=(ALL)       NOPASSWD: ALL

Step 4

Update all Packages (may take a few minutes)

From your putty session, issue the following command to update all packages:

sudo yum update

Note: If you are getting one of those invalid certificate errors, it could be because your employer is blocking those certificates, you can get around this by modifying your /etc/yum.conf file and by adding the following line to allow unsecured ssl connections:

sslverify=0

Step 5

Install a bunch of developer tools, including GccXml:

sudo yum install gccxml git automake make cmake gcc gcc-c++ libtool

Step 6

Install Reflex Reflection library

git clone git://github.com/GiannisRambo/Reflex.git
cd Reflex
build/autogen
./configure --enable-minimal
make
sudo make install
echo "export LD_LIBRARY_PATH=/usr/local/lib:\$LD_LIBRARY_PATH" >> ~/.bash_profile
 source ~/.bash_profile

Step 7

Run Sample Reflection Application

cd SampleReflectionApp
make
./SampleReflectionApp

Part 2 – Linux (Fedora Core 20 32-bit and 64-bit)

For part 2 of this article, I tested out the instructions using a Fedora Core 20 installation on a virtual machine created with Oracle VirtulBox and the Fedora Core 20 (32-bit, and 64-bit) Live DVDs.

  • Fedora-Live-Desktop-i686-20-1.iso
  • Fedora-Live-Desktop-x86_64-20-1.iso

These instructions should work on most, if not all distributions of linux, if you run into any problems, please post them as comments or message me directly and I will be more than happy to assist you.

For different platforms, see the other parts of this series:

Step 1

Enable Port Forwarding on your Virtual Machine

I like to access my virtual Machine via Putty, so I set the following Port Forwarding Rules:

( Settings -> Network -> Adapter 1 -> Advanced -> Port Forwarding )

Protocol – Host IP – Host Port – Guest IP – Guest Port

TCP – 127.0.0.1 – 2222 – 10.0.2.15 – 22

(and make sure you unmount the Fedora Live Disk before restarting your virtual machine!)

Step 2

Enable SSH Daemon on your Virtual Machine

Turn your virtual machine back on and login interactively and enabled SSHD via:

sudo chkconfig sshd on
sudo service sshd start

Step 3

Enable Sudo without password.

Start Putty and ssh in from your locahost and edit the “sudo users” file by issuing the command:

sudo visudo

Then in the subsequent editor, uncomment the line that says:

#%wheel  ALL=(ALL)       NOPASSWD: ALL

becomes:

%wheel  ALL=(ALL)       NOPASSWD: ALL

Step 4

Update all Packages (may take a few minutes)

From your putty session, issue the following command to update all packages:

sudo yum update

Note: If you are getting one of those invalid certificate errors, it could be because your employer is blocking those certificates, you can get around this by modifying your /etc/yum.conf file and by adding the following line to allow unsecured ssl connections:

sslverify=0

Step 5

Install a bunch of developer tools, including GccXml:

sudo yum install gccxml git automake make cmake gcc gcc-c++ libtool

Step 6

Install Reflex Reflection library

git clone git://github.com/GiannisRambo/Reflex.git
cd Reflex
build/autogen
./configure --enable-minimal
make
sudo make install
echo "export LD_LIBRARY_PATH=/usr/local/lib:\$LD_LIBRARY_PATH" >> ~/.bash_profile
 source ~/.bash_profile

Step 7

Run Sample Reflection Application

cd SampleReflectionApp
make
./SampleReflectionApp

Leave a Comment