It compiles,produces the .o file.But Iam getting the following Link Errors.
Iam sending as attachment a file Pjt.h which contains all the undefined references.
In my token.cpp contains the main() Func
& Iam DECLARING #include "PJT.h" there
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 14.
/usr/bin/ld: Dwarf Error: Could not find abbrev number 784.
obj/Token.o: In function `main':
obj/Token.o(.text+0x1ed): undefined reference to `pjtOpenStep'
obj/Token.o(.text+0x1f2): undefined reference to `pjtGetFirst'
obj/Token.o(.text+0x326): undefined reference to `pjtGetNext'
obj/Token.o(.text+0x362): undefined reference to `pjtClose'
collect2: ld returned 1 exit status
make: *** [Test] Error 1
It looks like you're compiling code that uses pjt* functions, but
you're not actually linking the pjt* functions into the program.
You should have something like:
I was able to compile & Run it.I gave the library name & the library path.The problem was my Library was named LIBPJT.A(In capital).I renamed the library to small letters & then everything was running fine.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.