Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Use a modified version of Scintilla?

<< < (2/3) > >>

thomas:

--- Quote from: mispunt on August 14, 2005, 10:32:01 pm ---see the wiki ;)

--- End quote ---
Hahaha... almost falling off my chair :)
I spent 3 hours trying to compile wx this afternoon using the wiki.

Funnily, I already did so a couple of weeks ago, and it went just fine. Today it keeps failing with "unexpected end of file" - same machine, same parameters, freshly unzipped sources.

Now tell me a computer is a deterministic machine ;)

rickg22:
Anyway in case you're wondering... the scintilla in wxWidgets is composed of two parts: Scintilla, and wxStyledTextCtrl, which is an encapsulation of most (if not all) the scintilla methods.

Maybe you could do a derivative of wxStyledTextCtrl instead of having to recompile scintilla...

rickg22:

--- Quote from: thomas on August 15, 2005, 12:32:23 am ---I spent 3 hours trying to compile wx this afternoon using the wiki.

--- End quote ---

Hey - why not make a list of errors you're getting?

I can compile wx242 using the wiki (in both Windows AND Linux) and had no problems at all. Anyway Thomas, the wiki could as well use your experiences compiling ;-)

thomas:

--- Quote from: rickg22 on August 15, 2005, 01:19:56 am ---Hey - why not make a list of errors you're getting?

--- End quote ---
Doubt that will be of any help, as it is quite weird, but lets see :)

This is the thing I did a couple of weeks ago,
the exact thing I did yesterday,
and the exact same thing I did 20 minutes ago:

--- Code: ---C:\>cd C:\wxWidgets-2.6.1\build\msw

C:\wxWidgets-2.6.1\build\msw>set path=c:\mingw\bin;c:\mingw\mingw32\bin

C:\wxWidgets-2.6.1\build\msw>mingw32-make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

C:\wxWidgets-2.6.1\build\msw>mingw32-make -f makefile.gcc clean
if exist gcc_mswd\*.o del gcc_mswd\*.o
[200 more lines of output...]

C:\wxWidgets-2.6.1\build\msw>mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 VENDOR=cb

--- End code ---
A few weeks ago, it worked fine. Yesterday, it failed with a message like "unexpected end of file" after some 30-40 lines of output. I tried newer and older versions of the bintools, also desperately tried using msys make instead, no success in either case, so eventually I gave up.
Today, to reproduce the error messages for this post, I did the very same thing -- it compiled just fine (except for the usual 20,000 warnings about incompatible types and type definition attributes in the implementation, but I guess that is just normal for wxWidgets...).
In every case, I copied the commands from the WiKi and pasted them into the cmd window. So how is copy and paste on sunday different from copy and paste on monday, lol. This is beyond me :)

Urxae:

--- Quote from: thomas on August 15, 2005, 01:17:51 pm ---A few weeks ago, it worked fine. Yesterday, it failed with a message like "unexpected end of file" after some 30-40 lines of output. I tried newer and older versions of the bintools, also desperately tried using msys make instead, no success in either case, so eventually I gave up.
Today, to reproduce the error messages for this post, I did the very same thing -- it compiled just fine (except for the usual 20,000 warnings about incompatible types and type definition attributes in the implementation, but I guess that is just normal for wxWidgets...).
In every case, I copied the commands from the WiKi and pasted them into the cmd window. So how is copy and paste on sunday different from copy and paste on monday, lol. This is beyond me :)

--- End quote ---
Did you happen to use a different PATH setting? I'd tried a few times to compile wx without success, until I reduced my PATH to the bare essentials. Turns out it didn't work if the MSYS bin directory was in there :? (though just putting if before the MinGW bin dir may work too).

Though if CB didn't require STC I'd have had it running much sooner: wx itself compiled fine from within MSYS with the configure script and make as per the wx *nix install instructions, but I couldn't get it to compile STC. Maybe I missed some configure parameter...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version