• Advertisement
Sign in to follow this  

vim clang complete doesn't see some functions of opengl

This topic is 1782 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have vim and clang_complete installed but for some reason when I try to auto complete it doesn't see some of OpenGL's functions, such as glBindBuffer, or glEnableVertexAttribArray. I press CTRL + X and CTRL + U to force the auto complete and it shows the function names and parameters, but it's just missing some of the functions.


Even with glfw, I try auto completing GLFW_KEY_ESC but it's not there, I don't know why, it just says "User defined completion (^U^N^P) Pattern not found". I don't have a .clang_complete file and my gl header files are located at /usr/include/GL. I also tried including #include <GL/gl.h> but that still didn't show glBindBuffer when I try to auto complete.


Does anyone have a solution to this problem? It's very annoying because I use these functions a lot and need the auto complete.




Also my include header files are this:

#include <iostream>
#include <string>
#include <GL/glew.h>
#include <GL/glfw.h>
#include <glm/glm.hpp>

I'm on Arch Linux x64 by the way.

Edited by Krankles

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement