Recipe to compile Mudlet on Windows

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Recipe to compile Mudlet on Windows

Post by chris »

A library can't be found (lqtmaind). My src builds the debug version, remove DEBUG from the config in src.pro or build the debug libraries.

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: Recipe to compile Mudlet on Windows

Post by Filion »

EDIT
mudlet_package\mudlet.git\src/ui_dlgPackageExporter.h:93: undefined reference to `_imp___ZN5QFontD1Ev'
./tmp\dlgPackageExporter.o: In function `~QString':
C:\Mudlet2\mudlet_package\mudlet.git\src/../../QtSDK/4.7.3/include/QtCore/qstring.h:883: undefined reference to `_imp___ZN7QString4freeEPNS_4DataE'
./tmp\dlgPackageExporter.o:C:\Mudlet2\mudlet_package\mudlet.git\src/ui_dlgPackageExporter.h:93: undefined reference to `_imp___ZN5QFontD1Ev'
collect2: Ξ· ld Ξ?Ο?Ξ?Ο?Ο?Ο?Ξ?Ο?Ξ? ΞΊΞ±Ο?Ξ?Ο?Ο?Ξ±Ο?Ξ· Ξ?ΞΎΟ?Ξ?ΞΏΟ? 1
mingw32-make: *** [mudlet.exe] Error 1

c:\Mudlet2\mudlet_package\mudlet.git\src>

what kind of error is that now?

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: Recipe to compile Mudlet on Windows

