English 中文(简体)
如何在窗户中汇编洗illa?
原标题:How to compile scintilla in windows?
  • 时间:2011-08-20 10:58:31
  •  标签:
  • c++

我从未在Windows编辑过任何开放源项目。 我想以任何其他方式汇编视像室的窗户。 Pleas通过分步骤编写。

我过去2周来,但不能得到任何辅导/指导。 请提供帮助。

我试图按照README档案中的指示,在窗户中汇编成册,并出现错误。

D:scintillawin32>nmake -f scintilla. m

Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

    rc -fo.ScintRes.res ScintRes.rc

ScintRes.rc(5) : fatal error RC1015: cannot open include file windows.h . NMAKE : fatal error U1077: rc : return code 0x1 Stop.

我的顾问办公室是窗口xp。 我正在使用2005年视频演播室,并安装了微软平台SDK,供Windows 2003 R2使用。

问题回答

Judging from that error message you re using the standard Windows command line. Use the Visual Studio command prompt instead, it sets up important paths and evironment variables:

Start menu > programs > Microsoft Visual Studio 2005 > Visual Studio Tools > Visual Studio 2005 Command Prompt.

前往 s脏,像你以前那样做。

说到这一点,我用 n语散布许多模糊的错误信息,因此我最终创建了一个像这样的VS项目:

<> Note: 建造一个有弹性的固定图书馆,如你认为合适,可加以调整。

  1. Create a new project for a static library
  2. Add everything that s in lexers, lexlib, src and win32
  3. Add STATIC_BUILD and SCI_LEXER to the preprocessor directives if you want a static library and lexer support.
  4. Add src, lexlib and include to the additional include directories.
  5. If you don t need lexers or only some of them, delete what you don t need inside lexers and run src/LexGen.py




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签