error: ‘int64_t’ does not name a type
发布时间
阅读量:
阅读量
我在CodeBlock中编译工程没有出现问题,但是放到ubuntu上用自己写的Makefile make的时候报错
error: ‘int64_t’ does not name a type
#
2 # Makefile
3 #
4 #
56#define7gcc89TestPthreadDemo
1011111213 #files
14 TestPthreadDemo.o MultilPthread.o
15 MultilPthread.h
1617 #rules
18 $(TARGET): $(objects)
19o $@
2021cpp $(headers)
22o $@
2324 .PHONY : clean
25 clean :
26rm $(objects)
2728 distclean:
29rm
需要添加头文件
# include <stdint.h>
参考:https://stackoverflow.com/questions/11069108/uint32-t-does-not-name-a-type
全部评论 (0)
还没有任何评论哟~
