编译器错误:架构x86_64的未定义符号(Mac OS X 10.10.4; GLM)

时间:2015-08-03 08:40:15

标签: c++ macos glm-math

我在我的光线跟踪项目中实现了一个新的类SceneObject。在这个项目中,我使用glm lib来完成某些任务。

现在我得到了:  架构x86_64的未定义符号 我尝试编译时出错。

我的编译器:

 ✘ arneosterthun@Arnes-Air  ~/Documents/Studium/Programmiersprachen/raytracer/build   SceneObject ●  gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin14.0.0/4.9.2/lto-wrapper
Target: x86_64-apple-darwin14.0.0
Configured with: ../gcc-4.9-20141029/configure --enable-languages=c++,fortran
Thread model: posix
gcc version 4.9.2 20141029 (prerelease) (GCC) 
 arneosterthun@Arnes-Air  ~/Documents/Studium/Programmiersprachen/raytracer/build   SceneObject ●  make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0

这是github上的一个要点,我的新实现代码和完整的错误消息:https://gist.github.com/aosterthun/658c8cf6a691e9e5efbb

这是指Dropbox上完整项目的链接:https://www.dropbox.com/sh/5kprshxumseguqp/AADi5dbcj5zVTBipt7pUVAyaa?dl=0

0 个答案:

没有答案