FWH 12.03 Mingw gcc linking errors

Re: FWH 12.03 Mingw gcc linking errors

Postby Antonio Linares » Sat Apr 14, 2012 4:06 pm

Alex,

Besides gcc you also have to install g++
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 12.03 Mingw gcc linking errors

Postby AlexSchaft » Sat Apr 14, 2012 4:34 pm

There are some between the hbct lib and fivehg libs. I will try and get rid of them, but I'm used since my Blinker days that the first linked lib got priority
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Re: FWH 12.03 Mingw gcc linking errors

Postby Antonio Linares » Sat Apr 14, 2012 5:14 pm

Alex,

Please report them here so I help you :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 12.03 Mingw gcc linking errors

Postby AlexSchaft » Sat Apr 14, 2012 5:16 pm

Right now I'm watching a movie with my kids. Time to relax now Antonio ;)
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Re: FWH 12.03 Mingw gcc linking errors

Postby Antonio Linares » Sat Apr 14, 2012 5:18 pm

Sure :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 12.03 Mingw gcc linking errors

Postby AlexSchaft » Sun Apr 15, 2012 6:31 am

Antonio,

I've gotten around it for now by adding

-ldflag=-Wl,--allow-multiple-definition

Now to get my resources in... Have like the following

BMP_3DSET BITMAP
{
'42 4D F6 00 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 10 00 00 00 10 00 00 00 01 00 04 00 00 00'
'00 00 80 00 00 00 12 0B 00 00 12 0B 00 00 10 00'
'00 00 10 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 C0 C0'
'C0 00 00 FF FF 00 FF 00 00 00 C0 C0 C0 00 FF FF'
'00 00 FF FF FF 00 DA DA D7 44 7A DA DA DA AD AD'
'74 77 47 AD AD AD DA DA 4A DA D4 DA DA DA AD A7'
'4D AD A4 7D AD AD DA D4 DA DA DA 7A DA DA AD 74'
'AD AD AD AD AD AD 77 74 77 77 77 77 77 7A 88 74'
'88 88 88 88 88 AD FF 74 FF FF FF FF FF FA AD 74'
'AD AD AD 44 AD AD DA 74 DA DA D4 44 DA DA AD A4'
'AD AD 44 44 AD AD DA D7 4A DA D4 44 DA DA AD AD'
'4D AD 74 AD AD AD DA DA 74 77 47 DA DA DA AD AD'
'A7 44 7D AD AD AD'
}

Is there an easy way to convert these?
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Re: FWH 12.03 Mingw gcc linking errors

Postby Antonio Linares » Sun Apr 15, 2012 8:29 am

Alex,

A solution is to save them as external BMP files and to include them from your RC file using the standard:

name BITMAP "filename.bmp"

If i remember right both Borland Workshop and PellesC allow you to do it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42089
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests