X Plugin Manager V2.12 : Updated 23/01/2010 *LINUX VERSION AVAILABLE*

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Rate this program

5. Excelant
1972
71%
4. Good
453
16%
3. OK
161
6%
2. Bad
23
1%
1. Terrible
82
3%
- Not really my thing
83
3%
 
Total votes: 2774

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 20944
Joined: Sun, 2. Apr 06, 16:38

Post by X2-Illuminatus » Wed, 7. Nov 12, 21:29

Packages that give you this error were most-likely created with the Plugin Manager Lite, which is a completely rewrite of the Plugin Manager version you find here in this topic.
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:05

not sure if i have the same problem that you have, but i dowloaded the plugin manager, an it say : unable to locate X3.exe/x2.exe o.O? so i tried to ''file/select directory'' i go where i installed it(x86/egosoft/albion prelude(where the .exe file actually IS)and then the ''unable to locate X3.exe/x2.exe''pop up again.I tried every single files in the AP directory/directly in egosoft files(i got TC&AP in egosoft files)and the same message keep popping.in TC i played whit 3 scripts tha i manually installed, so 'am new to the plugin manager for X games, but i already used managers b4 for other games, an its the 1st time i have an issue...any clues?anybody tha already had tha problem would be nice to tell me what is wrong lol cause I cant stand the poor vanilla boarding system :evil:

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 20944
Joined: Sun, 2. Apr 06, 16:38

Post by X2-Illuminatus » Thu, 30. May 13, 08:33

You either use the wrong Plugin Manager or you posted in the wrong forum. The Plugin Manager, which you can find in this topic is only for the X games up to X3:R. The new Plugin Manager can be found in the topic linked in my previous post.

Also for future reference, you might want to quote the person, whose problem you share. Otherwise it's not really clear, who you mean, unless you refer to the post directly before yours, which is here obviously not the case.
Besteht Interesse an einem Nopileos-Hörbuch?

Farnhams Legende und Nopileos als E-Books!

"People who think they know everything are a great annoyance to those of us who do." - Isaac Asimov

"If it's not impossible, there must be a way to do it." - Sir Nicholas Winton

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:33

i erase that part since others had post same issue&this part i solved.if there is a way to erase this comment i don't know how sorry.
Last edited by slevin0006 on Thu, 30. May 13, 09:12, edited 1 time in total.

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:35

**robdoc**seem to have the same problem...sry 'am new to the X's forum :P OH an i dowloaded the link in this forum(1st post) ah ok i just saw ur link, i'll try it now an come back in 10 min to let u know if its working for me

slevin0006
Posts: 23
Joined: Wed, 22. May 13, 01:17

Post by slevin0006 » Thu, 30. May 13, 08:55

now 'am trying to ''add a directoy for my AP''i go in ''setting/add directory/egosoft/AP but then the only thing i see is 3 files;profiles, save, save. back.up.ALL are empty.Is it because i can't continue a previous ''vanilla game''whit it an i have to restart a new game OR i did something wrong or i missed something somewhere? o.O if its normal, how do i sync it whit AP? ^^ ty btw for your super fast support lo
**quick update,'am sure to have the good version, i can open my TC whit the manager, but still can't figure out why not the AP**

donbex
Posts: 3
Joined: Thu, 30. May 13, 21:27

Post by donbex » Thu, 30. May 13, 22:15

Hi. I am currently unable to compile the SPK Utils on ArchLinux.

Running 'make' four times in the 'SPKUtil-1.00/src' directory gives

Code: Select all

make -C SPK -f Makefile	
make[1]: Entering directory `/home/bexie/tmp/x3/SPKUtil-1.00/src/SPK'
makedepend --  -- -I. -I../include/ -I/usr/local/include CatFile.cpp File.cpp File_IO.cpp MultiSpkFile.cpp SpkFile.cpp XFile.cpp XspFile.cpp
makedepend: warning:  CatFile.cpp (reading String.h, line 9): cannot find include file "string"
	not in ./string
	not in ../include/string
	not in /usr/local/include/string
	not in /usr/include/string
makedepend: warning:  CatFile.cpp (reading /usr/include/stdio.h, line 33): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/wchar.h, line 51): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/libio.h, line 50): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  CatFile.cpp (reading /usr/include/stdlib.h, line 32): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/sys/types.h, line 146): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  CatFile.cpp (reading /usr/include/alloca.h, line 24): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  File.cpp (reading /usr/include/unistd.h, line 226): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  File.cpp, line 16: cannot find include file "iostream"
	not in ./iostream
	not in ../include/iostream
	not in /usr/local/include/iostream
	not in /usr/include/iostream
makedepend: warning:  File.cpp, line 17: cannot find include file "fstream"
	not in ./fstream
	not in ../include/fstream
	not in /usr/local/include/fstream
	not in /usr/include/fstream
cc -I. -I../include/ -I/usr/local/include -g -c CatFile.cpp -o CatFile.o
In file included from File.h:76:0,
                 from CatFile.h:1,
                 from CatFile.cpp:1:
String.h: In member function ‘bool String::operator!=(const char*)’:
String.h:100:18: error: ‘strlen’ was not declared in this scope
   if ( strlen(str) != m_s.length() ) return true;
                  ^
String.h: In member function ‘bool String::operator==(const char*)’:
String.h:125:18: error: ‘strlen’ was not declared in this scope
   if ( strlen(str) != m_s.length() ) return false;
                  ^
String.h: In member function ‘bool String::Compare(const char*)’:
String.h:143:18: error: ‘strlen’ was not declared in this scope
   if ( strlen(str) != m_s.length() ) return false;
                  ^
String.h: In member function ‘const int String::ToInt()’:
String.h:152:50: error: ‘atoi’ was not declared in this scope
  const int   ToInt   () { return atoi(m_s.c_str()); }
                                                  ^
String.h: In member function ‘const bool String::ToBool()’:
String.h:153:51: error: ‘atoi’ was not declared in this scope
  const bool  ToBool  () { return (atoi(m_s.c_str())) ? true : false; }
                                                   ^
String.h: In member function ‘const long int String::ToLong()’:
String.h:154:50: error: ‘atoi’ was not declared in this scope
  const long  ToLong  () { return atoi(m_s.c_str()); }
                                                  ^
String.h: In member function ‘const float String::ToFloat()’:
String.h:155:57: error: ‘atof’ was not declared in this scope
  const float ToFloat () { return (float)atof(m_s.c_str()); }
                                                         ^
String.h: In member function ‘const double String::ToDouble()’:
String.h:156:52: error: ‘atof’ was not declared in this scope
  const double ToDouble () { return atof(m_s.c_str()); }
                                                    ^
String.h: In static member function ‘static String String::Number(long int)’:
String.h:171:88: error: ‘sprintf’ was not declared in this scope
  static String Number ( const long num ) { char c[SPRINTBUFFER]; SPRINTF(c,"%ld"), num ); return std::string(c); }
                                                                                        ^
String.h: In member function ‘String& String::FromInt(long int)’:
String.h:173:88: error: ‘sprintf’ was not declared in this scope
  String &FromInt    ( const long   str ) { char c[SPRINTBUFFER]; SPRINTF(c,"%ld"), str ); m_s = std::string(c); return (*this); }
                                                                                        ^
In file included from File.h:76:0,
                 from CatFile.h:1,
                 from CatFile.cpp:1:
String.h: In member function ‘String& String::FromFloat(float, int)’:
String.h:182:29: error: ‘sprintf’ was not declared in this scope
      SPRINTF(c,"%.0f"), str ); 
                             ^
String.h:208:25: error: ‘sprintf’ was not declared in this scope
    SPRINTF(c,"%f"), str ); 
                         ^
String.h: In member function ‘std::basic_string<char>::size_type String::GetNextPos(char*, std::basic_string<char>::size_type)’:
String.h:329:28: error: ‘strlen’ was not declared in this scope
   size_t max = strlen(token);
                            ^
String.h: In member function ‘String String::GetToken(char*, int, int)’:
String.h:393:29: error: ‘strlen’ was not declared in this scope
    size_t max = strlen(token);
                             ^
String.h: In member function ‘String String::GetEndOfLine(FILE*, int*, bool)’:
String.h:847:23: error: ‘fgetc’ was not declared in this scope
   char c = fgetc ( id );
                       ^
String.h:851:33: error: ‘feof’ was not declared in this scope
   while ( (c != 13) && (!feof(id)) && (c != '\n') )
                                 ^
String.h: In member function ‘int String::ConvertEquationSection(String)’:
String.h:887:21: error: ‘atoi’ was not declared in this scope
     int n = atoi(num);
                     ^
String.h: In member function ‘int String::ConvertEquation()’:
String.h:933:41: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   size_t endpos = n.GetNextPos ( ")", 0 ), pos; 
                                         ^
String.h:951:35: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    endpos = n.GetNextPos ( ")", 0 );
                                   ^
CatFile.cpp: In member function ‘bool CCatFile::WriteCatFile()’:
CatFile.cpp:353:43: error: ‘memcpy’ was not declared in this scope
  memcpy ( data, cat.c_str(), cat.Length() );
                                           ^
CatFile.cpp: In member function ‘bool CCatFile::CheckExtensionPck(String)’:
CatFile.cpp:364:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                 ^
CatFile.cpp:364:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                   ^
CatFile.cpp: In member function ‘bool CCatFile::CheckPackedExtension(String)’:
CatFile.cpp:380:65: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                 ^
CatFile.cpp:380:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String ext = filename.GetToken ( ".", filename.NumToken  ( "." ) ).lower();
                                                                   ^
CatFile.cpp: In member function ‘bool CCatFile::AppendFile(String, String, bool)’:
CatFile.cpp:414:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   return WriteFromCat ( filename.GetToken ( "::", 1, 1 ), filename.GetToken ( "::", 2, 2 ) );
                                                        ^
CatFile.cpp:414:90: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
   return WriteFromCat ( filename.GetToken ( "::", 1, 1 ), filename.GetToken ( "::", 2, 2 ) );
                                                                                          ^
CatFile.cpp: In member function ‘bool CCatFile::ExtractFile(String, String)’:
CatFile.cpp:614:70: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
  String todir = tofile.GetToken ( "\\", 1, tofile.NumToken('\\') - 1 );
                                                                      ^
CatFile.cpp: In function ‘unsigned char* CompressPCKData(unsigned char*, size_t, size_t*, size_t)’:
CatFile.cpp:693:33: error: ‘memcpy’ was not declared in this scope
  memcpy(d, &mtime, sizeof(mtime));
                                 ^
CatFile.cpp:700:27: error: ‘memset’ was not declared in this scope
  memset(&zs, 0, sizeof(zs));
                           ^
CatFile.cpp:708:10: warning: converting ‘false’ to pointer type ‘unsigned char*’ [-Wconversion-null]
   return false;
          ^
CatFile.cpp: In function ‘unsigned char* PCKData(unsigned char*, size_t, size_t*)’:
CatFile.cpp:778:45: error: ‘memcpy’ was not declared in this scope
   memcpy ( finalData + 1, newdata, *newsize );
                                             ^
make[1]: *** [CatFile.o] Error 1
make[1]: Leaving directory `/home/bexie/tmp/x3/SPKUtil-1.00/src/SPK'
make: *** [SPK/libspk.a] Error 2
I had to run it four times to get the above result, since previously compilation stops with errors like

Code: Select all

make[1]: *** No rule to make target `/usr/include/stddef.h', needed by `crc32.o'.  Stop.
make[1]: Leaving directory `/home/bexie/tmp/x3/SPKUtil-1.00/src/SPK/zlib'
which get resolved on the successive run.

This could possibly be an issue with porting code from Windows to Linux, as this blog post seems to suggest.

donbex
Posts: 3
Joined: Thu, 30. May 13, 21:27

Post by donbex » Fri, 7. Jun 13, 21:05

Sorry for the double post, but it seems better, since I'm "closing" by own bug report.

I fixed the 'makedepend' warnings by switching to gcc's own dependency processor. Furthermore, even though I just have a cursory knowledge of C and no C++ knowledge at all, I think I've been able to clear the compilation errors, too. There are still some warnings, but I'm not sure about how to work them out. Finally, I tried to clean up a bit the makefiles, although they probably could use a bit more of love.

Anyway, I've put the result of my efforts in a GitHub repository. I hope this is fine with you.

@Cycrow: By the way, you should probably choose how to licence your code (e.g. with the GPL or BSD licence) and distribute a LICENCE file along with it. Just my 2c. :P

Raider480
Posts: 188
Joined: Fri, 30. Jul 10, 05:32

Post by Raider480 » Sun, 16. Jun 13, 01:15

Nice job with the fork donbex. I think the only compile warnings I'm getting are about deprecated conversions from a string literal, but that can easily be solved with strcpy(). I could do a quick pull if you give me access; my GitHub username is also Raider480.

How far can work on this older codebase get though? We still don't have utilities for actually managing plugins on Linux, which means we have to use fake patches. Did Cycrow release the Plugin Manager Lite source code? I have moderate experience in C and C++, so I could at least try to help porting it.

donbex
Posts: 3
Joined: Thu, 30. May 13, 21:27

Post by donbex » Sun, 16. Jun 13, 11:44

Raider480 wrote:Nice job with the fork donbex. I think the only compile warnings I'm getting are about deprecated conversions from a string literal, but that can easily be solved with strcpy(). I could do a quick pull if you give me access; my GitHub username is also Raider480.
Thanks. Yes, those are the only warnings I get, too, although there are quite a bunch of them. Also, I just gave you access to the repo. :D
Raider480 wrote:How far can work on this older codebase get though? We still don't have utilities for actually managing plugins on Linux, which means we have to use fake patches. Did Cycrow release the Plugin Manager Lite source code? I have moderate experience in C and C++, so I could at least try to help porting it.
I don't think he did and I fear that, unless he used a cross-platform GUI toolkit, porting wouldn't be simple.

Rompetroll
Posts: 10
Joined: Tue, 29. Jan 13, 22:32

Post by Rompetroll » Mon, 30. Sep 13, 15:31

Deep sigh :(:(

After installing Makedepend trough xlib-dev pacage, and copying pretty much every headerfile into SPK/ansi7zip/ folder.

i'm just about to give this up.

Plz clean up this code for it to compile propperly under linux or have some assistance doing so.

Code: Select all

$ ./compile.sh 
make -C SPK/zlib -f Makefile
make[1]: Entering directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/zlib'
makedepend --  -- -I. -I../include/ -I/usr/local/include adler32.c compress.c crc32.c deflate.c infback.c inffast.c inflate.c inftrees.c gzio.c trees.c uncompr.c zutil.c
makedepend: warning:  crc32.c (reading zutil.h, line 21): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/features.h, line 324): cannot find include file "bits/predefs.h"
	not in ./bits/predefs.h
	not in ../include/bits/predefs.h
	not in /usr/local/include/bits/predefs.h
	not in /usr/include/bits/predefs.h
makedepend: warning:  crc32.c (reading /usr/include/features.h, line 357): cannot find include file "sys/cdefs.h"
	not in ./sys/cdefs.h
	not in ../include/sys/cdefs.h
	not in /usr/local/include/sys/cdefs.h
	not in /usr/include/sys/cdefs.h
makedepend: warning:  crc32.c (reading /usr/include/features.h, line 389): cannot find include file "gnu/stubs.h"
	not in ./gnu/stubs.h
	not in ../include/gnu/stubs.h
	not in /usr/local/include/gnu/stubs.h
	not in /usr/include/gnu/stubs.h
makedepend: warning:  crc32.c (reading /usr/include/string.h, line 34): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 33): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 42): cannot find include file "bits/waitflags.h"
	not in ./bits/waitflags.h
	not in ../include/bits/waitflags.h
	not in /usr/local/include/bits/waitflags.h
	not in /usr/include/bits/waitflags.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 43): cannot find include file "bits/waitstatus.h"
	not in ./bits/waitstatus.h
	not in ../include/bits/waitstatus.h
	not in /usr/local/include/bits/waitstatus.h
	not in /usr/include/bits/waitstatus.h
makedepend: warning:  crc32.c (reading /usr/include/stdlib.h, line 320): cannot find include file "sys/types.h"
	not in ./sys/types.h
	not in ../include/sys/types.h
	not in /usr/local/include/sys/types.h
	not in /usr/include/sys/types.h
makedepend: warning:  crc32.c (reading /usr/include/alloca.h, line 25): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  crc32.c (reading /usr/include/errno.h, line 36): cannot find include file "bits/errno.h"
	not in ./bits/errno.h
	not in ../include/bits/errno.h
	not in /usr/local/include/bits/errno.h
	not in /usr/include/bits/errno.h
makedepend: warning:  crc32.c (reading /usr/include/limits.h, line 125): cannot find include file "limits.h"
makedepend: warning:  crc32.c (reading /usr/include/limits.h, line 145): cannot find include file "bits/posix1_lim.h"
	not in ./bits/posix1_lim.h
	not in ../include/bits/posix1_lim.h
	not in /usr/local/include/bits/posix1_lim.h
	not in /usr/include/bits/posix1_lim.h
makedepend: warning:  crc32.c (reading /usr/include/limits.h, line 149): cannot find include file "bits/posix2_lim.h"
	not in ./bits/posix2_lim.h
	not in ../include/bits/posix2_lim.h
	not in /usr/local/include/bits/posix2_lim.h
	not in /usr/include/bits/posix2_lim.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 34): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 36): cannot find include file "bits/types.h"
	not in ./bits/types.h
	not in ../include/bits/types.h
	not in /usr/local/include/bits/types.h
	not in /usr/include/bits/types.h
makedepend: warning:  gzio.c (reading /usr/include/_G_config.h, line 9): cannot find include file "bits/types.h"
	not in ./bits/types.h
	not in ../include/bits/types.h
	not in /usr/local/include/bits/types.h
	not in /usr/include/bits/types.h
makedepend: warning:  gzio.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  gzio.c (reading /usr/include/wchar.h, line 40): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  gzio.c (reading /usr/include/wchar.h, line 42): cannot find include file "bits/wchar.h"
	not in ./bits/wchar.h
	not in ../include/bits/wchar.h
	not in /usr/local/include/bits/wchar.h
	not in /usr/include/bits/wchar.h
makedepend: warning:  gzio.c (reading /usr/include/wchar.h, line 52): cannot find include file "stddef.h"
	not in ./stddef.h
	not in ../include/stddef.h
	not in /usr/local/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  gzio.c (reading /usr/include/libio.h, line 53): cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 165): cannot find include file "bits/stdio_lim.h"
	not in ./bits/stdio_lim.h
	not in ../include/bits/stdio_lim.h
	not in /usr/local/include/bits/stdio_lim.h
	not in /usr/include/bits/stdio_lim.h
makedepend: warning:  gzio.c (reading /usr/include/stdio.h, line 850): cannot find include file "bits/sys_errlist.h"
	not in ./bits/sys_errlist.h
	not in ../include/bits/sys_errlist.h
	not in /usr/local/include/bits/sys_errlist.h
	not in /usr/include/bits/sys_errlist.h
makedepend: warning:  gzio.c, line 601: cannot find include file "stdarg.h"
	not in ./stdarg.h
	not in ../include/stdarg.h
	not in /usr/local/include/stdarg.h
	not in /usr/include/stdarg.h
cc    -c -o adler32.o adler32.c
cc    -c -o compress.o compress.c
cc    -c -o crc32.o crc32.c
cc    -c -o deflate.o deflate.c
cc    -c -o infback.o infback.c
cc    -c -o inffast.o inffast.c
cc    -c -o inflate.o inflate.c
cc    -c -o inftrees.o inftrees.c
cc    -c -o gzio.o gzio.c
cc    -c -o trees.o trees.c
cc    -c -o uncompr.o uncompr.c
cc    -c -o zutil.o zutil.c
ar rcs ../libz.a adler32.o compress.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o gzio.o trees.o uncompr.o zutil.o
make[1]: Leaving directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/zlib'
make -C SPK/ansi7zip -f Makefile
make[1]: Entering directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/ansi7zip'
makedepend --  -- -I. -I../include/ -I/usr/local/include 7Decoder.cpp LzmaDecode.cpp
cc -I. -I../include/ -I/usr/local/include -g -c 7Decoder.cpp -o 7Decoder.o
In file included from /usr/include/stdio.h:75:0,
                 from 7Decoder.h:8,
                 from 7Decoder.cpp:1:
/usr/include/libio.h:334:3: error: ‘size_t’ does not name a type
/usr/include/libio.h:338:67: error: ‘size_t’ was not declared in this scope
/usr/include/libio.h:366:62: error: ‘size_t’ has not been declared
/usr/include/libio.h:375:6: error: ‘size_t’ has not been declared
/usr/include/libio.h:497:8: error: ‘size_t’ does not name a type
In file included from 7Decoder.h:8:0,
                 from 7Decoder.cpp:1:
/usr/include/stdio.h:320:35: error: ‘size_t’ has not been declared
/usr/include/stdio.h:326:47: error: ‘size_t’ has not been declared
/usr/include/stdio.h:338:20: error: ‘size_t’ has not been declared
/usr/include/stdio.h:345:10: error: ‘size_t’ has not been declared
/usr/include/stdio.h:387:44: error: ‘size_t’ has not been declared
/usr/include/stdio.h:391:45: error: ‘size_t’ has not been declared
/usr/include/stdio.h:663:11: error: ‘size_t’ has not been declared
/usr/include/stdio.h:666:9: error: ‘size_t’ has not been declared
/usr/include/stdio.h:676:8: error: ‘size_t’ has not been declared
/usr/include/stdio.h:706:8: error: ‘size_t’ does not name a type
/usr/include/stdio.h:712:8: error: ‘size_t’ does not name a type
/usr/include/stdio.h:734:8: error: ‘size_t’ does not name a type
/usr/include/stdio.h:736:8: error: ‘size_t’ does not name a type
In file included from 7Decoder.cpp:1:0:
7Decoder.h:28:56: error: ‘size_t’ has not been declared
7Decoder.h:28:71: error: ‘size_t’ has not been declared
In file included from LzmaDecode.h:40:0,
                 from 7Decoder.cpp:2:
/usr/include/string.h:45:40: error: ‘size_t’ has not been declared
/usr/include/string.h:49:58: error: ‘size_t’ has not been declared
/usr/include/string.h:58:18: error: ‘size_t’ has not been declared
/usr/include/string.h:65:42: error: ‘size_t’ has not been declared
/usr/include/string.h:68:60: error: ‘size_t’ has not been declared
/usr/include/string.h:75:42: error: ‘size_t’ has not been declared
/usr/include/string.h:77:58: error: ‘size_t’ has not been declared
/usr/include/string.h:115:49: error: ‘size_t’ has not been declared
/usr/include/string.h:117:65: error: ‘size_t’ has not been declared
/usr/include/string.h:132:41: error: ‘size_t’ has not been declared
/usr/include/string.h:140:9: error: ‘size_t’ has not been declared
/usr/include/string.h:146:61: error: ‘size_t’ has not been declared
/usr/include/string.h:153:8: error: ‘size_t’ does not name a type
In file included from LzmaDecode.h:40:0,
                 from 7Decoder.cpp:2:
/usr/include/string.h:168:8: error: ‘size_t’ does not name a type
/usr/include/string.h:183:47: error: ‘size_t’ has not been declared
/usr/include/string.h:284:8: error: ‘size_t’ does not name a type
/usr/include/string.h:288:8: error: ‘size_t’ does not name a type
/usr/include/string.h:382:48: error: ‘size_t’ has not been declared
/usr/include/string.h:383:32: error: ‘size_t’ has not been declared
/usr/include/string.h:389:36: error: ‘size_t’ has not been declared
/usr/include/string.h:392:41: error: ‘size_t’ has not been declared
/usr/include/string.h:399:8: error: ‘size_t’ does not name a type
/usr/include/string.h:406:8: error: ‘size_t’ does not name a type
/usr/include/string.h:438:53: error: ‘size_t’ has not been declared
/usr/include/string.h:451:33: error: ‘size_t’ has not been declared
/usr/include/string.h:455:55: error: ‘size_t’ has not been declared
/usr/include/string.h:459:31: error: ‘size_t’ has not been declared
/usr/include/string.h:462:58: error: ‘size_t’ has not been declared
/usr/include/string.h:540:65: error: ‘size_t’ has not been declared
/usr/include/string.h:552:6: error: ‘size_t’ has not been declared
/usr/include/string.h:577:36: error: ‘size_t’ has not been declared
/usr/include/string.h:580:41: error: ‘size_t’ has not been declared
/usr/include/string.h:593:34: error: ‘size_t’ has not been declared
In file included from LzmaDecode.h:42:0,
                 from 7Decoder.cpp:2:
/usr/include/stdlib.h:140:8: error: ‘size_t’ does not name a type
In file included from /usr/include/stdlib.h:320:0,
                 from LzmaDecode.h:42,
                 from 7Decoder.cpp:2:
./sys/types.h:27:9: error: ‘__u16’ does not name a type
./sys/types.h:28:9: error: ‘__u16’ does not name a type
./sys/types.h:29:9: error: ‘__u32’ does not name a type
./sys/types.h:30:9: error: ‘__u32’ does not name a type
./sys/types.h:31:9: error: ‘__u64’ does not name a type
./sys/types.h:32:9: error: ‘__u64’ does not name a type
./sys/types.h:34:9: error: ‘__u16’ does not name a type
./sys/types.h:35:9: error: ‘__u32’ does not name a type
In file included from LzmaDecode.h:42:0,
                 from 7Decoder.cpp:2:
/usr/include/stdlib.h:337:4: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:351:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:352:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:353:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:357:5: error: ‘int32_t’ does not name a type
/usr/include/stdlib.h:361:8: error: ‘int32_t’ has not been declared
/usr/include/stdlib.h:367:4: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:471:22: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:471:37: error: expected ‘,’ or ‘;’ before ‘throw’
/usr/include/stdlib.h:473:22: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:473:38: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:473:51: error: expression list treated as compound expression in initializer [-fpermissive]
/usr/include/stdlib.h:474:6: error: expected ‘,’ or ‘;’ before ‘throw’
/usr/include/stdlib.h:485:36: error: ‘size_t’ has not been declared
In file included from /usr/include/stdlib.h:497:0,
                 from LzmaDecode.h:42,
                 from 7Decoder.cpp:2:
/usr/include/alloca.h:33:22: error: ‘size_t’ was not declared in this scope
/usr/include/alloca.h:33:37: error: expected ‘,’ or ‘;’ before ‘throw’
In file included from LzmaDecode.h:42:0,
                 from 7Decoder.cpp:2:
/usr/include/stdlib.h:503:22: error: ‘size_t’ was not declared in this scope
/usr/include/stdlib.h:503:37: error: expected ‘,’ or ‘;’ before ‘throw’
/usr/include/stdlib.h:508:45: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:508:65: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:756:9: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:756:25: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:761:34: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:761:50: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:764:36: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:764:52: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:840:6: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:843:6: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:847:31: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:851:31: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:860:38: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:864:36: error: ‘size_t’ has not been declared
/usr/include/stdlib.h:871:8: error: ‘size_t’ does not name a type
/usr/include/stdlib.h:874:8: error: ‘size_t’ does not name a type
/usr/include/stdlib.h:937:46: error: ‘size_t’ has not been declared
In file included from 7Decoder.cpp:2:0:
LzmaDecode.h:109:70: error: ‘size_t’ has not been declared
LzmaDecode.h:109:85: error: ‘size_t’ has not been declared
In file included from 7Decoder.cpp:2:0:
LzmaDecode.h:109:136: error: ‘size_t’ has not been declared
LzmaDecode.h:109:152: error: ‘size_t’ has not been declared
7Decoder.cpp:8:56: error: ‘size_t’ has not been declared
7Decoder.cpp:8:71: error: ‘size_t’ has not been declared
7Decoder.cpp: In function ‘unsigned char* LZMADecode_C(unsigned char*, int, int*, int*)’:
7Decoder.cpp:13:5: error: ‘size_t’ was not declared in this scope
7Decoder.cpp:13:12: error: expected ‘;’ before ‘inProcessed’
7Decoder.cpp:16:9: error: expected ‘;’ before ‘outSizeProcessedLoc’
7Decoder.cpp:17:9: error: expected ‘;’ before ‘outSize’
7Decoder.cpp:21:62: error: ‘malloc’ cannot be used as a function
7Decoder.cpp:36:3: error: ‘outSize’ was not declared in this scope
7Decoder.cpp:36:23: error: expected ‘)’ before ‘b’
7Decoder.cpp:39:46: error: ‘outSize’ was not declared in this scope
7Decoder.cpp:39:54: error: ‘malloc’ cannot be used as a function
7Decoder.cpp:49:92: error: ‘malloc’ cannot be used as a function
7Decoder.cpp:58:28: error: ‘inProcessed’ was not declared in this scope
7Decoder.cpp:59:30: error: ‘outSizeProcessedLoc’ was not declared in this scope
7Decoder.cpp:61:33: error: expected ‘;’ before ‘outSizeProcessedLoc’
make[1]: *** [7Decoder.o] Error 1
make[1]: Leaving directory `/home/hallvar/Downloads/SPKUtil-1.00/src/SPK/ansi7zip'
make: *** [SPK/lib7.a] Error 2
rm -rf *.o
rm -rf SPK/*.o
rm -rf SPK/*.a
rm -rf SPK/zlib/*.o
rm -rf SPK/ansi7zip/*.o
tux4ever

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 20543
Joined: Mon, 15. Nov 04, 00:26

Post by Cycrow » Fri, 4. Oct 13, 15:58

i think its more to do with your setup that errors in the code.

afterall, all the errors in your post are not from my own code. I know the Makefile needs work, i've not had time to actually write one. It did work and compile fine in FreeBSD when i did it manually

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 20543
Joined: Mon, 15. Nov 04, 00:26

Post by Cycrow » Fri, 4. Oct 13, 16:02

donbex wrote:
Raider480 wrote:Nice job with the fork donbex. I think the only compile warnings I'm getting are about deprecated conversions from a string literal, but that can easily be solved with strcpy(). I could do a quick pull if you give me access; my GitHub username is also Raider480.
Thanks. Yes, those are the only warnings I get, too, although there are quite a bunch of them. Also, I just gave you access to the repo. :D
Raider480 wrote:How far can work on this older codebase get though? We still don't have utilities for actually managing plugins on Linux, which means we have to use fake patches. Did Cycrow release the Plugin Manager Lite source code? I have moderate experience in C and C++, so I could at least try to help porting it.
I don't think he did and I fear that, unless he used a cross-platform GUI toolkit, porting wouldn't be simple.
the Plugin Manager Lite was written in .NET, so not much use for linux. Althou it was only the GUI itself, all the work is done via the library.
The latest code for the library is available from my SVN server.

the command line tool that uses the library can do everything the Plugin Manager can do, just without the GUI

nickdyer2000
Posts: 4
Joined: Tue, 23. Apr 13, 17:32

Game files?

Post by nickdyer2000 » Sat, 5. Oct 13, 17:13

I cant Finding my Game Files on my mac, I installed x3 via steam, where are they? all i have is a steam icon in the application content.

User avatar
Helios01
Posts: 193
Joined: Thu, 17. Mar 11, 13:55

Post by Helios01 » Sun, 13. Oct 13, 14:03

The plugin manager has made my Reunion stopped working. I hooked military HUD, cockpit mod and ship boost, but it crashed (yes I had the plugin manager selected through mod selector) everytime I started a new game or a simulator. So I uninstalled all mods, removed them from game files, uninstalled the plugin manager completely, verified integrity of game cache, but still CTD after I start a new game.

And my X3 Reunion icon just turned into this...

Is there any other way of fixing this, than a complete redownload through my very slow net?
"If we do not destroy ourselves, we will one day venture to the stars" - Carl Sagan

Post Reply

Return to “X³: Reunion - Scripts and Modding”