- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all, can anyone help me?
I have static library project (evrything is in the module) where:
module xxx
...
...
type MyType
integer int1
integer int2
end type MyType
...
...
end module
in the source file of another project I made reference to previous module and tried to define a variable but it does not work:
...
...
use xxx
...
...
type(MyType) myvar
...
...
A xxx.mod file is "visible" to project so I do not know what is wrong (if this is possible at all :-).
Thank for help in advance
I have static library project (evrything is in the module) where:
module xxx
...
...
type MyType
integer int1
integer int2
end type MyType
...
...
end module
in the source file of another project I made reference to previous module and tried to define a variable but it does not work:
...
...
use xxx
...
...
type(MyType) myvar
...
...
A xxx.mod file is "visible" to project so I do not know what is wrong (if this is possible at all :-).
Thank for help in advance
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both the MOD and the LIB files must be visible to the user.
Also the LIB file must be added to the project.
If the library is general purpose enough you may want to put them in the INCLUDE and the LIB folders of the DVF installation.
Tim
Also the LIB file must be added to the project.
If the library is general purpose enough you may want to put them in the INCLUDE and the LIB folders of the DVF installation.
Tim
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