Build PuTTYTray under Windows7 VS2008(x86)

I write this because I encountered some problems:

1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_is_in_this_link_region,referenced in function _do_paint
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_mouse_old_x,referenced in function _do_paint
1>window.obj : error LNK2001: unresolved external symbol _urlhack_mouse_old_x
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_mouse_old_y,referenced in function _do_paint
1>window.obj : error LNK2001: unresolved external symbol _urlhack_mouse_old_y
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_get_link_region,referenced in function _do_paint
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_go_find_me_some_hyperlinks,referenced in function _do_paint
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_putchar,referenced in function _do_paint
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_reset,referenced in function _do_paint
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_is_ctrl_pressed,referenced in function _do_paint
1>window.obj : error LNK2001: unresolved external symbol _urlhack_is_ctrl_pressed
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_launch_url,referenced in function _term_mouse
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_get_link_bounds,referenced in function _term_mouse
1>terminal.obj : error LNK2019: unresolved external symbol _urlhack_is_in_link_region,referenced in function _term_mouse
1>window.obj : error LNK2001: unresolved external symbol _urlhack_is_in_link_region
1>window.obj : error LNK2019: unresolved external symbol _urlhack_current_region,referenced in function _WndProc@16
1>window.obj : error LNK2019: unresolved external symbol _urlhack_set_regular_expression,referenced in function _WndProc@16
1>.\Release/putty.exe : fatal error LNK1120: 13  unresolved externals

1. PuTTYTray Source(latest commit 1d2cd79a2b)

https://github.com/FauxFaux/PuTTYTray

perl windows version

http://www.perl.org/get.html#win32


2. generate msvc project file

perl.exe  mkfiles.pl

open PuTTYTray-master\windows\MSVC\putty.dsw with Microft Visual Studio 2008,then add files

PuTTYTray-master\urlhack.cpp
PuTTYTray-master\windows\urlhack_win.cpp
PuTTYTray-master\windows\re_lib\regexp.cpp

to peoject putty and puttytel

3. Add

#define SECURITY_WIN32

to PuTTYTray-master\windows\winstuff.h



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值