User forums > General (but related to Code::Blocks)

Precompiled headers

<< < (2/2)

jvpic:

--- Quote from: daniel2000 on July 13, 2006, 04:31:49 pm ---Really "/" not "\" ?
If "/" is the directory seperator then it should be a typo (Linux and *nix use this seperator, but not Windows).
Change it to <wx\wx.h> and <wx\wxprec.h>

Correct me if I'm wrong, but I don't think that mingw uses Linux paths on Win, or does it ?

--- End quote ---

Yes it does. The directory separators in header files for wxWidgets on MSW are really "/". So it is in Dev-cpp and wxWidgets and also in URL !

TheTuxKeeper:

--- Quote from: jvpic on July 13, 2006, 04:53:42 pm ---
--- Quote from: daniel2000 on July 13, 2006, 04:31:49 pm ---Really "/" not "\" ?
If "/" is the directory seperator then it should be a typo (Linux and *nix use this seperator, but not Windows).
Change it to <wx\wx.h> and <wx\wxprec.h>

Correct me if I'm wrong, but I don't think that mingw uses Linux paths on Win, or does it ?

--- End quote ---

Yes it does. The directory separators in header files for wxWidgets on MSW are really "/". So it is in Dev-cpp and wxWidgets and also in URL !



--- End quote ---
Ok, then I'm wrong. Ignore it :lol:

killerbot:
add the wx base dir to your include paths, that's the dir that contains on your pc the subdir wx, which in turn contains wx.h.

Example : E:\data\killerbot\wxWidgets-2.6.3\include\

sethjackson:

--- Quote from: jvpic on July 13, 2006, 03:37:41 pm ---No I mean exactly <wx/wx.h> and <wx/wxprec.h>

These include files are referenced in the include files of the template !



--- End quote ---

I meant <wx/wx.h>.  :oops:

You did have <wx.wx.h>.

Sorry my bad. :P

jvpic:

--- Quote from: killerbot on July 13, 2006, 08:11:21 pm ---add the wx base dir to your include paths, that's the dir that contains on your pc the subdir wx, which in turn contains wx.h.

Example : E:\data\killerbot\wxWidgets-2.6.3\include\

--- End quote ---

Ok ! Killerbot, it compiles, hence I have a problem of dll : wxmsw26_gcc_custom.dll which was deplaced. But now all is in order. . I would think it myself !
Thank you. :P
The wxWidgets compilation is relatively a long process and is poorly documented. I have taken the option MONOLITHE=1 and of course the distribution must have the big dll. Perhaps could you indicate me a good and uptodate document for this !

Navigation

[0] Message Index

[*] Previous page

Go to full version