User forums > Help
wxWidgets problem when compiling scintilla
Biplab:
--- Quote from: mkborregaard on February 24, 2008, 11:24:27 am ---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).
--- End quote ---
Possibly you didn't install win32api / MinGW runtime.
mkborregaard:
Yes, I have the full MinGW-5.1.3 package installed, including the win32api (if I understand you correctly??). To make sure, I just updated to the most recent mingw release, and that does not change the problem.
Weird.
Maybe my c::b is a bit broken...
Biplab:
--- Quote from: mkborregaard on February 25, 2008, 02:59:57 pm ---Yes, I have the full MinGW-5.1.3 package installed, including the win32api (if I understand you correctly??). To make sure, I just updated to the most recent mingw release, and that does not change the problem.
Weird.
Maybe my c::b is a bit broken...
--- End quote ---
strdup is defined in string.h and this file is part of MinGW Runtime package. Download it from the following link.
--- Quote ---http://downloads.sourceforge.net/mingw/mingw-runtime-3.14.tar.gz
--- End quote ---
This should solve your problem. If it's installed then check whether the string.h file is present under <mingw_dir>\include dir.
mkborregaard:
No, this is a real mystery!
I have the full MinGW package, and string.h is in the mingw\include folder as it should be. Just to be sure I installed it again from the link you posted. I also downloaded the latest c::b nightly and tried compiling from that instead.
Nothing helps :(
Can it somehow be the interchange between c::b and mingw that is the problem?
mkborregaard:
Maybe my mingw is the problem. Now it does not want to compile my old projects either, an error in file ctrl.c: _cpu_features_init not found.
So this may not be a c::b installation problem.
Navigation
[0] Message Index
[*] Previous page
Go to full version