Recipe to compile Mudlet on Windows

User avatar
Rakon
Posts: 350
Joined: Tue Feb 16, 2010 7:41 pm
Contact:

Re: Recipe to compile Mudlet on Windows

Post by Rakon »

Thanks Chris.

Dl/d and properly extracted all files on Debian Wheezy with p7zip(through Archive manager), and tar CLI. Tested in a Windows 7 VM, with 7zip and WinRar. There are sources and a 'packages' folder within the gunzip, no issues extracting.

Darmir - try using 7zip to extract the files.

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Recipe to compile Mudlet on Windows

Post by Vadi »

@InTheWorks: thanks for providing this! Mudlet's source code now includes another file, so instead of the provided src.pro, the attached one should be used. This is only for compiling the vanilla SF Mudlet.
Attachments
src.pro.zip
(1.77 KiB) Downloaded 386 times

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

Re: Recipe to compile Mudlet on Windows

Post by Filion »

the error that is reported in the next message
Last edited by Filion on Sun Sep 02, 2012 9:17 pm, edited 1 time in total.

User avatar
kevutian
Posts: 217
Joined: Fri Aug 20, 2010 8:18 pm
Location: United Kingdom
Contact:

Re: Recipe to compile Mudlet on Windows

Post by kevutian »

There should be an error above that first line you posted. Would need that.

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

Re: Recipe to compile Mudlet on Windows

Post by Filion »

delete
Last edited by Filion on Sun Sep 02, 2012 9:16 pm, edited 1 time in total.

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

Re: Recipe to compile Mudlet on Windows

Post by Filion »

but i can't scroll more, the errors are more than my buffer

edit ok here i go
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>cd c:\mudlet\mudlet_mudletpackage
The system cannot find the path specified.

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

C:\mudlet\mudlet_package>setvars.bat
C:\mudlet\mudlet_package>cd C:\mudlet

C:\mudlet>cd mudlet_package

C:\mudlet\mudlet_package>cd mudlet.git

C:\mudlet\mudlet_package\mudlet.git>cd scr
The system cannot find the path specified.

C:\mudlet\mudlet_package\mudlet.git>cd src

