Javier García <[EMAIL PROTECTED]>
writes:
>>I imagine your next step is to look at the library and see what symbols
>>it defines...
>
> thanks miles, but could you give some detail more? Im newbie to all this...

Unfortunately I don't know how to do any of this under windows / VS /
.net.

The basic idea is:  If the compiler says "FOO is undefined", and you
think "FOO" should be in library X, then list the exported symbols that
actually _are_ defined by X, and make sure FOO's there.

If it is, then there's some linking problem.  If it's not, then maybe
some library build problem or misunderstanding.

In unix-like systems, you can list the exported symbols of a library by
finding the library file -- e.g. "/usr/local/lib/lib3ds.a" and using the
"nm" command on it:

   $ nm -o /usr/local/lib/lib3ds.a |head
   /usr/local/lib/lib3ds.a:io.o:         U calloc
   /usr/local/lib/lib3ds.a:io.o:         U free
   /usr/local/lib/lib3ds.a:io.o:00000070 T lib3ds_io_error
   /usr/local/lib/lib3ds.a:io.o:00000050 T lib3ds_io_free
   /usr/local/lib/lib3ds.a:io.o:00000000 T lib3ds_io_new
   /usr/local/lib/lib3ds.a:io.o:00000110 T lib3ds_io_read
   /usr/local/lib/lib3ds.a:io.o:00000190 T lib3ds_io_read_byte
   /usr/local/lib/lib3ds.a:io.o:00000200 T lib3ds_io_read_dword
   /usr/local/lib/lib3ds.a:io.o:00000310 T lib3ds_io_read_float
   /usr/local/lib/lib3ds.a:io.o:00000250 T lib3ds_io_read_intb
   ...

The closest thing I've used to VS is Eclipse with java.  Eclipse lists
libraries along with your source files, so you can actually just open
them by clicking on the expand button and look inside to see what's
defined.

-Miles

-- 
"Most attacks seem to take place at night, during a rainstorm, uphill,
 where four map sheets join."   -- Anon. British Officer in WW I


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
lib3ds-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lib3ds-devel

Reply via email to