Results 1 to 7 of 7

Thread: Problems with makefile using MingW32-make!

  1. #1

    Question Problems with makefile using MingW32-make!

    Hello guys!

    I have a problem with the makefile generated by the "configure" program that is builded by the compilation of the configure.cpp source. Well, after I run the executable to create the makefiles, I go to the prompt and run the command "mingw32-make Makefile.conf", so the following message appear:

    Code:
    mingw32-make: *** No rule to make target `Makefile.conf'.  Stop.
    I do all things right to compile the configuration program and now it happen! And I don't know how I solve this. So, I ask you guys, that has compiled the ClanLib using MingW32, how I generate the "*.a" files? How I solve this Makefile problem?

    I'll appreciate all answers!

    Thanks all.

    PS: Sorry about my poor english!

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    The configure application only generates Visual Studio project files.

    The unix style makefiles are generated by a shell script (which itself was generated by autoconf+automake). My guess is that you need something like cygwin to run them and even then I'm not 100% sure if mingw can compile the Win32 version of ClanLib.

    Theoretically it probably wouldn't require too much to get it to compile (since most of the code base already compiles with gcc), but none of the developers use mingw so its completely untested.

  3. #3
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Bergen, Norway
    Posts
    588

    Default

    Actually, I think he refers to Setup\MinGW\configure.cpp

    ....which I had no idea existed or even what it does.

    Basically, what you're trying to do not in any way officially supported (not that we have any official support). If you manage to figure it out, write a doc for the next guy on the wiki

  4. #4
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    The configure.cpp has modified before ClanLib used SVN (27 October 2006) .

    Since it contains "clanGUIStyleBoring", I guess it will not work too well

  5. #5

    Default

    Quote Originally Posted by sphair View Post
    Actually, I think he refers to Setup\MinGW\configure.cpp

    ....which I had no idea existed or even what it does.

    Basically, what you're trying to do not in any way officially supported (not that we have any official support). If you manage to figure it out, write a doc for the next guy on the wiki
    Yes! I'm using this source to create the makefiles for MingW32! I used g++ to compile including the headers and sources available on folder "Generics". So, it works fine! Generating the "configure.exe" and creating the folder with the *.mak files and the Makefile.conf! But, this message persist and I can't make the *.a files for the use of the API.

    Anyone knows a method for create these files for mingw32?

    That's not is possible it only works with VC++!

  6. #6

    Default

    For clanlib 1, I compiled "configure" with MSVC Express 2010

    Then I used the app, that generate lots of MSVC projects.

    Then I imported those projects in codeblocks and compiled with MingW...

    It worked, but I don't tried to compile everything (I only needed to re-compile clandisplay, and doing that worked fine... I don't tried compiling other stuff...)

  7. #7

    Default Problems with makefile using MingW32-make!

    Hello guys, can anyone explain why there is no "No rule to make target" error thrown in the following example?

    makefile content:

    include submake.mk

    ifneq ($(strip $(MY_INCLUDE)),)
    -include $(MY_INCLUDE)
    endif

    all: $(MY_COMMAND)
    @echo 'main TEXT:'

    ----------------
    submake.mk content:
    MY_INCLUDE = test3_include

    MY_COMMAND = test4_command


    test4_command: test5_undefined
    @echo 'Test4 !!!'

    test3_include: test5_undefined
    ---------------------------
    execute command: mingw32-make.exe all
    NOTHING happens! Yet, test5_undefined is not a defined rule. Can anyone explain why there is no error displayed in the console?
    Thank you.

Similar Threads

  1. 0.8.1 mingw32 crush when Core is deinit
    By alexv1 in forum Official ClanLib SDK Forums
    Replies: 8
    Last Post: 02-18-2009, 04:35 PM
  2. Make problems on Linux (Ubuntu)
    By happybrowndog in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 12-11-2008, 08:12 AM
  3. Please post a basic makefile
    By NVanGogh in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 08-14-2008, 06:30 PM
  4. How do I make a new map
    By Gill in forum Novashell Game Creation System
    Replies: 2
    Last Post: 03-13-2008, 04:11 PM
  5. D-MOD It's to hard to make!
    By Dinkarl in forum Dink Smallwood HD
    Replies: 5
    Last Post: 03-19-2007, 05:08 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •