Compiling vrpn with gcc

Post Reply
karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

Compiling vrpn with gcc

Post by karthiks »

Hello everyone,

Happy new year.

I tried compiling the vrpn client using gcc but I find no way to use the vrpn.lib. I have linked the library. I am sure it is using the correct library as when I change the name, the compiler tells me it cannot find the file. But, it always keeps telling me "undefined reference".

Any help would be appreciated. I am using code::blocks to compile.
Regards,

Karthik

jlegeny
Posts: 239
Joined: Tue Nov 02, 2010 8:51 am
Location: Mensia Technologies Paris FR
Contact:

Re: Compiling vrpn with gcc

Post by jlegeny »

Hello karthiks,

what OS are you using? .lib libraries are Windows specific and cannot be used on Linux for example.

In order to help you we will need more details about your setup.

Cheers
Jozef

karthiks
Posts: 78
Joined: Thu Sep 02, 2010 2:43 pm
Location: Université Libre de Bruxelles

Re: Compiling vrpn with gcc

Post by karthiks »

jlegeny wrote:Hello karthiks,

what OS are you using? .lib libraries are Windows specific and cannot be used on Linux for example.

In order to help you we will need more details about your setup.

Cheers
Jozef
Hey Jozef,

I am using Windows 7 32 bit. I had the same issue when I was trying to compile stand-alone VRPN clients using Eclipse too. It only compiles well with MSVC++ 2010 express which leads me to think that the libraries may have been compiled with MSVC.
Regards,

Karthik

Post Reply