Bug 404507 - Agent fails to build in MSVS2012 due to new profiler service
Summary: Agent fails to build in MSVS2012 due to new profiler service
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: 1.1   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: 1.1   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 18:01 EDT by Martin Oberhuber CLA
Modified: 2013-06-05 04:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2013-03-27 18:01:11 EDT
Build ID: o.e.tcf.agent master of 27-Mar-2013

1. Open agent-vc2010 in visual studio 2012 express
2. Allow to "update" projects
3. Build
--> It fails with these errors:

Warning	1	warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification	D:\Workspaces\git\org.eclipse.tcf.agent\agent\asyncreq.obj	agent
Error	2	error LNK2019: unresolved external symbol _ini_profiler_service referenced in function _ini_services	D:\Workspaces\git\org.eclipse.tcf.agent\agent\services.obj	agent
Error	3	error LNK1120: 1 unresolved externals	D:\Workspaces\git\org.eclipse.tcf.agent\agent\\obj\MSVC\Win32\Debug\agent.exe	agent
Comment 1 Martin Oberhuber CLA 2013-03-27 18:05:52 EDT
The build completes when adding this to the preprocessor definitions in the agent.vcxproj project file:

SERVICE_Profiler=0
Comment 2 Eugene Tarassov CLA 2013-03-27 18:22:54 EDT
The project file needs to be updated.
I have added profiler.[ch] into agent-vc2010.
Thanks!