Link dislin library lib in Visual Studio 2022

19 views
Skip to first unread message

Karo Lina

unread,
Jul 6, 2022, 4:30:18 AM7/6/22
to dislin-users
Hi all, 

i have some problems to link the DISLIN library in Visual Studio 2022. i use the intel frotran compiler and i tried to run the dislin examples and i have errors like:

 " disifl.lib(qqwini.obj) : error LNK2019: unresolved external symbol __imp_CreatePen referenced in function qqwini "

Do somebody have an idea whats wrong?

Many thanks in advance! 

Best Regards
Karo 


Helmut Michels

unread,
Jul 6, 2022, 6:49:52 AM7/6/22
to dislin-users
Hi Karo,

have you added the system libraries user32.lib and gdi32.lib to your library settings? The function
CreatePen is included in gdi32.lib.

With best regards,

Helmut

Karo Lina

unread,
Jul 6, 2022, 7:38:23 AM7/6/22
to dislin-users
Hi Helmut, 

thank you for the quick reply. Now i added the system libraries and it works. Thanks a lot!
Have a nice day! 
Best Regards
Karo 

Reply all
Reply to author
Forward
0 new messages