User forums > Help
wxWidgets libjpeg problem
raph:
--- Quote from: Knx on April 01, 2007, 09:41:35 pm ---What's wxjpeg?
--- End quote ---
wxjpeg is the name of the library containing the jpg stuff.
The filename should be (under windows) libwxjpeg.a and (debug build) libwxjpegd.a.
--- Quote from: Knx on April 01, 2007, 09:41:35 pm ---If I compile with MONOLITHIC=1 I won't need to do anything right? I'll try it then.
--- End quote ---
No, the image manipulation libs aren't build into the monolithic library. Just go to "Project"->"Build options"->select "Linker Settings"->click "Add" under "Link Libraries" and type in "wxjpeg".
TDragon:
--- Quote from: raph on April 01, 2007, 10:05:44 pm ---No, the image manipulation libs aren't build into the monolithic library.
--- End quote ---
The image manipulation libs aren't built into the static (default) monolithic library, true. A monolithic DLL build (SHARED=1) already includes them, however.
raph:
--- Quote from: TDragon on April 01, 2007, 10:26:48 pm ---
--- Quote from: raph on April 01, 2007, 10:05:44 pm ---No, the image manipulation libs aren't build into the monolithic library.
--- End quote ---
The image manipulation libs aren't built into the static (default) monolithic library, true. A monolithic DLL build (SHARED=1) already includes them, however.
--- End quote ---
Ah, good to know :D
Knx:
Compiled with
--- Code: ---mingw32-make -f makefile.gcc
--- End code ---
Adding libraries
--- Code: ---ld.exe:: cannot find -lwxmsw28d_dbgrid
:: === Build finished: 1 errors, 0 warnings ===
--- End code ---
When I compile with
--- Code: ---mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1
--- End code ---
It says that can't find "wx/setup.h"
stahta01:
Verify that these files exist in your wxWidgets folder.
include\wx\msw\setup0.h
include\wx\msw\setup.h
Note: If include\wx\msw\setup.h is missing copy include\wx\msw\setup0.h to include\wx\msw\setup.h
Tim S
Try below and see if it works for you, note it assumes MinGW is installed in C:\MinGW and that you are in your wxWidgets folder.
--- Code: ---CD build\msw
SET PATH=C:\MinGW\bin;C:\MinGW\mingw32\bin
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 clean
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version