Finding Linker failed linker dependencies

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: imaqine, 99jonathan, roger

New User
Posts: 23
Joined: Sun Mar 09, 2008 10:26 am

Finding Linker failed linker dependencies

Postby RoboPAL » Sun Mar 09, 2008 10:33 am

Hi, I am porting a java robotics library to LejosNXT and am running into problem with library differences.

For example the linker reports

an error occurred: Class (file java/io/PrintStream.class) not found in CLASSPATH

Which tells me that somewhere in the library I am porting the printstream is being used - probably
However, since LejosNXT doesn't support this java/io/PrintStream class I get this linking error. Fair enough.

My question is: Can I get the linker to tell me in which class the java/io/PrintStream is being used so I can replace it with a compatible version?

leJOS Team Member
Posts: 965
Joined: Mon Feb 05, 2007 1:27 pm

Postby lawrie » Sun Mar 09, 2008 10:54 am

System.out and PrintStream are in the version of leJOS in SVN and will be in the next release.

There isn't currently anything in the linker that will do what you want. You will just have to search for usage of classes. In this sort of case, where the reference is indirect, I realise it is not that easy.

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 3 guests