首页 > 其他 > 详细

#include "Target_orientation.h"

时间:2021-04-25 23:22:13      阅读:11      评论:0      收藏:0      [点我收藏+]

I am having trouble compiling code intended for 32bit unix system on my 64bit Ubuntu, Linux. Does anyone have any ideas what may be the problem?

gcc main.o test.o render.o transform.o model.o vector.o color.o -o the_thing -lSDL
/usr/bin/ld: transform.o: undefined reference to symbol ‘cos@@GLIBC_2.2.5‘
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


gcc file.c -lm

CXXSRC += Target_orientation.cpp -lm 

#include "Target_orientation.h"

原文:https://www.cnblogs.com/Ph-one/p/14701669.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!