Hi,
I cannot compile DLL project no matter how hard I try it.
I have used both wx-enabled Dynamic library (Linux) and static.
I changed form Dynamic to static but nope! It don't work.
Strange enough, EXE works
I had CodeLite that comes with wx and I updated via SVN compilation.
g++, win XP SP3.
here is the error
Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
to specify which configuration exactly you want to use.
Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll\mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll\mswud)
to specify which configuration exactly you want to use.
mingw32-make.exe[1]: Entering directory `D:/learn wxwidgets/Learn wxWidgets/testDLL'
g++: wx-config: No such file or directory
g++: Error:: Invalid argument
g++: No: No such file or directory
g++: valid: No such file or directory
g++: setup.h: No such file or directory
g++: of: No such file or directory
g++: wxWidgets: No such file or directory
g++: has: No such file or directory
g++: been: No such file or directory
g++: found: No such file or directory
g++: at: No such file or directory
g++: location:: Invalid argument
g++: C:\wxWidgets-2.8.10\lib\gcc_dll\mswd\wx\setup.h: No such file or directory
mingw32-make.exe[1]: *** [Debug/dialogsclass.o.d] Error 1
mingw32-make.exe[1]: Leaving directory `D:/learn wxwidgets/Learn wxWidgets/testDLL'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 0 warnings
CodeLite 15.x
CodeLite is awesome, I just Love it!
@ Frank,
I have not got you.
I'm building a DLL file. When I build EXE it works but not DLL.
I might be doing something wrong but it is still mystery as I have checked all I could.
@ Eran, Here is a project with the files.
Thanks
You do not have the required permissions to view the files attached to this post.
CodeLite 15.x
CodeLite is awesome, I just Love it!
I suspect that the problem is that you are building the wrong configuration.
By looking at the .project file, it seems that 'Debug' is associated with the ANSI version of wxWidgets,
however, if you are using codelite's wx package, you only have the Unicode version.
The solution is simple:
Change the build configuration (from the combo box on top of the 'Workspace View') and build 'DebugUnicode' / 'ReleaseUnicode'