Undefined reference to 'imp____glewEnableVertexAttribArray'

前端 未结 3 529
时光取名叫无心
时光取名叫无心 2021-01-17 03:00

I\'m trying to compile a program I am doing from a tutorial which is written in C++ and open gl 2.1. However, I don\'t like FreeGLUT so I decided to change the windowing pro

3条回答
  •  感动是毒
    2021-01-17 03:42

    Undefined references (name mangling) of the *_imp__* variety are caused by an attempt to link against a library compiled by / for Visual Studio / MSVC.

    The solution is to download binaries or compile for your specific platform (often this comes up in relation to mingw32).

提交回复
热议问题