I tried to make a project in pure C:#include "dislin.h"
int main ()
{
swgopt("russian", "coding");
chacod("utf8");
winfnt("Times New Roman");
int screen_width, screen_height;
getscr (&screen_width, &screen_height);
swgwin (0, 0, screen_width, screen_height);
swgtit ("Изучение Dislin study");
int id_main = wgini ("form");
int id_basbtn = wgbas(id_main, "form");
swgwin(30, 30, 350, 50);
wgpbut(id_basbtn, "Старт Start");
wgfin ();
return 0;
}
and included the disvс32bit.lib and disvс64bit.lib libraries in it.
When compiling, I get the following results:
Release-x86, x64; Debug-x64
Severity Code Description Project File Line Suppression State Details
Error LNK1104 cannot open file 'LIBCMT.lib' cDislin O:\MyProgramming\cDislin\LINK 1
Debug-x86
unresolved external symbol _swgopt referenced in function _main
unresolved external symbol _chacod referenced in function _main
unresolved external symbol _getscr referenced in function _main
unresolved external symbol _swgtit referenced in function _main
unresolved external symbol _swgwin referenced in function _main
unresolved external symbol _wgbas referenced in function _main
unresolved external symbol _wgfin referenced in function _main
unresolved external symbol _wgini referenced in function _main
unresolved external symbol _wgpbut referenced in function _main
unresolved external symbol _winfnt referenced in function _main
library machine type 'x64' conflicts with target machine type 'x86'
10 unresolved externals
I tried to attach the project archive with the zzp and kpp extensions, but again I received a warning that files of this type cannot be attached. Posted the project via the link https://disk .yandex.ru/d/1lupmmKDfk8Pug