User forums > Help

Building C::B

(1/2) > >>

Auria:
Hi, i'm trying to build C::B but i'm hitting a issue.

I have both wx 2.6.3 and 2.8.0 installed. Since Code::Blocks doesn't yet support 2.8.0, i made sure all wx-config's pointed to wxWidget 2.6.3.

However, i still get this:

startherepage.o: In function `wxScrolledWindow::Layout()':/usr/local/include/wx-2.8/wx/scrolwin.h:297: undefined reference to `wxScrollHelper::ScrollLayout()'
startherepage.o: In function `wxScrolledWindow::DoSetVirtualSize(int, int)':/usr/local/include/wx-2.8/wx/scrolwin.h:297: undefined reference to `wxScrollHelper::ScrollDoSetVirtualSize(int, int)'
startherepage.o: In function `wxScrolledWindow::GetBestVirtualSize() const':/usr/local/include/wx-2.8/wx/scrolwin.h:297: undefined reference to `wxScrollHelper::ScrollGetBestVirtualSize() const'

So my question is, where does C::B get its headers paths for wx, and how can i point it to wxWidgets 2.6 ??

(I also tried with wxWidgets 2.8 but i go too many errors with odcombo.cpp)

MortenMacFly:

--- Quote from: Auria on February 22, 2007, 02:09:26 am ---Since Code::Blocks doesn't yet support 2.8.0, [...]

--- End quote ---
What makes you say so? The current nightlies do (thanks Biplabs nice wizard).
With regards, Morten.

stahta01:

--- Quote from: MortenMacFly on February 22, 2007, 04:29:45 pm ---
--- Quote from: Auria on February 22, 2007, 02:09:26 am ---Since Code::Blocks doesn't yet support 2.8.0, [...]

--- End quote ---
What makes you say so? The current nightlies do (thanks Biplabs nice wizard).
With regards, Morten.

--- End quote ---

I don't think he meant using wx28 to build a project. I think he meant building C::B that links against wx28.

Tim S

MortenMacFly:

--- Quote from: stahta01 on February 22, 2007, 05:17:30 pm ---I don't think he meant using wx28 to build a project.

--- End quote ---
Ooops... my fault. :oops:
Well... what does wx-config --cxxflags give you???
With regards, Morten.

Der Meister:
You probably should add "--with-wx-config=wx-config-2.6" as option when invoking the configure-script. ;)

Navigation

[0] Message Index

[#] Next page

Go to full version