stellar2012wxg / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[contribution welcome] cpu profiler is not supported on windows #580

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I added ProfilerStart and ProfilerStop in code.
2.building.
3.output 
TestCpuProfiler.obj : error LNK2019: 无法解析的外部符号 
__imp__ProfilerStop,该符号在函数 _wWinMain@16 中被引用
TestCpuProfiler.obj : error LNK2019: 无法解析的外部符号 
__imp__ProfilerStart,该符号在函数 _wWinMain@16 中被引用

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by hanhe...@gmail.com on 10 Oct 2013 at 7:15

GoogleCodeExporter commented 9 years ago

TestCpuProfiler.obj : error LNK2019: unresolved external symbol 
__imp__ProfilerStart referenced in function _wWinMain@16

Original comment by hanhe...@gmail.com on 10 Oct 2013 at 7:18

GoogleCodeExporter commented 9 years ago
This is currently unsupported. And requires significant work to make it happen.

You may have some luck with seemingly decent MS tools. As well as Intel tools.

Original comment by alkondratenko on 10 Oct 2013 at 4:37