project-navigation
Personal tools

Author Topic: [RESOLVED] Crosscompiling from Linux for Windows  (Read 12301 times)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [RESOLVED] Crosscompiling from Linux for Windows
« Reply #15 on: September 25, 2010, 02:35:38 pm »
oh.. and please post a small patch - just that i won't miss anything

Offline MarcoBi

  • Rookie
  • ***
  • Posts: 19
    • View Profile
Re: [Resolved] Re: Crosscompiling from Linux for Windows
« Reply #16 on: September 25, 2010, 02:46:59 pm »
OK, the new build system now works for me.
Just for reference:
- build shared GTK
- add -lstdc++ for uforadiant & uforadiant-brushexport

Now I only need to find how to compile maps and to find a way to package everything!


RTMP is a streaming protocol and my libcurl got it as a dep because it was present at compile time, useless for ufoai anyway
« Last Edit: September 29, 2010, 09:14:41 am by MarcoBi »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: [RESOLVED] Crosscompiling from Linux for Windows
« Reply #17 on: September 29, 2010, 12:24:13 pm »
then you should add this to config.mk
Code: [Select]
ufo_LDFLAGS += -lrmtp
ufoded_LDFLAGS += -lrmtp
testall_LDFLAGS += -lrmtp

this is imo more a problem of your curl-config file (where you can fix this of course, too)

Offline MarcoBi

  • Rookie
  • ***
  • Posts: 19
    • View Profile
Re: [RESOLVED] Crosscompiling from Linux for Windows
« Reply #18 on: September 29, 2010, 12:40:49 pm »
then you should add this to config.mk
Code: [Select]
ufo_LDFLAGS += -lrmtp
ufoded_LDFLAGS += -lrmtp
testall_LDFLAGS += -lrmtp

this is imo more a problem of your curl-config file (where you can fix this of course, too)

I've found a better solution: recompile curl disabling rtmp support, it was in my toolchain only for MPlayer and vlc