Post by Filion »

  • Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>cd c:\mudlet_package

    c:\mudlet_package>setvars.bat
    c:\mudlet_package>cd mudlet.git

    c:\mudlet_package\Mudlet.git>cd src

    c:\mudlet_package\Mudlet.git\src>qmake
    WARNING: c:\mudlet_package\QtSDK\4.7.3\mkspecs\win32-g++\qmake.conf:107: Unable to find file for inclusion qt_config
    WARNING: c:\mudlet_package\Mudlet.git\src\src.pro:13: Unescaped backslashes are deprecated.
    WARNING: fonts.path is not defined: install target not created

    WARNING: luaglobal.path is not defined: install target not created

    WARNING: documentation.path is not defined: install target not created

    WARNING: target.path is not defined: install target not created


    c:\mudlet_package\Mudlet.git\src>mingw32-make
    g++ -c -DUNICODE -DQT_LARGEFILE_SUPPORT -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\QtSDK\4.7.3\lib" -I"..\..\QtSDK\4.7.3\include" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\incl
    udes\zlib123-dll\include" -I"..\..\includes\boost_1_47_0" -I"..\..\includes\pcre-8.13" -I"..\..\includes\lloyd-yajl-17b1790\src" -I"..\..\includes\hunspell-1.3.2\src" -I"irc\include" -I
    "..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\TConsole.o TConsole.cpp
    TConsole.cpp:22:23: error: QMessageBox: No such file or directory
    In file included from TConsole.cpp:24:
    TConsole.h:31:23: error: QMainWindow: No such file or directory
    TConsole.h:32:23: error: QCloseEvent: No such file or directory
    In file included from TConsole.h:36,
    from TConsole.cpp:24:
    ctelnet.h:26:24: error: QHostAddress: No such file or directory
    ctelnet.h:27:22: error: QTcpSocket: No such file or directory
    ctelnet.h:28:21: error: QHostInfo: No such file or directory
    ctelnet.h:32:18: error: QColor: No such file or directory
    In file included from ctelnet.h:33,
    from TConsole.h:36,
    from TConsole.cpp:24:
    dlgComposer.h:25:25: error: ui_composer.h: No such file or directory
    In file included from TConsole.h:36,
    from TConsole.cpp:24:
    ctelnet.h:34:33: error: QNetworkAccessManager: No such file or directory
    ctelnet.h:35:27: error: QProgressDialog: No such file or directory
    In file included from TConsole.h:37,
    from TConsole.cpp:24:
    TCommandLine.h:24:21: error: QLineEdit: No such file or directory
    In file included from TriggerUnit.h:24,
    from Host.h:36,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TTrigger.h:38:22: error: QTextBlock: No such file or directory
    TTrigger.h:41:18: error: QSound: No such file or directory
    In file included from TScript.h:39,
    from ScriptUnit.h:24,
    from Host.h:38,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TLuaInterpreter.h:27:25: error: QNetworkReply: No such file or directory
    In file included from TAction.h:39,
    from ActionUnit.h:24,
    from Host.h:40,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TToolBar.h:24:23: error: QDockWidget: No such file or directory
    TToolBar.h:26:23: error: QGridLayout: No such file or directory
    In file included from TToolBar.h:27,
    from TAction.h:39,
    from ActionUnit.h:24,
    from Host.h:40,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TFlipButton.h:6:23: error: QPushButton: No such file or directory
    TFlipButton.h:7:30: error: QStyleOptionButton: No such file or directory
    In file included from ActionUnit.h:24,
    from Host.h:40,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TAction.h:41:17: error: QMenu: No such file or directory
    In file included from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgTriggerEditor.h:26:31: error: ui_trigger_editor.h: No such file or directory
    dlgTriggerEditor.h:27:19: error: QDialog: No such file or directory
    dlgTriggerEditor.h:28:27: error: QListWidgetItem: No such file or directory
    dlgTriggerEditor.h:29:23: error: QListWidget: No such file or directory
    dlgTriggerEditor.h:30:24: error: QTableWidget: No such file or directory
    dlgTriggerEditor.h:31:28: error: QTableWidgetItem: No such file or directory
    dlgTriggerEditor.h:32:23: error: QScrollArea: No such file or directory
    In file included from dlgTriggerEditor.h:37,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgTriggersMainArea.h:24:35: error: ui_triggers_main_area.h: No such file or directory
    dlgTriggersMainArea.h:25:19: error: QWidget: No such file or directory
    In file included from dlgTriggerEditor.h:38,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgTimersMainArea.h:24:33: error: ui_timers_main_area.h: No such file or directory
    In file included from dlgTriggerEditor.h:39,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgVarsMainArea.h:24:31: error: ui_vars_main_area.h: No such file or directory
    In file included from dlgTriggerEditor.h:40,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgSystemMessageArea.h:24:36: error: ui_system_message_area.h: No such file or directory
    In file included from dlgTriggerEditor.h:41,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgSourceEditorArea.h:24:35: error: ui_source_editor_area.h: No such file or directory
    In file included from dlgTriggerEditor.h:42,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgOptionsAreaTriggers.h:24:38: error: ui_options_area_triggers.h: No such file or directory
    In file included from dlgTriggerEditor.h:43,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    dlgSearchArea.h:24:37: error: ui_extended_search_area.h: No such file or directory
    In file included from dlgTriggerEditor.h:44,
    from Host.h:45,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TTreeWidget.h:24:23: error: QTreeWidget: No such file or directory
    TTreeWidget.h:25:27: error: QTreeWidgetItem: No such file or directory
    In file included from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    Host.h:49:21: error: QVector3D: No such file or directory
    In file included from Host.h:50,
    from TCommandLine.h:32,
    from TConsole.h:37,
    from TConsole.cpp:24:
    TArea.h:31:19: error: QPixmap: No such file or directory
    In file included from TConsole.h:37,
    from TConsole.cpp:24:
    TCommandLine.h:33:26: error: QPlainTextEdit: No such file or directory
    In file included from TConsole.cpp:24:
    TConsole.h:39:33: error: QTextDocumentFragment: No such file or directory
    In file included from TLabel.h:25,
    from TConsole.h:43,
    from TConsole.cpp:24:
    mudlet.h:36:20: error: QMdiArea: No such file or directory
    mudlet.h:38:28: error: ui_main_window.h: No such file or directory
    mudlet.h:46:23: error: Phonon: No such file or directory
    In file included from TConsole.h:43,
    from TConsole.cpp:24:
    TLabel.h:27:18: error: QLabel: No such file or directory
    TConsole.cpp:26:22: error: QScrollBar: No such file or directory
    TConsole.cpp:28:23: error: QVBoxLayout: No such file or directory
    In file included from TConsole.cpp:42:
    TDebug.h:25:23: error: QTextCursor: No such file or directory
    TConsole.cpp:44:35: error: QGraphicsSimpleTextItem: No such file or directory
    TConsole.cpp:46:21: error: QShortcut: No such file or directory
    In file included from TConsole.cpp:48:
    TSplitter.h:4:21: error: QSplitter: No such file or directory
    In file included from TSplitter.h:5,
    from TConsole.cpp:48:
    TSplitterHandle.h:4:27: error: QSplitterHandle: No such file or directory
    In file included from TConsole.cpp:51:
    dlgNotepad.h:25:29: error: ui_notes_editor.h: No such file or directory
    In file included from TConsole.cpp:53:
    dlgMapper.h:25:23: error: ui_mapper.h: No such file or directory
    In file included from ctelnet.h:33,
    from TConsole.h:36,
    from TConsole.cpp:24:
    dlgComposer.h:29: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected class-name before ',' token
    dlgComposer.h:29: Ο?Ο?Ξ?Ξ?ΞΌΞ±: 'Ui' has not been declared
    dlgComposer.h:29: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected '{' before 'composer'
    dlgComposer.h:30: Ο?Ο?Ξ?Ξ?ΞΌΞ±: invalid type in declaration before '{' token
    dlgComposer.h:30: Ο?Ο?ΞΏΞ?ΞΉΞ?ΞΏΟ?ΞΏΞ?Ξ·Ο?Ξ·: extended initializer lists only available with -std=c++0x or -std=gnu++0x
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected primary-expression before 'public'
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected '}' before 'public'
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected ',' or ';' before 'public'
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: ΞΌΞ· Ξ±Ο?Ο?ΞΉΞΊΞΏΟ?ΞΏΞΉΞ·ΞΌΞ?Ξ?Ξ· Ο?Ο?Ξ±ΞΈΞ?Ο?Ξ? const 'staticMetaObject'
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: 'virtual' outside class declaration
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: 'virtual' outside class declaration
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: 'virtual' outside class declaration
    dlgComposer.h:31: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected unqualified-id before 'private'
    dlgComposer.h:40: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected unqualified-id before 'public'
    dlgComposer.h:43: Ο?Ο?Ξ?Ξ?ΞΌΞ±: expected declaration before '}' token
    mingw32-make: *** [tmp/TConsole.o] Error 1

    c:\mudlet_package\Mudlet.git\src>
