Посоны, помогите с OpenGl fortran

ele464386751

Сто лет уже не писал ничего на фортране, а вот тут вдруг понадобилось. Решил сразу и ОПЕНГЛ воспользоваться. Вроде все норм, но ошибка не пойму от чего:
1>glaux.lib(glaux.obj) : error LNK2019: unresolved external symbol __imp__M16 referenced in function _auxIn8

0000

Указанный lib файл в проекте прописал?

ele464386751

да, и путь к нему указал.
ошибка где-то тут появляется
            CALL FAUXINITDISPLAYMODE(IOR(AUX_SINGLE,AUX_RGB
CALL FAUXINITPOSITION(0,0,W,H)
RESULT=FAUXINITWINDOW(TITLE)

marat7256

error LNK2019: unresolved external symbol __imp__M16 referenced in function _auxIn8
Вот ответ на каком-то нерусском форуме.
ya lo he resuelto , compartire la solucion con uds por si alguno tiene el mismo problema:
faltaba agregar las siguientes librerias:
#pragma comment(lib, "kernel32.lib")
#pragma comment(lib, "user32.lib")
#pragma comment(lib, "gdi32.lib")
#pragma comment(lib, "AdvAPI32.Lib")
luego compilo y ejecuto 100% bien.
saludos cristobal
Use google, Luke.

ele464386751

Не помогло. Но все равно спасибо. Хотя было написано, что # это
warning ad # preprocessor line

ava3443

unresolved external symbol __imp__M16
User32.lib отсутствует в списке import libraries

ele464386751

 
$(TargetDir)$(TargetName).lib User32.lib
сделал так, но ничего не заработало. Скачать надо ее?
UPD. C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib тут есть User32.lib

ele464386751

У меня какое-то непонятное чувство, что я где-то не правильно пути прописал

ele464386751

Полный список
1>Linking...
1>glaux.lib(glaux.obj) : error LNK2019: unresolved external symbol __imp__M16 referenced in function _auxIn8
1>glaux.lib(tk.obj) : error LNK2001: unresolved external symbol __imp__M16
1>glaux.lib(glaux.obj) : error LNK2019: unresolved external symbol __imp0 referenced in function _auxIn8
1>glaux.lib(tk.obj) : error LNK2001: unresolved external symbol __imp0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Dispat4 referenced in function 0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__G16 referenced in function 0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Transl4 referenced in function 0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Pe20 referenced in function 0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Get8 referenced in function 0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__GetSys4 referenced in function _tkIn16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__8 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __4 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Get8 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Creat48 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Creat48 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Adjust12 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Regi4 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Regi4 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__GetS4 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__L8 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp_8 referenced in function _tkIn8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__SetPale16 referenced in function _tkS16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__GetPale16 referenced in function _tk8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__S4 referenced in function _tkS0
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Ge4 referenced in function _tkG8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__4 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Rele0 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__G4 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__De4 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Des4 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp8 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__8 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__PostQ4 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Real4 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Sel12 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__DefW16 referenced in function 16
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Po16 referenced in function _GrabSta4
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Se12 referenced in function _GrabSta4
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__G4 referenced in function _GrabSta4
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__SetSystem8 referenced in function _GrabSta4
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Cre4 referenced in function _Fl8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__SetP12 referenced in function _FindP8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__ChooseP8 referenced in function _FindBestP12
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__DescribeP16 referenced in function _FindExactP12
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Unrea4 referenced in function _Realize12
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__Inva12 referenced in function _F4
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp__GetP4 referenced in function _PixelFormatDescri8
1>glaux.lib(tk.obj) : error LNK2019: unresolved external symbol __imp_8 referenced in function 0
Оставить комментарий
Имя или ник:
Комментарий: