How to compile tools/create_project ?

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
monsieurouxx
Posts: 80
Joined: Fri Oct 19, 2007 5:48 pm

How to compile tools/create_project ?

Post by monsieurouxx »

Hi,

I'm trying to compile the tool create_project. I know it's probably not officially supported, but the mistake is probably really obvious.

I'm not very good with makefiles (you could even say I'm pretty useless)

Here is what I've done :
- downloaded scummvm repository
- Installed Code::Blocks (with MinGW embedded)
- (command line) moved to C:\program files\CodeBlocks\MinGW\bin
- entered command below :

mingw32-make <scummvmdir>\tools\create_project
(replace "<scummvmdir>" with my own directory)

The tools throws : "Nothing to be done for <scummvmdir>\tools\create_project"

(the executable does not exist in the directory, of course, so there IS something to be done)

What am I doing wrong?
User avatar
LordHoto
ScummVM Developer
Posts: 1029
Joined: Sun Oct 30, 2005 3:58 pm
Location: Germany

Re: How to compile tools/create_project ?

Post by LordHoto »

monsieurouxx wrote:Hi,

I'm trying to compile the tool create_project. I know it's probably not officially supported, but the mistake is probably really obvious.

I'm not very good with makefiles (you could even say I'm pretty useless)

Here is what I've done :
- downloaded scummvm repository
- Installed Code::Blocks (with MinGW embedded)
- (command line) moved to C:\program files\CodeBlocks\MinGW\bin
- entered command below :

mingw32-make <scummvmdir>\tools\create_project
(replace "<scummvmdir>" with my own directory)

The tools throws : "Nothing to be done for <scummvmdir>\tools\create_project"

(the executable does not exist in the directory, of course, so there IS something to be done)

What am I doing wrong?
You need to go into the scummvm source folder and do "make tools" (after running configure).
monsieurouxx
Posts: 80
Joined: Fri Oct 19, 2007 5:48 pm

Re: How to compile tools/create_project ?

Post by monsieurouxx »

LordHoto wrote: You need to go into the scummvm source folder and do "make tools" (after running configure).
I'm not a UNIx user.
As I've explained, my "make" is actually "mingw32-make", and I'm not even sure that "configure" is relevant on Windows.
User avatar
LordHoto
ScummVM Developer
Posts: 1029
Joined: Sun Oct 30, 2005 3:58 pm
Location: Germany

Re: How to compile tools/create_project ?

Post by LordHoto »

monsieurouxx wrote:
LordHoto wrote: You need to go into the scummvm source folder and do "make tools" (after running configure).
I'm not a UNIx user.
As I've explained, my "make" is actually "mingw32-make", and I'm not even sure that "configure" is relevant on Windows.
Well you can only use the Makefile to build the tools after using configure. Anyway MinGW offers a bash shell for Windows (or at least MSYS does), so your best chances are to use that to run configure and then run make tools.

If you need more info about using MinGW/MSYS I can only point you to our wiki: http://wiki.scummvm.org/index.php/Compi ... mmVM/MinGW
monsieurouxx
Posts: 80
Joined: Fri Oct 19, 2007 5:48 pm

Re: How to compile tools/create_project ?

Post by monsieurouxx »

LordHoto wrote: Well you can only use the Makefile to build the tools after using configure. Anyway MinGW offers a bash shell for Windows (or at least MSYS does), so your best chances are to use that to run configure and then run make tools.

If you need more info about using MinGW/MSYS I can only point you to our wiki: http://wiki.scummvm.org/index.php/Compi ... mmVM/MinGW
Thanks a lot.
I'll have to test taht, but at least that has been utterly helpful to have a grasp at how ScummVM's project and tools are organized.
Post Reply