User forums > Help

About wxmsw28u_gcc_custom.dll

<< < (3/6) > >>

zac:
Dear Raph,

May be due to my poor English, after studying the recommended article, I still cannot figure out the way to set CB to link to wxmsw28u_gcc_xxx.dll. Could sb kindly list out the steps in setting up the environment for using wxmsw28u_gcc_xxx.dll for me to test with?

Thanks a lot.

Regards,

zac

stahta01:

--- Quote from: zac on September 25, 2007, 02:39:31 am ---Dear Raph,

May be due to my poor English, after studying the recommended article, I still cannot figure out the way to set CB to link to wxmsw28u_gcc_xxx.dll. Could sb kindly list out the steps in setting up the environment for using wxmsw28u_gcc_xxx.dll for me to test with?

Thanks a lot.

Regards,

zac

--- End quote ---

What is the full path to where you compiled the DLL you wish to use?

Tim S

zac:
Dear Tim,

The full path for the wxmsw28u_gcc_xxx.dll are K:\DEV\bin\wxWidgets-2.8.4\lib\msw\gcc_dll, K:\DEV\bin\wxWidgets-2.8.4\lib\msw\gcc_lib where K:\DEV\bin\wxWidgets-2.8.4 is also my default wxWidgets installed folder. And I've installed MinGW in K:\DEV\bin\MinGW-5.1.3 and Code::Blocks in K:\DEV\bin\CodeBlocks-1.0.rc.svn.4425.

Thanks a lot.

Regards,

zac

stahta01:
Set current variable to "wx"
Change the path in "base" to "K:\DEV\bin\wxWidgets-2.8.4\lib\msw\gcc_dll" without the quotes.

Leave "Include", "Lib" and the others blank.

The do a full rebuild of your project/workspace.

Tim S



[attachment deleted by admin]

zac:
Thanks Tim,

However, I still got error when compiling.


--- Code: ---:: === wxUseDll, Debug ===
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.h:13: wx/app.h: No such file or directory
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.h:16: error: expected class-name before '{' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:14: wx/frame.h: No such file or directory
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:15: wx/menu.h: No such file or directory
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:16: wx/statusbr.h: No such file or directory
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:20: error: expected class-name before '{' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:23: error: expected `)' before '*' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:29: error: variable or field `OnQuit' declared void
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:29: error: expected `;' before '(' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:30: error: variable or field `OnAbout' declared void
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:30: error: expected `;' before '(' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:40: error: ISO C++ forbids declaration of `wxStatusBar' with no type
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:40: error: expected `;' before '*' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:44: error: ISO C++ forbids declaration of `DECLARE_EVENT_TABLE' with no type
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:44: error: expected `;' before '}' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:44: error: expected `;' before '}' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:14: wx/image.h: No such file or directory
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:17: error: expected constructor, destructor, or type conversion before ';' token
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:: In member function `virtual bool wxUseDllApp::OnInit()':
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:23: error: `wxInitAllImageHandlers' undeclared (first use this function)
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:23: error: (Each undeclared identifier is reported only once for each function it appears in.)
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:26: error: no matching function for call to `wxUseDllFrame::wxUseDllFrame(int)'
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:20: note: candidates are: wxUseDllFrame::wxUseDllFrame()
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllMain.h:20: note:                 wxUseDllFrame::wxUseDllFrame(const wxUseDllFrame&)
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:27: error: 'class wxUseDllFrame' has no member named 'Show'
K:\DEV\prj\wx\cb\wxUseDll\wxUseDllApp.cpp:28: error: `SetTopWindow' undeclared (first use this function)
:: === Build finished: 25 errors, 0 warnings ===


--- End code ---

I've set the Global Variables to point to K:\DEV\bin\wxWidgets-2.8.4\lib\msw\gcc_dll and all other leave blanks.

Also, if I use the wizard to create a new project, I'll get error saying that wxWidgets' files not found.

Regards,

zac


[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version