project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MarcoBi

Pages: [1] 2
1
Linux / Re: [MinGW] Link problem with testall.exe
« on: October 08, 2010, 09:52:59 am »
let me know whether it's fixed for you in the latest revision please

YES!  ;D

2
Linux / Re: [MinGW] Link problem with testall.exe
« on: October 07, 2010, 09:30:16 am »
Yes, I think I'll redo a complete checkout of repository just to be sure!

I've also re-compiled my toolchain but nothing changed... which git command should I use to revert back to a specific revision to test where is the problem?

Thanks!

3
Linux / Re: [MinGW] Link problem with testall.exe
« on: October 06, 2010, 11:08:22 am »
have you "make clean"?

Yes, I think I'll redo a complete checkout of repository just to be sure!

4
Linux / [MinGW] Link problem with testall.exe
« on: October 06, 2010, 10:25:07 am »
After recent commits and after a complete recompilation of my toolchain, while x-compiling I get
Code: [Select]
$ make
===> LD [testall.exe]
release-mingw32-i386/testall/client/cl_language.c.o: In function `CL_LanguageTryToSet':
/opt/src/ufoai-GIT/src/client/cl_language.c:316: undefined reference to `_Sys_SetLocale'
release-mingw32-i386/testall/client/cl_language.c.o: In function `CL_LanguageInit':
/opt/src/ufoai-GIT/src/client/cl_language.c:233: undefined reference to `_Sys_GetLocale'
release-mingw32-i386/testall/client/cl_main.c.o: In function `CL_Frame':
/opt/src/ufoai-GIT/src/client/cl_main.c:1172: undefined reference to `_Sys_SetAffinityAndPriority'
collect2: ld returned 1 exit status
make: *** [testall.exe] Errore 1

Something wrong as usual on my side?



5
Linux / [GIT] issue with "make installer" v2.2
« on: October 04, 2010, 06:34:07 pm »
With latest GIT revision I can't create a win installer because of this line:
Code: [Select]
build/install_windows.mk:wininstaller-ufoai: ufoai ufoded installer-prebut now ufoai and ufoded doesn't seem to be defined anywhere, right?

6
Linux / [GIT] issue with "make installer" v2.1
« on: October 01, 2010, 10:04:47 am »
There is no INSTALL file present in latest GIT... and one more note: is it reallypossible to compile a pdf from the included manual tex file? my pdflatex outputs a huge amount of errors!

Anyway, I have a perfect windows installer now :-)

7
Linux / [GIT] issue with "make installer" v2.0
« on: September 29, 2010, 02:32:26 pm »
I think that :

Makefile.in
configure.ac
config.h.in
config.sub
config.guess
install-sh
INSTALL

should not be present in ufoai.nsi, they doesn't exist in latest GIT revision...

8
Linux / [GIT] issue with "make installer"
« on: September 29, 2010, 01:46:54 pm »
I think that "PRODUCT_VERSION" is defined twice, I've commented line 4 in my ./contrib/installer/windows/ufoai.nsi

Code: [Select]
make installer
MakeNSIS v24-Sep-2010.cvs - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Command line defined: "PRODUCT_VERSION=2.4-dev"
Processing config:
Processing plugin dlls: "/opt/mingw/usr/i686-pc-mingw32/share/nsis/Plugins/*.dll"
 - AdvSplash::show
 - Banner::destroy
 - Banner::getWindow
 - Banner::show
 - BgImage::AddImage
 - BgImage::AddText
 - BgImage::Clear
 - BgImage::Destroy
 - BgImage::Redraw
 - BgImage::SetBg
 - BgImage::SetReturn
 - BgImage::Sound
 - Dialer::AttemptConnect
 - Dialer::AutodialHangup
 - Dialer::AutodialOnline
 - Dialer::AutodialUnattended
 - Dialer::GetConnectedState
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - Math::Script
 - NSISdl::download
 - NSISdl::download_quiet
 - Splash::show
 - StartMenu::Init
 - StartMenu::Select
 - StartMenu::Show
 - System::Alloc
 - System::Call
 - System::Copy
 - System::Free
 - System::Get
 - System::Int64Op
 - System::Store
 - TypeLib::GetLibVersion
 - TypeLib::Register
 - TypeLib::UnRegister
 - UserInfo::GetAccountType
 - UserInfo::GetName
 - UserInfo::GetOriginalAccountType
 - VPatch::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - nsDialogs::OnBack
 - nsDialogs::OnChange
 - nsDialogs::OnClick
 - nsDialogs::OnNotify
 - nsDialogs::SelectFileDialog
 - nsDialogs::SelectFolderDialog
 - nsDialogs::SetRTL
 - nsDialogs::SetUserData
 - nsDialogs::Show
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "/opt/src/ufoai-GIT/contrib/installer/windows"

