Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make不过 #6

Closed
xhacker5000 opened this issue Dec 29, 2013 · 2 comments
Closed

make不过 #6

xhacker5000 opened this issue Dec 29, 2013 · 2 comments

Comments

@xhacker5000
Copy link

确定了glew1.9版本,也确定了lib的位置
make的时候还总报
好郁闷。

J:\Project\ejoy2d/lib/shader.c:58: undefined reference to __glewGenBuffers' J:\Project\ejoy2d/lib/shader.c:59: undefined reference to__glewBindBuffer'
J:\Project\ejoy2d/lib/shader.c:72: undefined reference to __glewBufferData' J:\Project\ejoy2d/lib/shader.c:74: undefined reference to__glewGenBuffers'
J:\Project\ejoy2d/lib/shader.c:75: undefined reference to __glewBindBuffer' c:\Users\xhacker\AppData\Local\Temp\ccabdE7p.o: In functioncompile':
J:\Project\ejoy2d/lib/shader.c:86: undefined reference to __glewCreateShader' J:\Project\ejoy2d/lib/shader.c:87: undefined reference to__glewShaderSource'
J:\Project\ejoy2d/lib/shader.c:88: undefined reference to __glewCompileShader' J:\Project\ejoy2d/lib/shader.c:90: undefined reference to__glewGetShaderiv'
J:\Project\ejoy2d/lib/shader.c:95: undefined reference to __glewGetShaderInfoLog' J:\Project\ejoy2d/lib/shader.c:100: undefined reference to__glewDeleteShader'
c:\Users\xhacker\AppData\Local\Temp\ccabdE7p.o: In function `link':

@cloudwu
Copy link
Contributor

cloudwu commented Dec 29, 2013

Mingw 链接 glew 时只需要指定 dll 所在的位置,不需要 .a 库

@xhacker5000
Copy link
Author

到单位make过了~~~终于看见序列帧啦-.-

cuit-zhaxin pushed a commit to cuit-zhaxin/ejoy2d that referenced this issue Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants