User forums > Help

wxWidgets problem when compiling scintilla

(1/2) > >>

mkborregaard:
Hi all,
I am building codeblocks from source, but get consistent wxwidgets errors when trying to build scintilla:
In the file buffer.h: in constructor wxCharBuffer::wxCharBuffer: 'stdrup undeclared' and numerous other errors (sorry, but 'copy to clipboard' in cb does not work either).
Any ideas?

stahta01:
Note: I am guessing you are a windows user, if not please state your OS.

Did you compile wxWidgets yourself?
If yes, what was the command used?
If no, where did you get wxWidgets?
What version is your wxWidgets?

Tim S

mkborregaard:
Sorry for being uninformative.
I am using wxWidgets-2.8.7, which I got from wxwidgets.org and compiled myself. I am on windows xp, and used the command "mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release" in an ordinary command shell (i.e. not using msys). I have tried cleaning the build and recompiling, but that does not change the problem. My wxwidgets is installed to C:\C++\Libraries\wxWidgets-2.8.7 , and that is the directory where I direct the wx global variable. The code::blocks I am using is a selfcompiled one (end of november 2007), compiled with wxmsw-2.8.6.
Thanks for looking at this :)

stahta01:

--- Quote from: mkborregaard on February 24, 2008, 08:59:53 pm ---"mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release"

--- End quote ---

Try using "mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1"
( Clean and rebuild wxWidgets using the above command.)

The Code::Blocks project assumes Unicode version of wxWidgets is used under windows.

If doing, Windows 9x you may have to do ANSI version and edit the project file, but under Windows XP this is not needed.

Tim S

mkborregaard:
I am sorry that does not solve the problem.
I have now uninstalled wxWidgets, removed the folders, downloaded a new wxMSW-2.8.7-setup.exe file and extracted it.
After that I ran clean and build with the command you suggest (remembering unicode).
The problem persists unchanged.
I then rebuilt (as opposed to build) codeblocks.cbp, and the compilation now fails at Autorevision.cpp: in function bool QuerySVN(...): 'popen' undeclared.
Could all this be solved if I just wait for the new stable version (hooray!) to be released?

Navigation

[0] Message Index

[#] Next page

Go to full version