- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
谁能告诉我我做错了什么?这是我的代码 main.cpp
#include <iostream>
#include <boost/thread.hpp>
using namespace boost;
using namespace boost::this_thread;
using namespace std;
// Global function called by thread
void GlobalFunction()
{
for (int i=0;i<10;++i)
{
cout << i << "Do something in parallel with main method." << endl;
boost::this_thread::yield();
}
}
void GlobalThreadTest()
{
boost::thread t(&GlobalFunction);
for (int i = 0; i<10; ++i) {
cout << i << "Do something in main method. " << endl;
}
}
int main(int argc, const char * argv[])
{
GlobalThreadTest();
return 0;
}
制作文件代码
BOOST_ROOT=/opt/local
PRODUCT_NAME=example
BOOST_INCLUDE_DIR=$(BOOST_ROOT)/include
BOOST_LIB_DIR=/usr/local/lib
BOOST_LINK_FLAGS=lboost_thread-mt
main: main.cpp
gcc main.cpp -I$(BOOST_INCLUDE_DIR) -L$(BOOST_LIB_DIR) -o $(PRODUCT_NAME)
clean:
rm -f main
我的 boost 安装是通过 MacPorts 完成的,存储在/opt/local/include
库文件夹/usr/local/lib 我相信是这样的
这是我看到的错误
$ make -f makefile
gcc main.cpp -I/opt/local/include -L/usr/local/lib -o example
Undefined symbols for architecture x86_64:
"boost::this_thread::yield()", referenced from:
GlobalFunction() in ccPsXnoZ.o
"boost::detail::thread_data_base::~thread_data_base()", referenced from:
boost::detail::thread_data<void (*)()>::~thread_data()in ccPsXnoZ.o
boost::detail::thread_data<void (*)()>::~thread_data()in ccPsXnoZ.o
"boost::system::system_category()", referenced from:
__static_initialization_and_destruction_0(int, int)in ccPsXnoZ.o
boost::thread_exception::thread_exception(int, char const*)in ccPsXnoZ.o
"boost::system::generic_category()", referenced from:
__static_initialization_and_destruction_0(int, int)in ccPsXnoZ.o
"boost::thread::start_thread()", referenced from:
boost::thread::thread<void (*)()>(void (*)(), boost::disable_if<boost::is_convertible<void (*&)(), boost::detail::thread_move_t<void (*)()> >, boost::thread::dummy*>::type)in ccPsXnoZ.o
"boost::thread::detach()", referenced from:
boost::thread::~thread()in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::bad_exception::what() const", referenced from:
vtable for boost::exception_detail::bad_exception_in ccPsXnoZ.o
vtable for boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>in ccPsXnoZ.o
"std::runtime_error::what() const", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::bad_alloc::what() const", referenced from:
vtable for boost::exception_detail::bad_alloc_in ccPsXnoZ.o
vtable for boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>in ccPsXnoZ.o
"std::allocator<char>::allocator()", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::allocator<char>::~allocator()", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))", referenced from:
GlobalThreadTest() in ccPsXnoZ.o
GlobalFunction() in ccPsXnoZ.o
"std::basic_ostream<char, std::char_traits<char> >::operator<<(int)", referenced from:
GlobalThreadTest() in ccPsXnoZ.o
GlobalFunction() in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
std::runtime_error::runtime_error(std::runtime_error const&)in ccPsXnoZ.o
boost::system::system_error::system_error(boost::system::system_error const&)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(char const*)", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator+=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
"std::bad_exception::~bad_exception()", referenced from:
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
"std::runtime_error::runtime_error(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
"std::runtime_error::~runtime_error()", referenced from:
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::system_error(boost::system::error_code, char const*)in ccPsXnoZ.o
typeinfo for boost::thread_exceptionin ccPsXnoZ.o
typeinfo for boost::thread_resource_errorin ccPsXnoZ.o
...
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for __cxxabiv1::__vmi_class_type_info", referenced from:
typeinfo for boost::exception_detail::bad_alloc_in ccPsXnoZ.o
typeinfo for boost::exception_detail::bad_exception_in ccPsXnoZ.o
typeinfo for boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>in ccPsXnoZ.o
typeinfo for boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>in ccPsXnoZ.o
typeinfo for boost::exception_detail::error_info_injector<boost::thread_resource_error>in ccPsXnoZ.o
typeinfo for boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for boost::detail::thread_data_base", referenced from:
boost::detail::thread_data_base::thread_data_base()in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::bad_exception", referenced from:
std::bad_exception::bad_exception()in ccPsXnoZ.o
std::bad_exception::bad_exception(std::bad_exception const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::runtime_error", referenced from:
std::runtime_error::runtime_error(std::runtime_error const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::bad_alloc", referenced from:
std::bad_alloc::bad_alloc()in ccPsXnoZ.o
std::bad_alloc::bad_alloc(std::bad_alloc const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"vtable for std::exception", referenced from:
std::exception::exception()in ccPsXnoZ.o
std::exception::exception(std::exception const&)in ccPsXnoZ.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"operator delete(void*)", referenced from:
boost::detail::sp_counted_base::~sp_counted_base()in ccPsXnoZ.o
boost::detail::sp_counted_base::~sp_counted_base()in ccPsXnoZ.o
boost::exception_detail::clone_base::~clone_base()in ccPsXnoZ.o
boost::exception_detail::clone_base::~clone_base()in ccPsXnoZ.o
boost::exception_detail::bad_alloc_::~bad_alloc_()in ccPsXnoZ.o
boost::exception_detail::bad_alloc_::~bad_alloc_()in ccPsXnoZ.o
boost::exception_detail::bad_exception_::~bad_exception_()in ccPsXnoZ.o
...
"operator new(unsigned long)", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>::clone() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::clone() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::clone() constin ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in ccPsXnoZ.o
...
"___cxa_allocate_exception", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>::rethrow() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::rethrow() constin ccPsXnoZ.o
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::rethrow() constin ccPsXnoZ.o
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in ccPsXnoZ.o
"___cxa_begin_catch", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in ccPsXnoZ.o
"___cxa_call_unexpected", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::exception::~exception()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
boost::system::system_error::~system_error()in ccPsXnoZ.o
"___cxa_end_catch", referenced from:
boost::system::system_error::what() constin ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in ccPsXnoZ.o
"___cxa_free_exception", referenced from:
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in ccPsXnoZ.o
"___cxa_guard_abort", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in ccPsXnoZ.o
"___cxa_guard_acquire", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in ccPsXnoZ.o
"___cxa_guard_release", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in ccPsXnoZ.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in ccPsXnoZ.o
"___cxa_pure_virtual", referenced from:
vtable for boost::detail::sp_counted_basein ccPsXnoZ.o
vtable for boost::exceptionin ccPsXnoZ.o
vtable for boost::exception_detail::clone_basein ccPsXnoZ.o
vtable for boost::system::error_categoryin ccPsXnoZ.o
"___cxa_rethrow", referenced from:
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in ccPsXnoZ.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in cck3nfxq.o
"___cxa_call_unexpected", referenced from:
boost::system::system_error::what() constin cck3nfxq.o
boost::exception::~exception()in cck3nfxq.o
boost::system::system_error::~system_error()in cck3nfxq.o
boost::system::system_error::~system_error()in cck3nfxq.o
boost::system::system_error::~system_error()in cck3nfxq.o
"___cxa_end_catch", referenced from:
boost::system::system_error::what() constin cck3nfxq.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in cck3nfxq.o
"___cxa_free_exception", referenced from:
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in cck3nfxq.o
"___cxa_guard_abort", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in cck3nfxq.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in cck3nfxq.o
"___cxa_guard_acquire", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in cck3nfxq.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in cck3nfxq.o
"___cxa_guard_release", referenced from:
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_alloc_>()in cck3nfxq.o
boost::exception_ptr boost::exception_detail::get_static_exception_object<boost::exception_detail::bad_exception_>()in cck3nfxq.o
"___cxa_pure_virtual", referenced from:
vtable for boost::detail::sp_counted_basein cck3nfxq.o
vtable for boost::exceptionin cck3nfxq.o
vtable for boost::exception_detail::clone_basein cck3nfxq.o
vtable for boost::system::error_categoryin cck3nfxq.o
"___cxa_rethrow", referenced from:
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_> >(boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>*)in cck3nfxq.o
boost::detail::shared_count::shared_count<boost::detail::thread_data<void (*)()> >(boost::detail::thread_data<void (*)()>*)in cck3nfxq.o
"___cxa_throw", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_>::rethrow() constin cck3nfxq.o
boost::exception_detail::clone_impl<boost::exception_detail::bad_exception_>::rethrow() constin cck3nfxq.o
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::thread_resource_error> >::rethrow() constin cck3nfxq.o
void boost::throw_exception<boost::thread_resource_error>(boost::thread_resource_error const&)in cck3nfxq.o
"___gxx_personality_v0", referenced from:
Dwarf Exception Unwind Info (__eh_frame) in cck3nfxq.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [main] Error 1
我也无法让它与 XCode 一起工作。我一直看到编译错误。如果有人对如何使用 xcode 4 使 boost 线程程序工作有任何想法,请分享。
更新*我添加了链接器
BOOST_ROOT=/opt/local
PRODUCT_NAME=example
BOOST_INCLUDE_DIR=$(BOOST_ROOT)/include
BOOST_LIB_DIR=/usr/local/lib
BOOST_LINK_FLAGS=lboost_thread-mt
main: main.cpp
g++ main.cpp -I$(BOOST_INCLUDE_DIR) -$(BOOST_LINK_FLAGS) -L$(BOOST_LIB_DIR) -o $(PRODUCT_NAME)
clean:
rm -f main
错误:
make -f makefile
g++ main.cpp -I/opt/local/include -lboost_thread-mt -L/usr/local/lib -o example
ld: library not found for -lboost_thread-mt
collect2: ld returned 1 exit status
make: *** [main] Error 1
最佳答案
你有两个错误。
首先是您尝试使用gcc
编译C++ 文件。虽然它可以工作,但它不会添加 C++ 文件所需的所有库和其他内容。您应该改用 g++
。
第二个是在 Makefile
行中
BOOST_LINK_FLAGS=lboost_thread-mt
在我看来,这不像是合适的图书馆标志。此外,链接时您甚至没有在命令行中使用它,这意味着您不链接库。
关于c++ - 将 makefile 与 boost 线程一起使用时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11963409/
我有一个 Makefile,它针对特定目标调用另一个 Makefile。假设主 Makefile 包含 some_dir/some_target: cd some_dir && make so
这两个文件大多出现在开源项目中。 它们的用途是什么?它们如何工作? 最佳答案 Makefile.am 是程序员定义的文件,由 automake 使用来生成 Makefile.in 文件( .am 代表
我的源代码位于一堆子目录中,例如: src/widgets/apple.cpp src/widgets/knob.cpp src/tests/blend.cpp src/ui/flash.cpp 在项
这就是我所拥有的: SUBDIRS = src/lib/ResourceManager all: $(SUBDIRS) $(SUBDIRS): make install -C $@ 我正在尝试
我想写一个 Makefile 来执行来自两个不同数组的两个输入的命令例如 a = A B C b = 1 2 3 ./run A 1 ./run B 2 ./run C 3 我不知道怎么写,因为在Ma
在 GNU make 手册的早期部分之一,Section 3.7 , 有一个 makefile 配方的大纲 immediate : immediate ; deferred defer
是否存在将 gmake 的 GNU Makefile 转换为可用于 make (FreeBSD-make) 的 Makefile 的实用程序? 最佳答案 该实用程序称为开发人员(程序员,制作大师,..
所以我前段时间了解了什么是 Makefile,创建了一个模板 Makefile,我所做的就是为我正在执行的每个程序复制和更改相同的文件。我改了几次,但它仍然是一个非常粗糙的Makefile。我应该如何
我正在做一些 Makefile 重构,并试图找出最简洁的方法来实现一个 Makefile,它执行以下操作: 有一个变量列出了所有源文件(可以是 C 和 C++ 文件) 所有目标文件都在 OBJ_DIR
我正在尝试创建一个 Makefile,它将通过 tic 编译位于目录中的 terminfo 文件。 tic 还将它自动创建的 termcap 文件复制到系统或用户特定的目标文件夹。对于普通用户,如果
我想要类似的东西 BROKEN_THINGS = \ thing1 \ # thing1 is completely broken thing2 \ # thing2 is broken to
如果我的程序必须为不同的结果(主要是错误)返回不同的值(例如 0、1、2、3 等),则调用该程序的 makefile 将不得不停止执行其余的 makefile 命令。即使该命令产生错误(返回非零值),
我正在学习使用漂亮的 Linux 工具:make。还有一点我想了解的: 让我们看一下这个简单的例子: JADE = $(shell find pages/*.jade) HTML = $(JADE:.
假设您有一个包含两个伪目标“all”和“debug”的 Makefile。 'debug' 目标旨在构建与 'all' 相同的项目,除了一些不同的编译开关(例如 -ggdb)。由于目标使用不同的编译开
我有一个调用多个其他生成文件的生成文件。 我想将 -j 参数传递给其他 makefile 调用。 类似(make -j8): all: make -f libpng_linux.mk -j
我处理过的 Makefile 大部分都很复杂,并且隐藏了很多关系。我自己从来没有写过一个,想知道是否有人有一些关于编写易于阅读和可重用的 Makefile 的提示? 最佳答案 我通常使用这样的东西,在
嘿,我有一个简单的“主” Makefile,它只是调用其他 makefile。我正在尝试执行以下操作,以便以正确的顺序构建组件: LIB_A = folder_a LIB_B = folder_b L
生成文件: #there is a whitespace after "/my/path/to" FOO = "/my/path/to" BAR = "dir" INCLUDE_DIRS = $(FO
我正在学习 makefile,我知道如何创建一个简单的 makefile。我正在继续使用嵌套的 makefile。这是我的目录结构 /src ...makefile ...main.cpp ...fo
什么TEMP0_FILES下面计算到? SOURCE_FILES可以等于多个源文件。请告诉我以下语法 :.cpp=.o 的用途 SOURCE_FILES = main.cpp TEMP0_FILES
我是一名优秀的程序员,十分优秀!