View previous topic :: View next topic |
Author |
Message |
qt
Joined: 23 Aug 2005 Posts: 46 Location: Berlin, Germany
|
Posted: Mon Nov 30, 2009 12:44 pm Post subject: .obj files in FTN95 Visual Studio projects are not linked |
|
|
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 |
|
Back to top |
|
 |
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Wed Dec 09, 2009 12:02 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Wed Dec 09, 2009 1:58 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
Andrew
Joined: 09 Sep 2004 Posts: 232 Location: Frankfurt, Germany
|
Posted: Wed Dec 09, 2009 2:07 pm Post subject: |
|
|
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). |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Wed Dec 09, 2009 4:00 pm Post subject: |
|
|
I think you are right. You just provide the name of the object file in this field without the "-lo" prefix. |
|
Back to top |
|
 |
|