macのxcodeもしくはターミナルでOpenGL programming guide 通称赤本をやっているのですが
最初のプログラムでエラーが出ます
Undefined symbols for architecture x86_64:
"_LoadShaders", referenced from:
init() in main.o
"_gl3wBindBuffer", referenced from:
init() in main.o
"_gl3wBindVertexArray", referenced from:
init() in main.o
display() in main.o
"_gl3wClearBufferfv", referenced from:
display() in main.o
"_gl3wCreateBuffers", referenced from:
init() in main.o
"_gl3wDrawArrays", referenced from:
display() in main.o
"_gl3wEnableVertexAttribArray", referenced from:
init() in main.o
"_gl3wGenVertexArrays", referenced from:
init() in main.o
"_gl3wInit", referenced from:
_main in main.o
"_gl3wNamedBufferStorage", referenced from:
init() in main.o
"_gl3wUseProgram", referenced from:
init() in main.o
"_gl3wVertexAttribPointer", referenced from:
init() in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
このようなエラーが出るのですがどうすればいいですか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。