如何解决如何使用 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 举报,一经查实,本站将立刻删除。