-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling Stratagus Code #19
Comments
(by pali) |
(by dinky-dye-aussie) What I want to know now is how and where do you have all these library files installed on your PC and what are the project settings you have setup in VC++ so as to compile the program successfully so everything works? Im also getting a heap of "_vsn_prinft" warnings when I compile the code as well. |
(by pali) MSVC project files come from cybermind and are not supported. |
(by joris-dauphin) |
(by pali) |
(by joris-dauphin) |
(by dinky-dye-aussie) Also there was a variable in the code that was first declared as a class, then was used in a struct. so I changed the initial declaration to a struct as well and the warning about it went away. now the only warning a I am getting is about the "extern int strlen" being an insufficiant linkage to the dll file...dunno what that means....? other than that its all good. |
(by dinky-dye-aussie) c:\users\travis\wargus\stratagus-2.2.5.5\src\include\util.h(218) : warning C4273: 'strnlen' : inconsistent dll linkage referring to this code piece - "extern size_t strnlen(const char *str, size_t strsize); and when I look at the previous definition in string.h, it looks like this: _CRTIMP __checkReturn size_t __cdecl strnlen(__in_z const char * _Str, __in size_t _MaxCount); can I fix it? |
(by pali) You can (un)define HAVE_STRNLEN to use (or not to use) this function in stratagus source. |
(by pali) |
(by pali) |
OK, here's the deal. I am using Visual Studio 2005 to compile the code. I want to make it so when you have no units/buildings selected or a selected unit enters a building/oil platform/gold mine the infopanel is blank, but whenever you have a unit selected, the beveled info panel shows up, just like it did in the old game.
I managed to edit the ui.lua files in each races folder so the beveled panel is on permanently the whole time, but how could I make it behave like I want it to as mentioned above?
Also when I compile the code, I no longer get the intro movies or the music. Can someone tell me how to setup up all the libraries and header directories so I CAN compile and have the movies and music and everything else working please?
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: