User forums > Help

wxWidgets 2.6 (MSW, GCC) installation instructions

<< < (17/29) > >>

frozon:
Hi,
I just tried to compil wxwidgets 2.6.2 with this command line:
mingw32-make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 USE_XRC=1 UNICODE=0 VENDOR=cb WXUNIV=1
It works, but when i lunch code::blocks, set the different path i have an error message
here is the log:

--- Code: ---Project   : wxWidgets application
Compiler  : GNU GCC Compiler (called directly)
Directory : E:\Documents and Settings\Administrator\My Documents\dev\PAC\
--------------------------------------------------------------------------------
Switching to target: default
Precompiling header: wx_pch.h
In file included from C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/defs.h:21,
                 from C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/wxprec.h:13,
                 from ./wx_pch.h:9,
                 from <command line>:11:
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/platform.h:190:22: wx/setup.h: No such file or directory
In file included from C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/platform.h:258,
                 from C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/defs.h:21,
                 from C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/wxprec.h:13,
                 from ./wx_pch.h:9,
                 from <command line>:11:
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:84:9: #error "wxUSE_DYNLIB_CLASS must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:92:9: #error "wxUSE_EXCEPTIONS must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:100:9: #error "wxUSE_FILESYSTEM must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:113:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:121:9: #error "wxUSE_LOG must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:129:9: #error "wxUSE_LONGLONG must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:137:9: #error "wxUSE_MIMETYPE must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:153:9: #error "wxUSE_PROTOCOL must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:195:9: #error "wxUSE_REGEX must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:203:9: #error "wxUSE_STDPATHS must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:211:9: #error "wxUSE_XML must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:219:9: #error "wxUSE_SOCKETS must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:227:9: #error "wxUSE_STREAMS must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:235:9: #error "wxUSE_STOPWATCH must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:243:9: #error "wxUSE_TEXTBUFFER must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:251:9: #error "wxUSE_TEXTFILE must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:267:9: #error "wxUSE_URL must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:285:9: #error "wxUSE_ACCEL must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:293:9: #error "wxUSE_BMPBUTTON must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:301:9: #error "wxUSE_BUTTON must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:309:9: #error "wxUSE_CALENDARCTRL must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:317:9: #error "wxUSE_CARET must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:325:9: #error "wxUSE_CHECKBOX must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:341:9: #error "wxUSE_CHOICE must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:349:9: #error "wxUSE_CHOICEBOOK must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:357:9: #error "wxUSE_CHOICEDLG must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:365:9: #error "wxUSE_CLIPBOARD must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:373:9: #error "wxUSE_COLOURDLG must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:381:9: #error "wxUSE_COMBOBOX must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:389:9: #error "wxUSE_DATAOBJ must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:397:9: #error "wxUSE_DATEPICKCTRL must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:405:9: #error "wxUSE_DISPLAY must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:413:9: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:421:9: #error "wxUSE_FILEDLG must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:429:9: #error "wxUSE_FONTDLG must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:437:9: #error "wxUSE_FONTMAP must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:445:9: #error "wxUSE_GAUGE must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:453:9: #error "wxUSE_GRID must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:461:9: #error "wxUSE_HELP must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:469:9: #error "wxUSE_HTML must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:477:9: #error "wxUSE_XRC must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:498:9: #error "wxUSE_ICO_CUR must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:506:9: #error "wxUSE_IFF must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:514:9: #error "wxUSE_IMAGLIST must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:522:9: #error "wxUSE_JOYSTICK must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:530:9: #error "wxUSE_LISTBOOK must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:538:9: #error "wxUSE_LISTBOX must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:546:9: #error "wxUSE_LISTCTRL must be defined."
C:/wxWidgets-2.6.2/wxWidgets-2.6.2/include/wx/chkconf.h:554:9: #error "wxUSE_LOGGUI must be defined."
Process terminated with status 1 (0 minutes, 5 seconds)

--- End code ---

I don't understand the problem, if someone could help me please.

AkiraDev:
The Code::Blocks project is configured to use a Unicode wxWidgets library, while your wxWidgets has been compiled as ANSI (UNICODE=0).

You need to either:

Adapt your project build options for ANSI...
- Remove the wxUSE_UNICODE define
- Change the custom variable WX_SUFFIX from 'u' to an empty string

... or recompile wxWidgets as Unicode (UNICODE=1).

mandrav:
And please don't use "VENDOR=cb". It is wrong to use it. I have removed it from the wiki for some time now. If you saw it there, please tell me where so I can remove it...

killerbot:

--- Quote from: mandrav on January 31, 2006, 03:01:04 pm ---And please don't use "VENDOR=cb". It is wrong to use it. I have removed it from the wiki for some time now. If you saw it there, please tell me where so I can remove it...

--- End quote ---

Yiannis,
How come CB still need the wxmsw26u_gcc_cb.dll then ?


Lieven

mandrav:

--- Quote from: killerbot on January 31, 2006, 03:39:05 pm ---Yiannis,
How come CB still need the wxmsw26u_gcc_cb.dll then ?

--- End quote ---

The vendor suffix is there so you know where you got your DLL from. If everyone creates wxmsw26u_gcc_cb.dll, then how would you tell if it's our "official" release or not?
If you ommit the vendor part, it creates wxmsw26u_gcc_custom.dll which works just fine without altering one thing...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version