- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was contacted by an friend about a problem he is having creating a .dll for a math program known as Matlab. Matlab supplies an API enabling one to write functions in fortran using CVF. He has written a simple function that is suffering from many problems. They seem to be related to linking against CXML. If the CXML statements are commented out, there aren't problems. If they are not, copious badness ensues. Are there any special compiler or linker options that should be chosen when using libs such as CXML? (I've also had problems with the Intel MKL)
Many TIA,
Matt
Many TIA,
Matt
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What are the problems?
I think I would recommend linking against the DLL form of CXML if you are building a DLL - USE CXML_DLL_USE to get that.
Steve
I think I would recommend linking against the DLL form of CXML if you are building a DLL - USE CXML_DLL_USE to get that.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The CXML developers tell me that they prefer you use:
INCLUDE 'CXML_INCLUDE.F90'
which does "the right thing" if you are building a DLL or not. But if you are building an application which links against a Fortran DLL, you should perhaps USE CXML_DLL_USE anyway.
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page