As Thad said, you can compile directly on the Raspberry Pi. CMake is definitely the easier option.
Should be something like:
Code:
cd ntcore
cmake .
make
sudo make install
Then when you compile you would add the "-lntcore" flag to G++.
I remember Java giving some trouble with compiling. If it does run "cmake . -DWITHOUT_JAVA=true" instead.