C:\mudlet\mudlet_package\mudlet.git\src>qmake
WARNING: c:\mudlet\mudlet_package\mudlet.git\src\src.pro:13: Unescaped backslashes are deprecated.
WARNING: c:\mudlet\mudlet_package\mudlet.git\src\src.pro:13: Unescaped backslashes are deprecated.
WARNING: c:\mudlet\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

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\mudlet_package\mudlet.git\src>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/mudlet/mudlet_package/mudlet.git/src'
g++ -c -g -O3 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -D
QT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\include\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore"
-I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phono
n" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"c:\mudlet_package\includes\lua-5.1.4\src" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\lib" -I"c:\QtSDK\Desktop\Qt
\4.8.1\mingw\include" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtCore" -I"c:\mudlet_package\includes\zlib123-dll\include" -I"c:\mudlet_package\includes\boost_1_47_0" -I"c:\mudlet_pack
age\includes\pcre-8.13" -I"c:\mudlet_package\includes\lloyd-yajl-17b1790\src" -I"c:\mudlet_package\includes\hunspell-1.3.2\src" -I"irc\include" -I"..\..\QtSDK\4.7.3\include\ActiveQt" -I
"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\TConsole.o TConsole.cpp
In file included from TConsole.h:36,
from TConsole.cpp:24:
ctelnet.h:29:18: error: zlib.h: 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:40:18: error: pcre.h: 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:36:21: error: lua.h: No such file or directory
TLuaInterpreter.h:37:24: error: lualib.h: No such file or directory
TLuaInterpreter.h:38:25: error: lauxlib.h: No such file or directory
In file included from TMap.h:37,
from Host.h:52,
from TCommandLine.h:32,
from TConsole.h:37,
from TConsole.cpp:24:
TAstar.h:5:40: error: boost/graph/astar_search.hpp: No such file or directory
TAstar.h:6:42: error: boost/graph/adjacency_list.hpp: No such file or directory
TAstar.h:7:34: error: boost/graph/random.hpp: No such file or directory
TAstar.h:8:28: error: boost/random.hpp: No such file or directory
TAstar.h:9:36: error: boost/graph/graphviz.hpp: No such file or directory
In file included from TConsole.h:37,
from TConsole.cpp:24:
TCommandLine.h:34:31: error: hunspell/hunspell.h: No such file or directory
In file included from TConsole.h:36,
from TConsole.cpp:24:
ctelnet.h:166: error: 'z_stream' does not name a type
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:168: error: 'pcre' was not declared in this scope
TTrigger.h:168: error: template argument 2 is invalid
In file included from Host.h:37,
from TCommandLine.h:32,
from TConsole.h:37,
from TConsole.cpp:24:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
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: At global scope:
TLuaInterpreter.h:118: error: 'lua_State' has not been declared
TLuaInterpreter.h:119: error: 'lua_State' has not been declared
TLuaInterpreter.h:120: error: 'lua_State' has not been declared
TLuaInterpreter.h:121: error: 'lua_State' has not been declared
TLuaInterpreter.h:122: error: 'lua_State' has not been declared
TLuaInterpreter.h:123: error: 'lua_State' has not been declared
TLuaInterpreter.h:124: error: 'lua_State' has not been declared
TLuaInterpreter.h:125: error: 'lua_State' has not been declared
TLuaInterpreter.h:126: error: 'lua_State' has not been declared
TLuaInterpreter.h:127: error: 'lua_State' has not been declared
TLuaInterpreter.h:128: error: 'lua_State' has not been declared
TLuaInterpreter.h:129: error: 'lua_State' has not been declared
TLuaInterpreter.h:130: error: 'lua_State' has not been declared
TLuaInterpreter.h:131: error: 'lua_State' has not been declared
TLuaInterpreter.h:132: error: 'lua_State' has not been declared
TLuaInterpreter.h:133: error: 'lua_State' has not been declared
TLuaInterpreter.h:134: error: 'lua_State' has not been declared
TLuaInterpreter.h:135: error: 'lua_State' has not been declared
TLuaInterpreter.h:136: error: 'lua_State' has not been declared
TLuaInterpreter.h:137: error: 'lua_State' has not been declared
TLuaInterpreter.h:138: error: 'lua_State' has not been declared
TLuaInterpreter.h:139: error: 'lua_State' has not been declared
TLuaInterpreter.h:140: error: 'lua_State' has not been declared
TLuaInterpreter.h:141: error: 'lua_State' has not been declared
TLuaInterpreter.h:142: error: 'lua_State' has not been declared
TLuaInterpreter.h:143: error: 'lua_State' has not been declared
TLuaInterpreter.h:144: error: 'lua_State' has not been declared
TLuaInterpreter.h:145: error: 'lua_State' has not been declared
TLuaInterpreter.h:146: error: 'lua_State' has not been declared
TLuaInterpreter.h:147: error: 'lua_State' has not been declared
TLuaInterpreter.h:148: error: 'lua_State' has not been declared
TLuaInterpreter.h:149: error: 'lua_State' has not been declared
TLuaInterpreter.h:150: error: 'lua_State' has not been declared
TLuaInterpreter.h:151: error: 'lua_State' has not been declared
TLuaInterpreter.h:152: error: 'lua_State' has not been declared
TLuaInterpreter.h:153: error: 'lua_State' has not been declared
TLuaInterpreter.h:154: error: 'lua_State' has not been declared
TLuaInterpreter.h:155: error: 'lua_State' has not been declared
TLuaInterpreter.h:156: error: 'lua_State' has not been declared
TLuaInterpreter.h:157: error: 'lua_State' has not been declared
TLuaInterpreter.h:158: error: 'lua_State' has not been declared
TLuaInterpreter.h:159: error: 'lua_State' has not been declared
TLuaInterpreter.h:160: error: 'lua_State' has not been declared
TLuaInterpreter.h:161: error: 'lua_State' has not been declared
TLuaInterpreter.h:162: error: 'lua_State' has not been declared
TLuaInterpreter.h:163: error: 'lua_State' has not been declared
TLuaInterpreter.h:164: error: 'lua_State' has not been declared
TLuaInterpreter.h:165: error: 'lua_State' has not been declared
TLuaInterpreter.h:166: error: 'lua_State' has not been declared
TLuaInterpreter.h:167: error: 'lua_State' has not been declared
TLuaInterpreter.h:168: error: 'lua_State' has not been declared
TLuaInterpreter.h:169: error: 'lua_State' has not been declared
TLuaInterpreter.h:170: error: 'lua_State' has not been declared
TLuaInterpreter.h:171: error: 'lua_State' has not been declared
TLuaInterpreter.h:172: error: 'lua_State' has not been declared
TLuaInterpreter.h:173: error: 'lua_State' has not been declared
TLuaInterpreter.h:174: error: 'lua_State' has not been declared
TLuaInterpreter.h:175: error: 'lua_State' has not been declared
TLuaInterpreter.h:176: error: 'lua_State' has not been declared
TLuaInterpreter.h:178: error: 'lua_State' has not been declared
TLuaInterpreter.h:179: error: 'lua_State' has not been declared
TLuaInterpreter.h:180: error: 'lua_State' has not been declared
TLuaInterpreter.h:181: error: 'lua_State' has not been declared
TLuaInterpreter.h:182: error: 'lua_State' has not been declared
TLuaInterpreter.h:183: error: 'lua_State' has not been declared
TLuaInterpreter.h:184: error: 'lua_State' has not been declared
TLuaInterpreter.h:185: error: 'lua_State' has not been declared
TLuaInterpreter.h:186: error: 'lua_State' has not been declared
TLuaInterpreter.h:187: error: 'lua_State' has not been declared
TLuaInterpreter.h:188: error: 'lua_State' has not been declared
TLuaInterpreter.h:189: error: 'lua_State' has not been declared
TLuaInterpreter.h:190: error: 'lua_State' has not been declared
TLuaInterpreter.h:191: error: 'lua_State' has not been declared
TLuaInterpreter.h:192: error: 'lua_State' has not been declared
TLuaInterpreter.h:193: error: 'lua_State' has not been declared
TLuaInterpreter.h:194: error: 'lua_State' has not been declared
TLuaInterpreter.h:195: error: 'lua_State' has not been declared
TLuaInterpreter.h:196: error: 'lua_State' has not been declared
TLuaInterpreter.h:197: error: 'lua_State' has not been declared
TLuaInterpreter.h:198: error: 'lua_State' has not been declared
TLuaInterpreter.h:199: error: 'lua_State' has not been declared
TLuaInterpreter.h:200: error: 'lua_State' has not been declared
TLuaInterpreter.h:201: error: 'lua_State' has not been declared
TLuaInterpreter.h:202: error: 'lua_State' has not been declared
TLuaInterpreter.h:203: error: 'lua_State' has not been declared
TLuaInterpreter.h:204: error: 'lua_State' has not been declared
TLuaInterpreter.h:205: error: 'lua_State' has not been declared
TLuaInterpreter.h:206: error: 'lua_State' has not been declared
TLuaInterpreter.h:207: error: 'lua_State' has not been declared
TLuaInterpreter.h:208: error: 'lua_State' has not been declared
TLuaInterpreter.h:209: error: 'lua_State' has not been declared
TLuaInterpreter.h:210: error: 'lua_State' has not been declared
TLuaInterpreter.h:211: error: 'lua_State' has not been declared
TLuaInterpreter.h:212: error: 'lua_State' has not been declared
TLuaInterpreter.h:213: error: 'lua_State' has not been declared
TLuaInterpreter.h:214: error: 'lua_State' has not been declared
TLuaInterpreter.h:215: error: 'lua_State' has not been declared
TLuaInterpreter.h:216: error: 'lua_State' has not been declared
TLuaInterpreter.h:217: error: 'lua_State' has not been declared
TLuaInterpreter.h:218: error: 'lua_State' has not been declared
TLuaInterpreter.h:219: error: 'lua_State' has not been declared
TLuaInterpreter.h:220: error: 'lua_State' has not been declared
TLuaInterpreter.h:221: error: 'lua_State' has not been declared
TLuaInterpreter.h:222: error: 'lua_State' has not been declared
TLuaInterpreter.h:223: error: 'lua_State' has not been declared
TLuaInterpreter.h:224: error: 'lua_State' has not been declared
TLuaInterpreter.h:225: error: 'lua_State' has not been declared
TLuaInterpreter.h:226: error: 'lua_State' has not been declared
TLuaInterpreter.h:227: error: 'lua_State' has not been declared
TLuaInterpreter.h:228: error: 'lua_State' has not been declared
TLuaInterpreter.h:229: error: 'lua_State' has not been declared
TLuaInterpreter.h:230: error: 'lua_State' has not been declared
TLuaInterpreter.h:231: error: 'lua_State' has not been declared
TLuaInterpreter.h:232: error: 'lua_State' has not been declared
TLuaInterpreter.h:233: error: 'lua_State' has not been declared
TLuaInterpreter.h:234: error: 'lua_State' has not been declared
TLuaInterpreter.h:235: error: 'lua_State' has not been declared
TLuaInterpreter.h:236: error: 'lua_State' has not been declared
TLuaInterpreter.h:237: error: 'lua_State' has not been declared
TLuaInterpreter.h:238: error: 'lua_State' has not been declared
TLuaInterpreter.h:239: error: 'lua_State' has not been declared
TLuaInterpreter.h:240: error: 'lua_State' has not been declared
TLuaInterpreter.h:241: error: 'lua_State' has not been declared
TLuaInterpreter.h:242: error: 'lua_State' has not been declared
TLuaInterpreter.h:243: error: 'lua_State' has not been declared
TLuaInterpreter.h:244: error: 'lua_State' has not been declared
TLuaInterpreter.h:245: error: 'lua_State' has not been declared
TLuaInterpreter.h:246: error: 'lua_State' has not been declared
TLuaInterpreter.h:247: error: 'lua_State' has not been declared
TLuaInterpreter.h:248: error: 'lua_State' has not been declared
TLuaInterpreter.h:249: error: 'lua_State' has not been declared
TLuaInterpreter.h:250: error: 'lua_State' has not been declared
TLuaInterpreter.h:251: error: 'lua_State' has not been declared
TLuaInterpreter.h:252: error: 'lua_State' has not been declared
TLuaInterpreter.h:253: error: 'lua_State' has not been declared
TLuaInterpreter.h:254: error: 'lua_State' has not been declared
TLuaInterpreter.h:255: error: 'lua_State' has not been declared
TLuaInterpreter.h:256: error: 'lua_State' has not been declared
TLuaInterpreter.h:257: error: 'lua_State' has not been declared
TLuaInterpreter.h:258: error: 'lua_State' has not been declared
TLuaInterpreter.h:259: error: 'lua_State' has not been declared
TLuaInterpreter.h:260: error: 'lua_State' has not been declared
TLuaInterpreter.h:261: error: 'lua_State' has not been declared
TLuaInterpreter.h:262: error: 'lua_State' has not been declared
TLuaInterpreter.h:263: error: 'lua_State' has not been declared
TLuaInterpreter.h:264: error: 'lua_State' has not been declared
TLuaInterpreter.h:265: error: 'lua_State' has not been declared
TLuaInterpreter.h:266: error: 'lua_State' has not been declared
TLuaInterpreter.h:267: error: 'lua_State' has not been declared
TLuaInterpreter.h:268: error: 'lua_State' has not been declared
TLuaInterpreter.h:269: error: 'lua_State' has not been declared
TLuaInterpreter.h:270: error: 'lua_State' has not been declared
TLuaInterpreter.h:271: error: 'lua_State' has not been declared
TLuaInterpreter.h:272: error: 'lua_State' has not been declared
TLuaInterpreter.h:273: error: 'lua_State' has not been declared
TLuaInterpreter.h:274: error: 'lua_State' has not been declared
TLuaInterpreter.h:275: error: 'lua_State' has not been declared
TLuaInterpreter.h:276: error: 'lua_State' has not been declared
TLuaInterpreter.h:277: error: 'lua_State' has not been declared
TLuaInterpreter.h:278: error: 'lua_State' has not been declared
TLuaInterpreter.h:279: error: 'lua_State' has not been declared
TLuaInterpreter.h:280: error: 'lua_State' has not been declared
TLuaInterpreter.h:281: error: 'lua_State' has not been declared
TLuaInterpreter.h:282: error: 'lua_State' has not been declared
TLuaInterpreter.h:283: error: 'lua_State' has not been declared
TLuaInterpreter.h:284: error: 'lua_State' has not been declared
TLuaInterpreter.h:285: error: 'lua_State' has not been declared
TLuaInterpreter.h:286: error: 'lua_State' has not been declared
TLuaInterpreter.h:287: error: 'lua_State' has not been declared
TLuaInterpreter.h:288: error: 'lua_State' has not been declared
TLuaInterpreter.h:289: error: 'lua_State' has not been declared
TLuaInterpreter.h:290: error: 'lua_State' has not been declared
TLuaInterpreter.h:291: error: 'lua_State' has not been declared
TLuaInterpreter.h:292: error: 'lua_State' has not been declared
TLuaInterpreter.h:293: error: 'lua_State' has not been declared
TLuaInterpreter.h:294: error: 'lua_State' has not been declared
TLuaInterpreter.h:295: error: 'lua_State' has not been declared
TLuaInterpreter.h:296: error: 'lua_State' has not been declared
TLuaInterpreter.h:297: error: 'lua_State' has not been declared
TLuaInterpreter.h:298: error: 'lua_State' has not been declared
TLuaInterpreter.h:299: error: 'lua_State' has not been declared
TLuaInterpreter.h:300: error: 'lua_State' has not been declared
TLuaInterpreter.h:301: error: 'lua_State' has not been declared
TLuaInterpreter.h:302: error: 'lua_State' has not been declared
TLuaInterpreter.h:303: error: 'lua_State' has not been declared
TLuaInterpreter.h:304: error: 'lua_State' has not been declared
TLuaInterpreter.h:305: error: 'lua_State' has not been declared
TLuaInterpreter.h:308: error: 'lua_State' has not been declared
TLuaInterpreter.h:309: error: 'lua_State' has not been declared
TLuaInterpreter.h:310: error: 'lua_State' has not been declared
TLuaInterpreter.h:311: error: 'lua_State' has not been declared
TLuaInterpreter.h:312: error: 'lua_State' has not been declared
TLuaInterpreter.h:313: error: 'lua_State' has not been declared
TLuaInterpreter.h:314: error: 'lua_State' has not been declared
TLuaInterpreter.h:315: error: 'lua_State' has not been declared
TLuaInterpreter.h:316: error: 'lua_State' has not been declared
TLuaInterpreter.h:317: error: 'lua_State' has not been declared
TLuaInterpreter.h:318: error: 'lua_State' has not been declared
TLuaInterpreter.h:319: error: 'lua_State' has not been declared
TLuaInterpreter.h:320: error: 'lua_State' has not been declared
TLuaInterpreter.h:321: error: 'lua_State' has not been declared
TLuaInterpreter.h:322: error: 'lua_State' has not been declared
TLuaInterpreter.h:323: error: 'lua_State' has not been declared
TLuaInterpreter.h:324: error: 'lua_State' has not been declared
TLuaInterpreter.h:325: error: 'lua_State' has not been declared
TLuaInterpreter.h:326: error: 'lua_State' has not been declared
TLuaInterpreter.h:327: error: 'lua_State' has not been declared
TLuaInterpreter.h:328: error: 'lua_State' has not been declared
TLuaInterpreter.h:329: error: 'lua_State' has not been declared
TLuaInterpreter.h:330: error: 'lua_State' has not been declared
TLuaInterpreter.h:331: error: 'lua_State' has not been declared
TLuaInterpreter.h:332: error: 'lua_State' has not been declared
TLuaInterpreter.h:333: error: 'lua_State' has not been declared
TLuaInterpreter.h:334: error: 'lua_State' has not been declared
TLuaInterpreter.h:335: error: 'lua_State' has not been declared
TLuaInterpreter.h:336: error: 'lua_State' has not been declared
TLuaInterpreter.h:337: error: 'lua_State' has not been declared
TLuaInterpreter.h:338: error: 'lua_State' has not been declared
TLuaInterpreter.h:339: error: 'lua_State' has not been declared
TLuaInterpreter.h:340: error: 'lua_State' has not been declared
TLuaInterpreter.h:341: error: 'lua_State' has not been declared
TLuaInterpreter.h:342: error: 'lua_State' has not been declared
TLuaInterpreter.h:343: error: 'lua_State' has not been declared
TLuaInterpreter.h:344: error: 'lua_State' has not been declared
TLuaInterpreter.h:345: error: 'lua_State' has not been declared
TLuaInterpreter.h:346: error: 'lua_State' has not been declared
TLuaInterpreter.h:347: error: 'lua_State' has not been declared
TLuaInterpreter.h:348: error: 'lua_State' has not been declared
TLuaInterpreter.h:349: error: 'lua_State' has not been declared
TLuaInterpreter.h:357: error: 'lua_State' was not declared in this scope
TLuaInterpreter.h:357: error: template argument 1 is invalid
TLuaInterpreter.h:357: error: template argument 3 is invalid
TLuaInterpreter.h:357: error: template argument 4 is invalid
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:399: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:399: error: expected ';' before '*' token
TLuaInterpreter.h:400: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:400: error: expected ';' before '*' token
TLuaInterpreter.h:410: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:410: error: expected ';' before '*' token
TLuaInterpreter.h:411: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:411: error: expected ';' before '*' token
TLuaInterpreter.h:412: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:412: error: expected ';' before '*' token
TLuaInterpreter.h:413: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:413: error: expected ';' before '*' token
TLuaInterpreter.h:414: error: ISO C++ forbids declaration of 'lua_State' with no type
TLuaInterpreter.h:414: error: expected ';' before '*' token
In file included from AliasUnit.h:23,
from Host.h:39,
from TCommandLine.h:32,
from TConsole.h:37,
from TConsole.cpp:24:
TAlias.h:80: error: ISO C++ forbids declaration of 'pcre' with no type
TAlias.h:80: error: expected ';' before '*' token
In file included from dlgTriggerEditor.h:46,
from Host.h:45,
from TCommandLine.h:32,
from TConsole.h:37,
from TConsole.cpp:24:
luaInterface.h:46: error: 'lua_State' has not been declared
luaInterface.h:47: error: 'lua_State' has not been declared
luaInterface.h:48: error: 'lua_State' has not been declared
luaInterface.h:49: error: 'lua_State' has not been declared
luaInterface.h:50: error: 'lua_State' has not been declared
luaInterface.h:51: error: 'lua_State' has not been declared
luaInterface.h:52: error: 'lua_State' has not been declared
luaInterface.h:55: error: 'lua_State' has not been declared
luaInterface.h:64: error: ISO C++ forbids declaration of 'lua_State' with no type
luaInterface.h:64: error: expected ';' before '*' token
In file included from TMap.h:37,
from Host.h:52,
from TCommandLine.h:32,
from TConsole.h:37,
from TConsole.cpp:24:
TAstar.h:17: error: 'boost' is not a namespace-name
TAstar.h:17: error: expected namespace-name before ';' token
TAstar.h:69: error: expected template-name before '<' token
TAstar.h:69: error: expected '{' before '<' token
TAstar.h:69: error: expected unqualified-id before '<' token
TAstar.h:93: error: 'boost' has not been declared
TAstar.h:93: error: expected '{' before 'default_astar_visitor'
TAstar.h:94: error: invalid type in declaration before '{' token
TAstar.h:94: error: template declaration of 'int default_astar_visitor'
TAstar.h:94: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
TAstar.h:95: error: expected primary-expression before 'public'
TAstar.h:95: error: expected '}' before 'public'
TAstar.h:98: error: variable or field 'examine_vertex' declared void
TAstar.h:98: error: 'Vertex' was not declared in this scope
TAstar.h:98: error: expected primary-expression before '&' token
TAstar.h:98: error: 'g' was not declared in this scope
TAstar.h:102: error: expected unqualified-id before 'private'
TAstar.h:104: error: expected declaration before '}' token
mingw32-make[1]: *** [tmp/TConsole.o] Error 1
mingw32-make[1]: Leaving directory `C:/mudlet/mudlet_package/mudlet.git/src'
mingw32-make: *** [debug] Error 2

C:\mudlet\mudlet_package\mudlet.git\src>

User avatar
kevutian
Posts: 217
Joined: Fri Aug 20, 2010 8:18 pm
Location: United Kingdom
Contact:

Re: Recipe to compile Mudlet on Windows

Post by kevutian »

Much better. Yeah, it's either missing a bunch of dependencies or they are not being found in your path.

You downloaded the archive from http://ge.tt/7ZiY3fG/v/0?c right?

Also, make sure you use the qmake from that archive. I had -very- few problems when I built this, and those I did have were resolved by fixing the src.pro.

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

Re: Recipe to compile Mudlet on Windows

Post by Filion »

yes i downloaded the archive from that address. I also copied chis' repository, renamed it etc. But after that, i didn't have to write the lines that chris said as the were already written. The only thing that i did, was to download Vadi's file and replace the src.pro

User avatar
kevutian
Posts: 217
Joined: Fri Aug 20, 2010 8:18 pm
Location: United Kingdom
Contact:

Re: Recipe to compile Mudlet on Windows

Post by kevutian »

That's your problem right there. Don't use that src.pro.

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

Re: Recipe to compile Mudlet on Windows

Post by Filion »

what about those?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Fanis>cd C:\mudlet\mudlet_packages
The system cannot find the path specified.

C:\Users\Fanis>cd C:\mudlet\mudlet_package

C:\mudlet\mudlet_package>setvars.bat
C:\mudlet\mudlet_package>cd mudlet.git\src

C:\mudlet\mudlet_package\mudlet.git\src>qmake
WARNING: c:\mudlet\mudlet_package\mudlet.git\src\src.pro:15: Unescaped backslashes are deprecated.
WARNING: c:\mudlet\mudlet_package\mudlet.git\src\src.pro:15: Unescaped backslashes are deprecated.
WARNING: c:\mudlet\mudlet_package\mudlet.git\src\src.pro:15: 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

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\mudlet_package\mudlet.git\src>mingw32-make
mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/mudlet/mudlet_package/mudlet.git/src'
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\dlgOptionsAreaTriggers.o dlgOptionsAreaTriggers.cpp

In file included from Host.h:37,
from TTrigger.h:37,
from dlgOptionsAreaTriggers.h:26,
from dlgOptionsAreaTriggers.cpp:23:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\dlgOptionsAreaTimers.o dlgOptionsAreaTimers.cpp
In file included from Host.h:37,
from TTimer.h:37,
from dlgOptionsAreaTimers.cpp:21:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\dlgOptionsAreaScripts.o dlgOptionsAreaScripts.cpp
In file included from Host.h:37,
from TScript.h:37,
from dlgOptionsAreaScripts.cpp:21:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\TCommandLine.o TCommandLine.cpp
In file included from Host.h:37,
from TCommandLine.h:32,
from TCommandLine.cpp:20:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\TTreeWidget.o TTreeWidget.cpp
In file included from Host.h:37,
from TTreeWidget.cpp:27:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\TTreeWidgetItem.o TTreeWidgetItem.cpp
In file included from Host.h:37,
from TTreeWidgetItem.cpp:24:
TimerUnit.h: In constructor 'TimerUnit::TimerUnit(Host*)':
TimerUnit.h:81: warning: 'TimerUnit::mMaxID' will be initialized after
TimerUnit.h:65: warning: 'int TimerUnit::statsActiveTriggers'
TimerUnit.h:41: warning: when initialized here
g++ -c -O2 -O3 -Wno-deprecated -Wno-unused-parameter -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_XML
_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\QtSDK\4.7.3\inc
lude\QtUiTools" -I"..\..\QtSDK\4.7.3\include\QtCore" -I"..\..\QtSDK\4.7.3\include\QtNetwork" -I"..\..\QtSDK\4.7.3\include\QtGui" -I"..\..\QtSDK\4.7.3\include\QtOpenGL" -I"..\..\QtSDK\4.
7.3\include\QtXml" -I"..\..\QtSDK\4.7.3\include\phonon" -I"..\..\QtSDK\4.7.3\include\QtWebKit" -I"..\..\QtSDK\4.7.3\include" -I"." -I"..\..\includes\lua-5.1.4\src" -I"..\..\includes\zli
b123-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"..\..\Q
tSDK\4.7.3\include\ActiveQt" -I"..\..\QtSDK\4.7.3\include\phonon_compat" -I"tmp" -I"." -I"..\..\QtSDK\4.7.3\mkspecs\win32-g++" -o tmp\TTimer.o TTimer.cpp

Post Reply