如何使用 gyp 为电报桌面创建新的解决方案配置

问题描述

我正在使用 Telegram 桌面(使用 MSVC 指令构建它),并且正在尝试更改它的一部分以做不同的事情。我想定义多个配置(除了认的 debug 和 release )。我使用的是电报桌面版 1.8.9,但如有必要,我可以移至较新的版本。 直接使用visual studio(配置管理器)导致出现很多错误。例如:

cannot open source file "emoji_suggestions_data.h"
cannot open source file "styles/style_chat_helpers.h"
cannot open source file "emoji_suggestions_data.h"
cannot open source file "lang_auto.h"
cannot open source file "scheme.h"
cannot open source file "styles/palette.h"
cannot open source file "styles/style_basic.h"
cannot open source file "styles/style_widgets.h"
cannot open source file "emoji.h"
cannot open source file "styles/style_widgets.h"
identifier "ShiftedDcId" is undefined
identifier "mtpRequestId" is undefined

我尝试更改“gyp”文件夹中的文件,然后使用 refresh.bat 进行更改,尽管成功创建了配置,但出现了相同的错误。你怎么办?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)