Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Problem with mingw32-make -f makefile.gcc install [Windows Mingw compilation]
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
bzyx  
View profile  
 More options Dec 14 2010, 5:55 am
From: bzyx <bzy...@gmail.com>
Date: Tue, 14 Dec 2010 02:55:12 -0800 (PST)
Local: Tues, Dec 14 2010 5:55 am
Subject: Problem with mingw32-make -f makefile.gcc install [Windows Mingw compilation]
Hi,

I'm trying to compile debea on my Win 7 with mingw. I download the
package dba-1.4.2.zip, unpack it to C:\dba-1.4.2 , set the DEVEL=C:
\build\debea.
And type: mingw32-make -f makefile.gcc (I didn't change anything in
makefile) first error I have was:
 "dba/dbplugin.cpp:15:22: config.h: No such file or directory
mingw32-make: *** [\gcc_release_static\libdba_static_dbplugin.o] Error
1"
So I go to  C:\dba-1.4.2\dba and change te name config.h.in to
config.h, run the make again, and it goes well to the end.
So going with http://debea.net/trac/wiki/CompilePackage the next step
is: "mingw32-make -f makefile.gcc install" and here I get a error, and
don't know what to do with it.

C:\dba-1.4.2>mingw32-make -f makefile.gcc install
if not exist C:\build\debea\share\bakefile\presets mkdir C:\build\debea
\share\ba
kefile\presets
for %f in ( dba.bkl) do xcopy /Y /D /I .\bakefile\%f C:\build\debea
\share\bakefi
le\presets
W tym momencie f było nieoczekiwane.
mingw32-make: *** [install] Error 255

"W tym momencie f było nieoczekiwane." means  "At this point f was
unexpected."

Any ideas?

Regards,
Marcin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sirnor...@gmail.com  
View profile  
 More options Sep 11 2011, 7:33 am
From: sirnor...@gmail.com
Date: Sun, 11 Sep 2011 04:33:14 -0700 (PDT)
Local: Sun, Sep 11 2011 7:33 am
Subject: Re: Problem with mingw32-make -f makefile.gcc install [Windows Mingw compilation]

I succeeded to compile on *Windows* using *MinGW*. And this is what I did:
I opened the makefile.gcc and replaced all the occurrences of  *%f * to  *%%f  
*(added one more percent sign)

And it compiled fine.

*PS:* I have a question myself too. Please answer if you know.

I ran following command:
mingw32-make -f makefile.gcc <myoptions>

I think it compiled successfully.
And I've got bunch of files in the folder named "gcc_release_static" located
in the root.

Then I executed the next command:
mingw32-make -f makefile.gcc <myoptions> install

First it didn't work, complained that "%f was not expected there". After
some work, I found out that all  *%f* 's  in makefile.gcc should be replaced
wth *%%f*'s.
Next it said it could not find the file dba.lib. I had the VisualStudio
compiled version of debea and there was the file I want: dba.lib. I copied
that file into "gcc_release_static" folder so the compiler could find it. I
had to copy two-three more files in that way. Then the script got completed.
I've got following folders in %DEVEL%:
-- bin [empty]
-- lib [4.53 mb]
-- include [0.25 mb]
-- share [0.04 mb]

Is that the way it is supposed to be?
To test, i tried compiling an example from examples folder.
It is compiling fine in Visual Studio, but in codeblocks I'm getting alot of
errors:

undefined reference to `dba::Storeable::st_getTable()'

undefined reference to `dba::Storeable::sStoreTableList'

...

Please teach me how to fix this.

PPS: More detailed step-by-step guide to get debea working would be
excellent. Developers please improve the installation instructions.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tech  
View profile  
 More options Sep 11 2011, 12:03 pm
From: tech <sirnor...@gmail.com>
Date: Sun, 11 Sep 2011 09:03:35 -0700 (PDT)
Local: Sun, Sep 11 2011 12:03 pm
Subject: Re: Problem with mingw32-make -f makefile.gcc install [Windows Mingw compilation]

Update: I succeeded to compile examples. "Undefined reference" errors
vanished after adding dba.lib into Link libraries in Settings>Compiler and
debugger>Linker setttings in Code::Blocks...

If anyone is not being able to compile wxDba using MinGw on Windows:

If it can't find wxwidegets include files or debea include files:
in makefile.gcc find:

# Standard flags for C++
CXXFLAGS ?=

Next to CXXFLAGS ?= add:
-I "<pathToWxWidgetsFolder_OR_debeaFolder>\include" -D_UNICODE

for example:
# Standard flags for C++
CXXFLAGS ?= -I "C:\wxMSW\include" -D_UNICODE

Explanation: -I flag stands for include, it lets the compiler know where to
search for required header files.
-D_UNICODE flag makes it compile in unicode as wxDba works only with
unicode.

PS: Correct me if I'm wrong.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »