Help! Can't compile MMEX on Windows XP VC++ 2008 Express

Money Manager Ex Development related posts
(http://github.moneymanagerex.org/)
Post Reply
Nikolay
MMEX Developer
Posts: 1298
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Help! Can't compile MMEX on Windows XP VC++ 2008 Express

Post by Nikolay »

Hi Everybody,

I can't compile trunk mmex.

What has been done:
1. wxMSW-2.8.10-Setup.exe has been installed;
2. wxWidgets\include\wx\msw\setup.h modified
wxUSE_TAB_DIALOG 1
wxUSE_UNICODE 1
3. c:\wxWidgets-2.8.10 in the path added;
4. Then I have opened wx.sln file in VC++ 2008 Express and compiled it as Unicode Release : Win32
5. Checked params WX_UNICODE ?= 1
WX_MONOLITHIC ?= 1 for mmex\build\msw\config.gcc
6. Check mmex 0.9.5.0 - compiling is OK (mmex_unicode_release Win32)
7. I am trying t compile trunk as Unicode Release Monolithic WX PYTHON 0 -
does not work :(

Code: Select all

1>------ Построение начато: проект: mmex, Конфигурация: Unicode Release Monolithic WX_PYTHON_0 Win32 ------
1>Компоновка...
1>LINK : fatal error LNK1181: не удается открыть входной файл "wxmsw28u.lib"
1>Журнал построения был сохранен в "file://d:\Developing\moneymanagerex\trunk\mmex\build\msw\vc-static-u\mmex\BuildLog.htm"
1>mmex - ошибок 1, предупреждений 0
========== Построение: успешно: 0, с ошибками: 1, без изменений: 1, пропущено: 0 ==========
There is no wxmsw28u.lib file in the system but a lot of wxmsw28u*.lib here:
C:\wxWidgets-2.8.10\lib\vc_lib\
wxmsw28u_adv.lib
wxmsw28u_aui.lib
wxmsw28u_core.lib
wxmsw28u_dbgrid.lib
wxmsw28u_gl.lib
wxmsw28u_html.lib
wxmsw28u_media.lib
wxmsw28u_qa.lib
wxmsw28u_richtext.lib
wxmsw28u_xrc.lib

What's wrong?

Thanks

Vadim
MMEX Developer
Posts: 142
Joined: Mon Aug 03, 2009 7:35 am
Are you a spam bot?: No

Re: Help! Can't compile MMEX on Windows XP VC++ 2008 Express

Post by Vadim »

*** Compiling using VisualStudio IDE ***

1. Open build\msw\mmex.sln under mmex directory.
Select one of following configurations to build (accordingly to wxWidgets builds):

Unicode builds, for Windows 2000 or later
"Unicode Release Multilib WX_PYTHON_0" <-- choice number one for most people
Unicode Debug Multilib WX_PYTHON_0"

Ansi builds, for Windows 95/98/Me.
"Release Multilib WX_PYTHON_0"
"Debug Multilib WX_PYTHON_0"
...

Vadim
MMEX Developer
Posts: 142
Joined: Mon Aug 03, 2009 7:35 am
Are you a spam bot?: No

Re: Help! Can't compile MMEX on Windows XP VC++ 2008 Express

Post by Vadim »

Don't mix MinGW build instructions and VC++ ones. Monolithic build requires for MinGW, VC++ should use Multilib build of wxWidgets. config.* files use only for building with nmake or mingw-make or some other make and have no influence on IDE's build.

Nikolay
MMEX Developer
Posts: 1298
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Help! Can't compile MMEX on Windows XP VC++ 2008 Express

Post by Nikolay »

Where were my eyes ? :)

Unicode Release Multilib WX_PYTHON_0 Win32 <- working

Thanks!
Vadim wrote:Did you read readme.txt ?

ЗЫ Чукча не читатель, чукча писатель :)

Vadim
MMEX Developer
Posts: 142
Joined: Mon Aug 03, 2009 7:35 am
Are you a spam bot?: No

Re: Help! Can't compile MMEX on Windows XP VC++ 2008 Express

Post by Vadim »

Remember, you as developer should build and use DEBUG version of MMEX. Release build misses a lots of checks which were perform in debug. Release build also must be tested, but all your changes firstly compile and test in Debug mode.

Post Reply