Silverfrost Forums

Welcome to our forums

.obj files in FTN95 Visual Studio projects are not linked

30 Nov 2009 11:44 #5461

We have added some .obj files in FTN95 Visual Studio (2005 and 2008) projects. They have not been considered by the linker, so we got some unresolved externals. To link in .lib project files seem to work (a customer told me that - I haven't tried yet). Is there some way to link .obj files in an FTN95 VS project?

Thanks for any reply on that topic.

Kind regards,

Jörg Kuthe www.qtsoftware.de

9 Dec 2009 11:02 #5514

There is no way at present to be able to link obj files via Visual Studio. The user, as you correctly point out, create a lib from the obj files and link that.

9 Dec 2009 12:58 #5516

Are you sure that this cannot be done via the 'Extra linker options' that are available in a Plato (and I assume also a VS) project?

I cannot remember the format but I would guess '-lo something.obj'. I can check this out later if it helps.

9 Dec 2009 1:07 #5517

You are right of course Paul, thanks - I forgot about this.

If you navigate to the project properties and select 'Linker Options', you can enter any other linker options you like in the 'Extra linker options' field. Here you can specify object files to link (or any other settings that are not settable via the UI).

9 Dec 2009 3:00 #5518

I think you are right. You just provide the name of the object file in this field without the '-lo' prefix.

Please login to reply.