User forums > General (but related to Code::Blocks)
TDM's unofficial GCC 4.2.0 for MinGW (now with OpenMP, Fortran and Obj-C)
Biplab:
--- Quote from: patlecat on May 20, 2007, 12:12:24 pm ---Maybe a radio button would help here "Use actual wxW" and "Use different wxW".
--- End quote ---
That would be lot confusing to new users.
The way you've setup the Global variable basically restricts your choice. It's OK if you're happy with the configuration. The only missing is the include directory of setup.h which remains inside H:\wxWidgets-2.8.4\lib\gcc_lib\msw or H:\wxWidgets-2.8.4\lib\gcc_lib\mswd or similar directory depending upon your configuration.
patlecat:
Setup.h is in include/wx/msw which I had defined already (s. above). I added the mswu and mswud directory to the linker path. But I still get the same errors.
Biplab:
--- Quote from: patlecat on May 20, 2007, 12:41:28 pm ---Setup.h is in include/wx/msw which I had defined already (s. above).
--- End quote ---
Every time you compile wx a new setup.h file is created which reflects the build configuration. That setup.h file is necessary for proper compilation. So you've to point towards the created setup.h file, not the default one.
--- Quote from: patlecat on May 20, 2007, 12:41:28 pm ---I added the mswu and mswud directory to the linker path. But I still get the same errors.
--- End quote ---
The directories shall be added to Compiler, not to linker.
To avoid hijacking this thread, please start a new thread if you still face problem.
TDragon:
@snija, an update on libgomp:
Configuring fails with the error "Pthreads are required to build libgomp". After poking around in the main GCC configure script, I see that compilation of libgomp is automatically disabled on non-POSIX systems for this reason. MinGW32 programs are expected to use Win32 threads directly, though I expect there are pthreads ports for MinGW available. Feel free to build libgomp yourself with one of these ports; or, if you find an easy method of having libgomp use Win32 threads, I'll try it.
Cheers,
John E. / TDM
stahta01:
--- Quote from: TDragon on May 18, 2007, 11:36:45 pm ---As usual, I have tested this build by compiling wxWidgets and Code::Blocks, and everything works great!
--- End quote ---
FYI: Your new 4.2.0 (3.4.5 works perfectly) has problems building wxWidgets 2.9.x CVS-Head; It has 4 or 5 minor compile errors that are easy to fix. If anybody wants the work-around patches to wxWidgets PM me; and I will upload them or post them. Note, the wx developers fixes this type issues in a completely different way. (The bugs are all related to the wxString redesign, I only know enough to patch them by adding casts to variables; they fix them by editing an function somewhere to do it all automatically.)
Please DO NOT bug the wx developers with this; wait till an official minGW 4.2.0 release is done.
Tim S
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version