Processing script file: "contrib/installer/windows/ufoai.nsi"
!define: "PRODUCT_NAME"="UFO:Alien Invasion"
!define: "SHORT_PRODUCT_NAME"="UFO:AI"
!define: "PRODUCT_NAME_DEDICATED"="UFO:Alien Invasion Dedicated Server"
!define: "PRODUCT_VERSION" already defined!
Error in script "contrib/installer/windows/ufoai.nsi" on line 4 -- aborting creation process
make: *** [wininstaller-ufoai] Errore 1



9
the first error is fixed - the second not

i don't have a working solution yet - though i've changed the way it works in latest git master revision:
  http://ufoai.git.sourceforge.net/git/gitweb.cgi?p=ufoai/ufoai;a=commitdiff;h=7d351d4da7fdc9ac7673193bf6079ba338bdf2a2

that might fix the issue, too - not sure (and i doubt, because the amount of files is still the same).

You're wrong... it's fixed (for me). I was going to suggest to put the list of files to be compressed to a text file and feed 7z with it.

10
Linux / Re: [RESOLVED] Crosscompiling from Linux for Windows
« 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

11
Linux / [GIT] Small issues in build/models.mk and build/data.mk Makefiles
« on: September 29, 2010, 12:05:13 pm »
After successully compiling Git version, I've found two issues in two makefiles:

a) in build/models.mk I had to change UFOMODEL = ./ufomodel to UFOMODEL = ./ufomodel$(EXE_EXT) while crosscompiling (but maybe a sym link shoud be enough)

b) in build/data.mk I always get a too long command line while packing, this issue doesn't happen with latest SVN version (make output attached)

I'm wrong as usual?

 


12
Linux / Re: [Resolved] Re: Crosscompiling from Linux for Windows
« 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

13
Linux / [Resolved] Re: Crosscompiling from Linux for Windows
« on: September 25, 2010, 02:32:01 pm »
well - i don't know about that linking problem - maybe add the -lwinmm stuff to build/plattform_specific.mk

it would be very nice if you could test the patch for the new build system with mingw-cross-env. the patch is at http://mattn.ninex.info/files/newbuildsystem.diff

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!

14
Linux / Re: Crosscompiling from Linux for Windows
« on: September 23, 2010, 12:14:29 pm »
you should add your the mingw-cross-env bin dir to your path then you don't have to patch the makefiles (see Makefile.local)

about the missing libs for mingw - that should not be added like this but like this:
Code: [Select]
ufo_LDFLAGS              += -lws2_32 -lwinmm -lgdi32 -lintl -lfreetype
ufoded_LDFLAGS           += -lws2_32 -lwinmm -lgdi32
testall_LDFLAGS          += -lwinmm -lgdi32
ufo2map_LDFLAGS          += -lwinmm
ufomodel_LDFLAGS         += -lwinmm
uforadiant_LDFLAGS       += -lglib-2.0 -lgtk-win32-2.0 -lgobject-2.0

I prefer to keep isolated a program I use to get a x-compiled binary from a x-compiled binary itself but you're right... keeping everythin in $PATH is a lot easier to manage!
Also if I don't add -lstdc++ in uforadiant_LDFLAGS I get a very long list of errors as shown in this attachment

15
Linux / Re: Crosscompiling from Linux for Windows
« on: September 22, 2010, 05:23:51 pm »
yes, in mingw32.mk is the pkg-config call for the libs of gtkglext missing.

It's not missing, I have
Code: [Select]
GTK_GLEXT_CFLAGS         ?= $(call PKG_CFLAGS,gtkglext-1.0)
GTK_GLEXT_LIBS           ?= $(call PKG_LIBS,gtkglext-1.0)

Bye

Pages: [1] 2