I don't understand why, even if QMessageBox,QMainWindow etc are included, it gives the "No such file or directory" error.Anyone able to help me?

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Recipe to compile Mudlet on Windows

Post by chris »

Here's how I build:
1) Open Qt Creator (just download the latest Qt 4.8 from the website)
2) clone my git repository to your c:\, so your path to the src.pro, is: c:\mudlet\src\src.pro
3) copy the files from /mudlet_libs to c:\mudlet\src\release (and \debug)
4) make sure the libraries are in the correct place:
EXTERNAL_INCLUDES = "C:\mudlet_package\includes" -- boost, hunspell, yajl, lua, pcre, zlib123
win32:LIBS += -L"C:\mudlet_package\mudlet_libs" \ -- luasql, mudlet-lua, phonon-backend, src/kepler..., and all the other dlls
5) open src.pro in Qt Creator (using open project), choose to build the release or debug version of 4.8, choose to build into the C:\mudlet\src\release (or \debug if you are building that), hit the green arrow and build

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: Recipe to compile Mudlet on Windows

Post by Filion »

mingw32-make[1]: Entering directory `C:/Mudlet/release'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\mudlet.exe object_script.mudlet.Debug -L"c:\mudlet_package\QtSDK\4.7.3\lib" -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmaind -LC:\mudlet_package\mudlet_libs -llua51 -lpcre -lhunspell -lyajl -lQtWebKitd -lphonond -lQtXmld -lQtOpenGLd -lQtGuid -lQtNetworkd -lQtCored -lQtUiToolsd
mingw32-make[1]: Leaving directory `C:/Mudlet/release'
g++: error: unrecognized command line option '-Wl'
mingw32-make[1]: Leaving directory `C:/Mudlet/release'
mingw32-make[1]: *** [debug\mudlet.exe] Error 1
mingw32-make: *** [debug] Error 2
22:14:54: The process "C:\MinGW\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project src (target: Desktop)
When executing step 'Make'
after an hour of building i got that error

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Recipe to compile Mudlet on Windows

Post by chris »

Your building into the wrong directory. Also, have you considered just running a virtual box of ubuntu. Getting your feet wet with compiling on Windows is a terrible idea

Heceldi
Posts: 3
Joined: Tue Sep 25, 2012 5:21 pm

Re: Recipe to compile Mudlet on Windows

Post by Heceldi »

Well, the initial post doesn't compile. I tried the various flavors of the recipe, to no avail. I tried using the Qt toolkit, as Chris said they do. None of it worked. I have Qt 4.8.1, VS2010, mingw, and am going to be installing VS2012 this weekend. Yes, I understand variable scope, and know how to avoid problems of wrong versions in path in windows. On my linux box, it's SO much easier.. since all you need do is add a prefix.

First, anyone looking to compile under Windows, this is not a project for the feint of heart. If those who stumble into this thread don't catch it, there's a LOT of different recipes where 'It Works For Me™'.. and no one else. Unless you get really really lucky, you will be spending some time with the various recipes to achieve 'It Works For Me™'.

Since I'm not a newbie to programming, I decided to make use of the horribly-outdated-for-visual-studio cmakelists. I built my libraries from scratch in visual studio for compatibility, and am presently working out the kinks. There's a lot of them. Once I'm successful or give up, I'll post again with my recipe.

Since everyone else is posting error logs... might as well show my next thing to fix. I just built ircclient-qt, added it to the project and rebuilt to get rid of some unresolved externals, and immediately ran into:
Code: [show] | [select all] lua
D:\Dev\mudlet.git\src\dlgIRC.cpp(85): error C2039: 'cmdNames' : is not a member of 'Irc::Session'
          d:\dev\mudlet.git\src\irc/include/ircsession.h(31) : see declaration of 'Irc::Session'
Based on paths, it's pulling from the wrong header location, but I haven't gone to look at what is provided where yet either. Don't need assistance yet, its all been fairly straightforward rebuilding of project file. Just put here for posterity.

EDIT: Hooray for my first post!

Heceldi
Posts: 3
Joined: Tue Sep 25, 2012 5:21 pm

Re: Recipe to compile Mudlet on Windows

Post by Heceldi »

My Recipe of Visual Stu-DOOOOOM.
1. This is NOT easy, any other way is probably better.
2. It'd be easier to make a virtualbox and build and run in linux.
3. I assume you know what you are doing, or can teach yourself.
4. I am going to be vague on purpose. as mileage will vary.
5. Following in my footsteps is not recommended.
6. I will neither endorse nor support attempts to try.

Some of the libraries I used:
boost_1_51_0, hunspell-1.3.2, yajl-17b1790, lua-5.1.5, pcre-8.31,
zlib1.2.7, lrexlib-2.6.0

First, get the dependencies, and build them all in Visual studio.
Most work with cmake, so aren't too difficult.
Lua has a vcproj floating around, just grab that and edit it for Lua5.1.5
Where possible, I built staticly. since I prefer monolithic executables.
You'll also need to build the ircclient-qt library, found in src.
You're going to need to do some defines if you're build static libs...
HUNSPELL_STATIC, PCRE_STATIC, IRC_STATIC to get you started.
When building lua, make sure to disable LIBCMT in all projects of sln
Comment out the HUGE_VAL and corresponding "huge" line in the lua source.
Make sure for pcre, you're grabbing headers from your build directory.

If you can't get this far, work with another recipe, really.

Open up CMakeLists and fix paths to where you have stuff.
Create project files using cmake.
It will never find phonon, and two other Qt libraries.
If you get any other errors, re-edit CMakeLists to fix.
I added MudletCPack.cmake as well, think I had to uncomment a line.
There's some path issues there too.
Also, search for ELSE(WIN32 AND NOT UNIX).. one of those lines needs deleted.
Same as the IF(WIN32 AND NOT UNIX), so it'd never fire.
I had to manually define QT library locations in cmake.
There were a few other things as well, watch errors.

Watch the output from cmake, if you see phonon and 2 others missing, and nothing else that's where I stopped and skipped those checks so it'd build the solution.

Open the solution, and set build type. I'm sticking to release only.
Also, go ahead and disable the cmake projects (they are in caps).
In the mudlet project, turn off Edit and Continue, it'll fail due to multithreading anyway.
Next, make sure it'd set to /MT (it'll fail miserably with /MD)
You need to ignoredefaultlib LIBCMT and MSVCPRT
You're going to need fix more paths, its up to you how.
I save&close project and hand edit, it's faster for me.
Add in missing libraries to include and libs and lib paths (phonon and ilk).
Don't forget to add the irc library.
There were a couple compile errors that were probably warnings in gcc.
Make the call on either forcing char to be unsigned, or ignoring C4309.
I ignored C4996. I get it, it has value, but think its silly... and I always disable.
If you're building monolithic, add PCRE_STATIC and the like to preprocessor defines.
If you get unresolved externals, you're not including a library or forgot to define something.
exitstreewidget.cpp is missing from the project file, found in your src directory, add it
Don't forget to moc the source for exitstreewidget, see the project file and folder for examples.
Also, edit mudlet.cpp and change: version( "Mudlet 2.0-test-vs2010 09-26-2012"

Basically, rinse and repeat this, correcting as you go. You'll get an exe eventually.

Now, although it's running and loading most of my UI, it complains at start.
Missing a handful of libraries. Looks to be related to how things are including in the lua interpreter.

At this point, I'm sharing my recipe, since it's running, and I can talk in channels, and it loads my ui.
The errors now are lua modules not loading. I know things are there, going to see about adding checks.

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Recipe to compile Mudlet on Windows

Post by chris »

Here's how I got it up and running in Visual Studio 2010:
1)download QT sources
2)configure.exe -debug-and-release -opensource -shared -plugin-sql-sqlite -opengl desktop -platform win32-msvc2010 -incredibuild-xge -phonon -phonon-backend -multimedia -audio-backend -webkit -webkit-debug -script -scripttools -declarative -mp
Note: you cannot build webkit statically
3)nmake
4) convert src.pro to a project solution
5) You'll have some issues of places defined twice, delete one instance from the project file
6) c++ includes:
"..\..\Qt\include\QtUiTools";"..\..\Qt\include\QtCore";"..\..\Qt\include\QtNetwork";"..\..\Qt\include\QtGui";"..\..\Qt\include\QtOpenGL";"..\..\Qt\include\QtXml";"..\..\Qt\include\phonon";"..\..\Qt\include\QtWebKit";"..\..\Qt\include";"..\..\mudlet_package\includes\lua-5.1.4\src";"..\..\Qt\lib";"..\..\Qt\include";"..\..\Qt\include\QtCore";"..\..\mudlet_package\includes\zlib123-dll\include";"..\..\mudlet_package\includes\boost_1_47_0";"..\..\mudlet_package\includes\pcre-8.13";"..\..\mudlet_package\includes\lloyd-yajl-17b1790\src";"..\..\mudlet_package\includes\hunspell-1.3.2\src";"irc\include";"..\..\Qt\include\ActiveQt";"c:\Qt\include\phonon_compat";"tmp";".";..\..\Qt\mkspecs\win32-msvc2010;"C:\mudlet_sources\Lua_src\src";"..\..\mudlet_package\includes\zlib123-dll\include";"..\..\mudlet_package\includes\boost_1_47_0";"..\..\mudlet_package\includes\pcre-8.13";"..\..\mudlet_package\includes\lloyd-yajl-17b1790\src";"..\..\mudlet_package\includes\hunspell-1.3.2\src";"irc\include";c:\mudlet\src\tmp;%(AdditionalIncludeDirectories)
7) linker includes:
$(QTDIR)\lib;C:\mudlet_package\mudlet_libs;%(AdditionalLibraryDirectories)
8) link additional dependencies:
glu32.lib;opengl32.lib;gdi32.lib;user32.lib;c:\Qt\lib\qtmaind.lib;c:\mudlet_package\mudlet_libs\lua51.lib;pcre.lib;hunspell.lib;yajl.lib;c:\Qt\lib\QtWebKitd4.lib;c:\Qt\lib\phonond4.lib;c:\Qt\lib\QtXmld4.lib;c:\Qt\lib\QtOpenGLd4.lib;c:\Qt\lib\QtGuid4.lib;c:\Qt\lib\QtNetworkd4.lib;c:\Qt\lib\QtCored4.lib;c:\Qt\lib\QtUiToolsd.lib;QtXmld4.lib;QtGuid4.lib;QtCored4.lib;%(AdditionalDependencies)

Mudlet Code modifications:
add to TAlias.h
#define PCRE_STATIC
add to TCommandLine.h
#define HUNSPELL_STATIC

Compiling libraries:
open hunspell in VS:
change to x64 release
compile dll
copy dll + lib to mudlet_libs

lua compile:
download lua src
download solutions from: http://sigttou.com/lua-visual-studio-2010-2
build lib, copy lib to mudlet_libs

Compile PCRE -- use cmake-gui to convert the cmake to a solution

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Recipe to compile Mudlet on Windows

Post by chris »

Also, after a successful build -- use dependency walker to make sure you have all the needed dlls in your mudlet.exe dir

Post Reply