compiler for windows
-
- Peon
- Posts: 40
- Joined: 26 Jun 2005, 20:05
compiler for windows
Does anyone know of any free compilers for windows to compile the CVS version of this game.
Also how to run it and compile the game.
thanks
Michelle
Also how to run it and compile the game.
thanks
Michelle
1) Download & install this:
http://prdownloads.sourceforge.net/dev- ... _setup.exe
2) Download & install (double click) this:
http://themanaworld.sf.net/files/tmw-cvs.DevPak
3) Open the .dev file from CVS & Compile it
4) Be happy.
http://prdownloads.sourceforge.net/dev- ... _setup.exe
2) Download & install (double click) this:
http://themanaworld.sf.net/files/tmw-cvs.DevPak
3) Open the .dev file from CVS & Compile it
4) Be happy.
the bloodshed package matt mentioned is probably your best bet, but if you want to try some other compilers: the beta versions of ms's visual studio are free, afaik. then there's mingw (windows port of gcc) or cygwin. and the intel compiler's free for private, non-commercial use, afaik, and generates *damn well optimized* binaries.
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
Just some useful links:
http://themanaworld.org/cvs-tutorial.txt
http://cvs.sourceforge.net/viewcvs.py/t ... iew=markup
If you're interested in using MS Visual Studio 2005 Express Beta2, you can grab the project file here http://themanaworld.homeip.net/tmw
I know of another free compiler for windows: lcc, but I don't know if it works or if it's supported.
ktm: are you sure intel compiler is free? I could only find free evaluation kit. Can you maybe throw a link?
http://themanaworld.org/cvs-tutorial.txt
http://cvs.sourceforge.net/viewcvs.py/t ... iew=markup
If you're interested in using MS Visual Studio 2005 Express Beta2, you can grab the project file here http://themanaworld.homeip.net/tmw
I know of another free compiler for windows: lcc, but I don't know if it works or if it's supported.
ktm: are you sure intel compiler is free? I could only find free evaluation kit. Can you maybe throw a link?
now that i did some research on that subject, turns out only the linux c++/fortran compilers are free :/ sorry to disappoint you there.
but of course you can always get yourself some free mail addresses (or use "elve.n@gmail.com","el.v..en@gmail.com" etc) and just dl a new one-month-trial keyfile every few weeks
but of course you can always get yourself some free mail addresses (or use "elve.n@gmail.com","el.v..en@gmail.com" etc) and just dl a new one-month-trial keyfile every few weeks
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
Got a problem! I used devc++(beta),got the pak,and compiled the project but the at "g++.exe -D__DEBUG__ obj/base64.o(...so on) "compiler command I received "Bad command or file name" error.I executed this command from my ms command prompt and it seems that it truncates the command so I received the same error(btw I use windows 98 ).What can I do?Can you suggest me a program that executes such long commands without truncate them?
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
Here it is:
"Compiler: Default compiler
Building Makefile: "C:\My Documents\tmw\tmw\Makefile.win"
Executing make...
make.exe -f "C:\My Documents\tmw\tmw\Makefile.win" all
windres.exe -i The_Mana_World_private.rc --input-format=rc -o obj/The_Mana_World_private.res -O coff
g++.exe -D__DEBUG__ obj/base64.o obj/being.o obj/configuration.o obj/engine.o obj/floor_item.o obj/game.o obj/graphics.o obj/log.o obj/main.o obj/map.o obj/sound.o obj/spriteset.o obj/buddywindow.o obj/button.o obj/buy.o obj/buysell.o obj/char_select.o obj/char_server.o obj/chargedialog.o obj/chat.o obj/chatinput.o obj/checkbox.o obj/confirm_dialog.o obj/equipmentwindow.o obj/gui.o obj/item_amount.o obj/itemcontainer.o obj/listbox.o obj/login.o obj/minimap.o obj/newskill.o obj/npc.o obj/npc_text.o obj/ok_dialog.o obj/passwordfield.o obj/playerbox.o obj/progressbar.o obj/radiobutton.o obj/requesttrade.o obj/scrollarea.o obj/sell.o obj/setup.o obj/shop.o obj/skill.o obj/slider.o obj/stats.o obj/status.o obj/textbox.o obj/textfield.o obj/trade.o obj/window.o obj/windowcontainer.o obj/network.o obj/protocol.o obj/buddylist.o obj/image.o obj/iteminfo.o obj/itemmanager.o obj/mapreader.o obj/music.o obj/resource.o obj/resourcemanager.o obj/soundeffect.o obj/help.o obj/inttextbox.o obj/focushandler.o obj/popupmenu.o obj/browserbox.o obj/updatewindow.o obj/vbox.o obj/box.o obj/equipment.o obj/item.o obj/inventorywindow.o obj/inventory.o obj/configlistener.o obj/openglgraphics.o obj/The_Mana_World_private.res -o "tmw.exe" -L"C:/DEVC/lib" -mwindows -lguichan -lguichan_sdl -lguichan_opengl -lwsock32 -lSDL_image -lSDL_mixer -lmingw32 -lSDLmain -lSDL -lxml2 -lopengl32 -lz -lphysfs -lcurl -g3 -fmessage-length=0 -mmmx
Bad command or file name
Execution terminated
Compilation successful
"
I know it seems ok but when i click run I receive the message
"Project is not compiled"
"Compiler: Default compiler
Building Makefile: "C:\My Documents\tmw\tmw\Makefile.win"
Executing make...
make.exe -f "C:\My Documents\tmw\tmw\Makefile.win" all
windres.exe -i The_Mana_World_private.rc --input-format=rc -o obj/The_Mana_World_private.res -O coff
g++.exe -D__DEBUG__ obj/base64.o obj/being.o obj/configuration.o obj/engine.o obj/floor_item.o obj/game.o obj/graphics.o obj/log.o obj/main.o obj/map.o obj/sound.o obj/spriteset.o obj/buddywindow.o obj/button.o obj/buy.o obj/buysell.o obj/char_select.o obj/char_server.o obj/chargedialog.o obj/chat.o obj/chatinput.o obj/checkbox.o obj/confirm_dialog.o obj/equipmentwindow.o obj/gui.o obj/item_amount.o obj/itemcontainer.o obj/listbox.o obj/login.o obj/minimap.o obj/newskill.o obj/npc.o obj/npc_text.o obj/ok_dialog.o obj/passwordfield.o obj/playerbox.o obj/progressbar.o obj/radiobutton.o obj/requesttrade.o obj/scrollarea.o obj/sell.o obj/setup.o obj/shop.o obj/skill.o obj/slider.o obj/stats.o obj/status.o obj/textbox.o obj/textfield.o obj/trade.o obj/window.o obj/windowcontainer.o obj/network.o obj/protocol.o obj/buddylist.o obj/image.o obj/iteminfo.o obj/itemmanager.o obj/mapreader.o obj/music.o obj/resource.o obj/resourcemanager.o obj/soundeffect.o obj/help.o obj/inttextbox.o obj/focushandler.o obj/popupmenu.o obj/browserbox.o obj/updatewindow.o obj/vbox.o obj/box.o obj/equipment.o obj/item.o obj/inventorywindow.o obj/inventory.o obj/configlistener.o obj/openglgraphics.o obj/The_Mana_World_private.res -o "tmw.exe" -L"C:/DEVC/lib" -mwindows -lguichan -lguichan_sdl -lguichan_opengl -lwsock32 -lSDL_image -lSDL_mixer -lmingw32 -lSDLmain -lSDL -lxml2 -lopengl32 -lz -lphysfs -lcurl -g3 -fmessage-length=0 -mmmx
Bad command or file name
Execution terminated
Compilation successful
"
I know it seems ok but when i click run I receive the message
"Project is not compiled"
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
I have installed and uninstalled several times with no effect.What's mingw? I got dev-cpp from Matt's link
(http://prdownloads.sourceforge.net/dev- ... _setup.exe)
Isn't any other compiler that works on win 98?
(http://prdownloads.sourceforge.net/dev- ... _setup.exe)
Isn't any other compiler that works on win 98?
- ElvenProgrammer
- Founder
- Posts: 2526
- Joined: 13 Apr 2004, 19:11
- Location: Italy
- Contact:
I can only think about using visual studio at the moment, which I'm sure works. Anyway if you don't have so much practice compiling tmw, I suggest you get latest cvs and this executable http://themanaworld.homeip.net/tmw/tmw.exe which is updated very frequently.
It looks to me that your issue is with your global PATH variable. Your compiling related executables are for some reason not defined in your PATH variable (or rather the path to them isn't), and hence you cannot execute them from anywhere on your system. Unfortunately I'm not that familiar with Windows 98 anymore, so I cannot help much, but if I recall right, the PATH variables are defined in your autoexec.bat and/or in your config.sys.
Now that you have a clue what it's about, you can seek advise from a more knowledgeable person than me, good luck on your quest for information! (May Google be with you!)
Now that you have a clue what it's about, you can seek advise from a more knowledgeable person than me, good luck on your quest for information! (May Google be with you!)
This message used to be meaningful.