PDA

View Full Version : مبتدی: ارور در کامپایل پروژه های Opengl



raminlich
یک شنبه 12 مرداد 1393, 15:29 عصر
سلام به همگی
من DEV دارم و طبق آموزشی که در تاپیک ها موجود بود هدر های مورد نیاز رو از glut در دانلود کردم و بهش اضاف کردم حالا DEV من هدر هارو میشناسه ولی وقتی کامپایل میزنم تو کامپایل لوگ کلی از این پیاما میاد
C:\Users\Ramin\Desktop\Practice C++\Folders\Untitled2.o Untitled2.cpp:(.text+0x1c): undefined reference to `__glutInitWithExit@12'
C:\Users\Ramin\Desktop\Practice C++\Folders\Untitled2.o Untitled2.cpp:(.text+0x3c): undefined reference to `__glutCreateWindowWithExit@8'
C:\Users\Ramin\Desktop\Practice C++\Folders\Untitled2.o Untitled2.cpp:(.text+0x5c): undefined reference to `__glutCreateMenuWithExit@8'
C:\Users\Ramin\Desktop\Practice C++\Folders\Untitled2.o Untitled2.cpp:(.text+0x91): undefined reference to `_imp__glClearColor@16'
C:\Users\Ramin\Desktop\Practice C++\Folders\Untitled2.o Untitled2.cpp:(.text+0xa2): undefined reference to `_imp__glMatrixMode@4'

دلیلش چیه؟

pswin.pooya
سه شنبه 14 مرداد 1393, 23:22 عصر
فایلهای lib رو اضافه نکردید