forum.speedsim.net Forum Index forum.speedsim.net
The Support Forum for SpeedSim
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Linux (& Mac?) Version - qtSim -
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    forum.speedsim.net Forum Index -> Test Versions
View previous topic :: View next topic  
Author Message
demonicus



Joined: 21 Apr 2008
Last Visit: 03 May 2008
Posts: 8

PostPosted: Mon Apr 21, 2008 10:01 am    Post subject: Reply with quote

Hi!

Anyone still works on this projects?
Back to top
View user's profile Send private message
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Mon Apr 21, 2008 7:00 pm    Post subject: Reply with quote

demonicus wrote:
Hi!

Anyone still works on this projects?


not really.. but you'd like to join, you're welcome Smile

_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
demonicus



Joined: 21 Apr 2008
Last Visit: 03 May 2008
Posts: 8

PostPosted: Mon Apr 21, 2008 7:27 pm    Post subject: Reply with quote

Well, would loved to, but I'm afraid I know so little about qt programming...
Back to top
View user's profile Send private message
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Mon Apr 21, 2008 7:39 pm    Post subject: Reply with quote

demonicus wrote:
Well, would loved to, but I'm afraid I know so little about qt programming...

Learning by doing! (or reading source Wink )

_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jvernet



Joined: 03 Jun 2007
Last Visit: 21 Jan 2009
Posts: 4

PostPosted: Sun Jan 11, 2009 8:29 pm    Post subject: Reply with quote

I've made a Mac Build of QtSim.

http://pagesperso-orange.fr/jerome.vernet/Softs/qtsim-rel.zip

Not the latest SpeedKernel, it's the next step...

Does anybody still work on QtSim ?

Jerome[/url]
Back to top
View user's profile Send private message Send e-mail
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Sat Jan 17, 2009 7:49 pm    Post subject: Reply with quote

jvernet wrote:
I've made a Mac Build of QtSim.

http://pagesperso-orange.fr/jerome.vernet/Softs/qtsim-rel.zip

Not the latest SpeedKernel, it's the next step...

Does anybody still work on QtSim ?

Jerome


No, not really - but if you want to pick up..
And if you need help with the SpeedKernel, you can join the irc channel ( #speedsim@ogamenet.net )

_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Paul
Guest






PostPosted: Fri Apr 17, 2009 6:37 pm    Post subject: Reply with quote

hello
i have some problems installing qtsim

Checking for SpeedKernel's source directory...
child-directory, valid.
Ok, the source seems to be there.
Qt looks fine. Found QMake version 2.01a.
This means we have some Qt-4 here, too. Along with dev-stuff. I guess.

Creating Makefile for SpeedKernel...
Done.
Compiling SpeedKernel, please wait...

Compiling of SpeedKernel failed.
Have a look at 'SpeedKernel/make.log' for the reasons.

and the logfile

g++ -c -pipe -O0 -g3 -fPIC -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o CIniFile.o CIniFile.cpp
In file included from CIniFile.cpp:21:
CIniFile.h:24: Warnung: #pragma warning wird ignoriert
CIniFile.cpp: In member function »genstr CIniFile::GetNextLine(FILE*)«:
CIniFile.cpp:126: Fehler: »strncpy« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp:136: Fehler: »wcstombs« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp:148: Fehler: »wcstombs« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp:152: Warnung: Die Adresse von »str« wird immer zu »wahr« auswerten
CIniFile.cpp:158: Fehler: »strlen« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp: In member function »bool CIniFile::GetLong(long int&, genstr, genstr)«:
CIniFile.cpp:205: Fehler: »strtol« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp: In member function »bool CIniFile::WriteIniFile(const char*, bool)«:
CIniFile.cpp:245: Fehler: »mbstowcs« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp:256: Fehler: »strncpy« wurde in diesem Gültigkeitsbereich nicht definiert
CIniFile.cpp: In member function »void CIniFile::SetLong(long int, genstr, genstr, bool)«:
CIniFile.cpp:285: Warnung: format »%d« erwartet Typ »int«, aber Argument 3 hat Typ »long int«
CIniFile.cpp:292: Fehler: »strncpy« wurde in diesem Gültigkeitsbereich nicht definiert
utf8.h: In function »octet_iterator utf8::append(utf8::uint32_t, octet_iterator&) [with octet_iterator = std::back_insert_iterator<std::vector<char, std::allocator<char> > >]«:
utf8.h:400: instantiated from »octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator<wchar_t*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, octet_iterator = std::back_insert_iterator<std::vector<char, std::allocator<char> > >]«
CIniFile.cpp:378: instantiated from here
utf8.h:307: Warnung: Klammern um Arithmetik in Operand von | empfohlen
utf8.h:312: Warnung: Klammern um Arithmetik in Operand von | empfohlen
utf8.h:313: Warnung: Klammern um Arithmetik in Operand von | empfohlen
make: *** [CIniFile.o] Fehler 1

