When trying to compile a program, in C ++, appears an error message!
-------------- Build: unix in ADM ---------------
Compiling: ADMApp.cpp
In file included from /usr/include/wx-2.8/wx/platform.h:293,
from /usr/include/wx-2.8/wx/defs.h:21,
from /usr/include/wx-2.8/wx/event.h:15,
from /usr/include/wx-2.8/wx/app.h:20,
from /home/daniel/Desktop/ADM 1.0 multiplataforma/ADMApp.h:13,
from /home/daniel/Desktop/ADM 1.0 multiplataforma/ADMApp.cpp:10:
/usr/include/wx-2.8/wx/chkconf.h:23: fatal error: wx/msw/chkconf.h: File or directory not found
compilation terminated.
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
The IDE I use is the CodeBlocks 10.05 with the GUI libraries wxWidgets 2.8.
The CodeBlocks dont't find the file chkconf.h but when I do a manual search in the directory usr/include/wx-2.8/wx i see that it exists.
Help me, please.
Thank you...
I found my mistake, but now my problem is this "auto-import".
-------------- Build: windows in ADM ---------------
Compiling: ADMMain.cpp
Compiling: IDENTIFICACAO.cpp
Compiling: IDENTIFICACAOfunc.cpp
Compiling: TRATIMAGENS.cpp
Compiling: TRATIMAGENSfunc.cpp
Compiling: resource.rc
Compiling: ADMApp.cpp
Linking executable: windows\bin\ADM.exe
Info: resolving _wxEmptyString by linking to __imp__wxEmptyString (auto-import)
Info: resolving wxStringBase::npos by linking to __imp___ZN12wxStringBase4nposE (auto-import)
Info: resolving vtable for wxObject by linking to __imp___ZTV8wxObject (auto-import)
Info: resolving vtable for wxListBase by linking to __imp___ZTV10wxListBase (auto-import)
Info: resolving vtable for wxGDIObject by linking to __imp___ZTV11wxGDIObject (auto-import)
Info: resolving vtable for wxFontBase by linking to __imp___ZTV10wxFontBase (auto-import)
Info: resolving vtable for wxFont by linking to __imp___ZTV6wxFont (auto-import)
Info: resolving _wxDefaultSize by linking to __imp__wxDefaultSize (auto-import)
Info: resolving vtable for wxColourBase by linking to __imp___ZTV12wxColourBase (auto-import)
Info: resolving vtable for wxColour by linking to __imp___ZTV8wxColour (auto-import)
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
Info: resolving vtable for wxWindow by linking to __imp___ZTV8wxWindow (auto-import)
Info: resolving vtable for wxControlBase by linking to __imp___ZTV13wxControlBase (auto-import)
Info: resolving vtable for wxControl by linking to __imp___ZTV9wxControl (auto-import)
Info: resolving vtable for wxStaticText by linking to __imp___ZTV12wxStaticText (auto-import)
Info: resolving vtable for wxwxMenuItemListNode by linking to __imp___ZTV20wxwxMenuItemListNode (auto-import)
Info: resolving vtable for wxMenuBase by linking to __imp___ZTV10wxMenuBase (auto-import)
Info: resolving vtable for wxMenu by linking to __imp___ZTV6wxMenu (auto-import)
Info: resolving vtable for wxStaticLine by linking to __imp___ZTV12wxStaticLine (auto-import)
Info: resolving vtable for wxRadioButton by linking to __imp___ZTV13wxRadioButton (auto-import)
Info: resolving vtable for wxPanel by linking to __imp___ZTV7wxPanel (auto-import)
Info: resolving vtable for wxButton by linking to __imp___ZTV8wxButton (auto-import)
Info: resolving vtable for wxFrame by linking to __imp___ZTV7wxFrame (auto-import)
Info: resolving vtable for wxStatusBar by linking to __imp___ZTV11wxStatusBar (auto-import)
Info: resolving wxFrame::sm_eventTable by linking to __imp___ZN7wxFrame13sm_eventTableE (auto-import)
Info: resolving _wxDefaultPosition by linking to __imp__wxDefaultPosition (auto-import)
Info: resolving _wxDefaultValidator by linking to __imp__wxDefaultValidator (auto-import)
Info: resolving _wxEVT_COMMAND_BUTTON_CLICKED by linking to __imp__wxEVT_COMMAND_BUTTON_CLICKED (auto-import)
Info: resolving _wxEVT_COMMAND_MENU_SELECTED by linking to __imp__wxEVT_COMMAND_MENU_SELECTED (auto-import)
Info: resolving _wxEVT_CLOSE_WINDOW by linking to __imp__wxEVT_CLOSE_WINDOW (auto-import)
Info: resolving _wxEVT_NULL by linking to __imp__wxEVT_NULL (auto-import)
Info: resolving vtable for wxScrolledWindow by linking to __imp___ZTV16wxScrolledWindow (auto-import)
Info: resolving vtable for wxBookCtrlBase by linking to __imp___ZTV14wxBookCtrlBase (auto-import)
Info: resolving vtable for wxTextCtrlBase by linking to __imp___ZTV14wxTextCtrlBase (auto-import)
Info: resolving vtable for wxTextCtrl by linking to __imp___ZTV10wxTextCtrl (auto-import)
Info: resolving vtable for wxSplitterWindow by linking to __imp___ZTV16wxSplitterWindow (auto-import)
Info: resolving vtable for wxItemContainerImmutable by linking to __imp___ZTV24wxItemContainerImmutable (auto-import)
Info: resolving vtable for wxItemContainer by linking to __imp___ZTV15wxItemContainer (auto-import)
Info: resolving vtable for wxControlWithItems by linking to __imp___ZTV18wxControlWithItems (auto-import)
Info: resolving vtable for wxChoiceBase by linking to __imp___ZTV12wxChoiceBase (auto-import)
Info: resolving vtable for wxChoice by linking to __imp___ZTV8wxChoice (auto-import)
Info: resolving vtable for wxComboBox by linking to __imp___ZTV10wxComboBox (auto-import)
Info: resolving vtable for wxListbook by linking to __imp___ZTV10wxListbook (auto-import)
Info: resolving vtable for wxGDIImage by linking to __imp___ZTV10wxGDIImage (auto-import)
Info: resolving vtable for wxBitmap by linking to __imp___ZTV8wxBitmap (auto-import)
Info: resolving vtable for wxToolBar by linking to __imp___ZTV9wxToolBar (auto-import)
Info: resolving _wxNullBitmap by linking to __imp__wxNullBitmap (auto-import)
Info: resolving _wxEVT_PAINT by linking to __imp__wxEVT_PAINT (auto-import)
Info: resolving vtable for wxImage by linking to __imp___ZTV7wxImage (auto-import)
Info: resolving _wxConvUTF8 by linking to __imp__wxConvUTF8 (auto-import)
Info: resolving wxAppConsole::ms_appInitFn by linking to __imp___ZN12wxAppConsole12ms_appInitFnE (auto-import)
Info: resolving wxAppConsole::ms_appInstance by linking to __imp___ZN12wxAppConsole14ms_appInstanceE (auto-import)
Info: resolving vtable for wxCommandEvent by linking to __imp___ZTV14wxCommandEvent (auto-import)
Info: resolving _wxEVT_COMMAND_ENTER by linking to __imp__wxEVT_COMMAND_ENTER (auto-import)
Output size is 1,88 MB
Process terminated with status 0 (0 minutes, 41 seconds)
0 errors, 1 warnings
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
Have you read the log carefully? Twice?
Then have you tried to paste the error in your search engine of choice?