can anybody help me??? (i'm using ubuntu (8.10)
(i apologize for my english)

greetings
Paul
Back to top
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Sun Apr 19, 2009 10:58 am    Post subject: Reply with quote

Add the include files <cstring> and <cstdlib> to CIniFile.h
_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Paul
Guest






PostPosted: Fri Apr 24, 2009 3:13 pm    Post subject: Reply with quote

thanks for your answer
i tried it but this was the result (don't know what really happened)

g++ -c -pipe -O0 -g3 -fPIC -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o CIniFile.o CIniFile.cpp
In file included from CIniFile.cpp:21:
CIniFile.h:24: Warnung: #pragma warning wird ignoriert
CIniFile.cpp: In member function »genstr CIniFile::GetNextLine(FILE*)«:
CIniFile.cpp:152: Warnung: Die Adresse von »str« wird immer zu »wahr« auswerten
CIniFile.cpp: In member function »void CIniFile::SetLong(long int, genstr, genstr, bool)«:
CIniFile.cpp:285: Warnung: format »%d« erwartet Typ »int«, aber Argument 3 hat Typ »long int«
utf8.h: In function »octet_iterator utf8::append(utf8::uint32_t, octet_iterator&) [with octet_iterator = std::back_insert_iterator<std::vector<char, std::allocator<char> > >]«:
utf8.h:400: instantiated from »octet_iterator utf8::utf16to8(u16bit_iterator, u16bit_iterator, octet_iterator) [with u16bit_iterator = __gnu_cxx::__normal_iterator<wchar_t*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >, octet_iterator = std::back_insert_iterator<std::vector<char, std::allocator<char> > >]«
CIniFile.cpp:378: instantiated from here
utf8.h:307: Warnung: Klammern um Arithmetik in Operand von | empfohlen
utf8.h:312: Warnung: Klammern um Arithmetik in Operand von | empfohlen
utf8.h:313: Warnung: Klammern um Arithmetik in Operand von | empfohlen
g++ -c -pipe -O0 -g3 -fPIC -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o SKernel_Misc.o SKernel_Misc.cpp
In file included from SKernel_Misc.cpp:20:
SpeedKernel.h:23: Warnung: #pragma warning wird ignoriert
In file included from SpeedKernel.h:39,
from SKernel_Misc.cpp:20:
CIniFile.h:24: Warnung: #pragma warning wird ignoriert
SKernel_Misc.cpp:74:2: error: #error Your machine is not supported!
SKernel_Misc.cpp:367: Warnung: #pragma warning wird ignoriert
SKernel_Misc.cpp:416: Warnung: #pragma warning wird ignoriert
In file included from SpeedKernel.h:38,
from SKernel_Misc.cpp:20:
SKernel_Structs.h: In constructor »BattleResult::BattleResult()«:
SKernel_Structs.h:391: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
SKernel_Structs.h: In constructor »TargetInfo::TargetInfo()«:
SKernel_Structs.h:555: Fehler: »memset« wurde in diesem Gültigkeitsbereich nicht definiert
SKernel_Structs.h: In member function »const TargetInfo& TargetInfo::operator=(const TargetInfo&)«:
SKernel_Structs.h:567: Fehler: »memcpy« wurde in diesem Gültigkeitsbereich nicht definiert
In file included from SKernel_Misc.cpp:20:
SpeedKernel.h: At global scope:
SpeedKernel.h:410: Warnung: unbenutzter Parameter »s«
SKernel_Misc.cpp: In function »unsigned int _lrotl(unsigned int, int)«:
SKernel_Misc.cpp:63: Warnung: Variable »bit« wird nicht verwendet
SKernel_Misc.cpp: At global scope:
SKernel_Misc.cpp:61: Warnung: unbenutzter Parameter »shift«
SKernel_Misc.cpp: In member function »int CSpeedKernel::GetFleetSpeed(int, const std::vector<SItem, std::allocator<SItem> >&)«:
SKernel_Misc.cpp:464: Fehler: »INT_MAX« wurde in diesem Gültigkeitsbereich nicht definiert
SKernel_Misc.cpp: In member function »void CSpeedKernel::FillRFTable(RFTYPE)«:
SKernel_Misc.cpp:1024: Warnung: Aufzählungswert »RF_NONE« wird nicht von switch behandelt
SKernel_Misc.cpp:1024: Warnung: Aufzählungswert »RF_058« wird nicht von switch behandelt
SKernel_Misc.cpp:1024: Warnung: Aufzählungswert »RF_059« wird nicht von switch behandelt
SKernel_Misc.cpp:1024: Warnung: Aufzählungswert »RF_062« wird nicht von switch behandelt
SKernel_Misc.cpp:1024: Warnung: Aufzählungswert »RF_USER« wird nicht von switch behandelt
make: *** [SKernel_Misc.o] Fehler 1

any ideas, because i have none^^

greetings
Paul
Back to top
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Fri Apr 24, 2009 5:01 pm    Post subject: Reply with quote

add <cstring> to SKernel_Structs.h and <climits> to SpeedKernel.h
_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Paul
Guest






PostPosted: Fri May 08, 2009 5:18 am    Post subject: Reply with quote

Sorry that i didn't respond for a while - simply forgot it
i tried it and it works - thanks!!!
the compiling of the kernel does not result in any errors anymore
but no there is a new problem - the makefile for qtsim can't be created
i looked for the logfile, but inside the named directory is none - so i looked on and found it in my home directory - without any useful information Rolling Eyes

Quote:
Usage: /usr/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
be built,
defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory

Warnings Options:
-Wnone Turn off all warnings
-Wall Turn on all warnings
-Wparser Turn on parser warnings
-Wlogic Turn on logic warnings

Options:
* You can place any variable assignment in options and it will be *
* processed as if it was in [files]. These assignments will be parsed *
* before [files]. *
-o file Write output to file
-unix Run in unix mode
-win32 Run in win32 mode
-macx Run in Mac OS X mode
-d Increase debug level
-t templ Overrides TEMPLATE as templ
-tp prefix Overrides TEMPLATE so that prefix is prefixed into the value
-help This help
-v Version information
-after All variable assignments after this will be
parsed after [files]
-norecursive Don't do a recursive search
-recursive Do a recursive search
-cache file Use file as cache [makefile mode only]
-spec spec Use spec as QMAKESPEC [makefile mode only]
-nocache Don't use a cache file [makefile mode only]
-nodepend Don't generate dependencies [makefile mode only]
-nomoc Don't generate moc targets [makefile mode only]
-nopwd Don't look for files in pwd [project mode only]

i think the error is now that he tries to make the file, but can't find the directory
but i'm afraid that my experience in programming is fairly nonexistent^^
again - thanks for the help

greetings
Paul
Back to top
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Sat May 09, 2009 1:50 pm    Post subject: Reply with quote

Are the folders "SpeedKernel" and "QtSim" at the same level?
_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Paul
Guest






PostPosted: Mon May 11, 2009 6:56 am    Post subject: Reply with quote

they are both in my personal directory
Back to top
macogame
Guest






PostPosted: Sun May 17, 2009 3:44 pm    Post subject: Reply with quote

version for ppc macs needed :/
Back to top
TheButcher
Developer


Joined: 25 Dec 2004
Last Visit: 07 Sep 2010
Posts: 1163
Location: Germany

PostPosted: Thu May 21, 2009 12:23 pm    Post subject: Reply with quote

macogame wrote:
version for ppc macs needed :/

You'd have to compile it by yourself.. sorry, I dont own a Mac


@Paul: Thats weird, is there any error output?

_________________
Programming is like sex, if you make a mistake you'll have to support it your whole life!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.speedsim.net Forum Index -> Test Versions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group