The QBasic / QB64 Discussion Forum      Other Subforums, Links and Downloads
 
 


  << Previous Topic | Next Topic >>Return to Index  

QB64 Linux compilation data

June 9 2008 at 6:26 AM
qbguy  (no login)

 
deleted@DELETED:/media/disk/qb64/internal/c$ diff qbx2.cpp qbx.cpp
2,3c2,3
< //#include "stdafx2.h"
< //#include "winbase.h"
---
> #include "stdafx2.h"
> #include "winbase.h"
10,11c10,11
< #include <cmath>
< #include <ctime>
---
> #include "math.h"
> #include "time.h"
14c14
< //#include <direct.h>
---
> #include <direct.h>
18,27d17
< #define __int8 char
< #define __int16 short
< #define __int32 long
< #define __int64 long long
< //typedef char __int8;
< //typedef short int __int16;
< //typedef long int __int32;
< //typedef long long int __int64;
<
<
834c824
< #include "MSBIN.C"
---
> #include "msbin.c"
837,838c827,828
< //#include "time64.c"
< //#include "time64.h"
---
> #include "time64.c"
> #include "time64.h"
10902c10892
< #include "../temp/userdata.txt"
---
> #include "..\temp\userdata.txt"
10908,10909c10898,10899
< #include "../temp/regsf.txt"
< #include "../temp/global.txt"
---
> #include "..\temp\regsf.txt"
> #include "..\temp\global.txt"
10919,10921c10909,10911
< #include "../temp/maindata.txt"
< #include "../temp/mainerr.txt"
< #include "../temp/main.txt"
---
> #include "..\temp\maindata.txt"
> #include "..\temp\mainerr.txt"
> #include "..\temp\main.txt"
deleted@DELETED:/media/disk/qb64/internal/c$ g++ qbx2.cpp -I /usr/include/SDL -lsdl -lsdlmixer
qbx2.cpp:8777: warning: this decimal constant is unsigned only in ISO C90
qbx2.cpp:8836: warning: this decimal constant is unsigned only in ISO C90
In file included from qbx2.cpp:10902:
../temp/userdata.txt:1:2: warning: no newline at end of file
qbx2.cpp: In function ‘void cpu_call()’:
qbx2.cpp:793: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:793: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp: In function ‘void SDL_Delay(Uint32)’:
qbx2.cpp:828: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void fix_error()’:
qbx2.cpp:1094: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1094: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1095: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1095: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1096: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1096: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1097: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1097: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1098: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1098: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1099: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1099: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1100: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1100: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1101: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1101: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1102: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1102: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1103: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1103: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1104: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1104: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1105: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1105: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1106: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1106: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1107: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1107: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1109: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1109: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1110: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1110: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1111: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1111: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1112: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1112: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1113: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1113: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1115: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1115: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1116: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1116: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1117: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1117: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1118: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1118: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1120: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1120: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1121: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1121: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1123: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1123: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1125: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1125: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1126: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1126: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1127: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1127: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1128: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1128: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1129: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1129: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1130: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1130: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1131: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1131: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1132: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1132: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1133: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1133: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1134: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1134: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1135: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1135: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1136: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1136: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1137: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1137: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1138: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1138: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1139: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1139: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1140: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1140: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1141: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1141: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1142: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1142: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1143: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1143: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1144: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1144: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1145: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1145: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1146: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1146: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1147: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1147: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1148: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1148: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1149: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1149: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1150: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1150: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1151: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1151: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1152: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1152: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1153: error: ‘MB_YESNO’ was not declared in this scope
qbx2.cpp:1153: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1154: error: ‘IDNO’ was not declared in this scope
qbx2.cpp:1154: error: ‘IDOK’ was not declared in this scope
qbx2.cpp: In function ‘void error(long int)’:
qbx2.cpp:1167: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:1167: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:1168: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:1168: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp: In function ‘void end()’:
qbx2.cpp:1187: error: ‘Sleep’ was not declared in this scope
qbx2.cpp:1189: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void qbs_concat_cmem(long unsigned int)’:
qbx2.cpp:1676: error: cast from ‘unsigned char*’ to ‘short unsigned int’ loses precision
qbx2.cpp: In function ‘qbs* qbs_new_cmem(long int, unsigned char)’:
qbx2.cpp:1707: error: cast from ‘unsigned char*’ to ‘short unsigned int’ loses precision
qbx2.cpp: In function ‘qbs* qbs_new_fixed(unsigned char*, long unsigned int, unsigned char)’:
qbx2.cpp:1762: error: cast from ‘unsigned char*’ to ‘short unsigned int’ loses precision
qbx2.cpp: In function ‘qbs* qbs_set(qbs*, qbs*)’:
qbx2.cpp:1824: error: cast from ‘unsigned char*’ to ‘short unsigned int’ loses precision
qbx2.cpp:1946: error: cast from ‘unsigned char*’ to ‘short unsigned int’ loses precision
qbx2.cpp: In function ‘qbs* qbs_inkey()’:
qbx2.cpp:2313: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void qbg_screen(long int, long int, long int, long int, long int)’:
qbx2.cpp:3150: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void qbsub_width(long int, long int, long int, long int)’:
qbx2.cpp:3756: error: ‘Sleep’ was not declared in this scope
qbx2.cpp:3772: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void qb32_line(float, float, float, float, long unsigned int, long unsigned int)’:
qbx2.cpp:3985: error: ‘_lrotl’ was not declared in this scope
qbx2.cpp: In function ‘void qbs_print(qbs*, unsigned char)’:
qbx2.cpp:4967: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void sub_open(qbs*, long int, long int, long int, long int, long int, long int)’:
qbx2.cpp:6634: warning: NULL used in arithmetic
qbx2.cpp:6638: warning: NULL used in arithmetic
qbx2.cpp:6659: warning: NULL used in arithmetic
qbx2.cpp:6663: warning: NULL used in arithmetic
qbx2.cpp:6684: warning: NULL used in arithmetic
qbx2.cpp:6688: warning: NULL used in arithmetic
qbx2.cpp:6704: warning: NULL used in arithmetic
qbx2.cpp:6719: warning: NULL used in arithmetic
qbx2.cpp: At global scope:
qbx2.cpp:8380: error: ‘BOOL’ does not name a type
qbx2.cpp: In function ‘void sub_date(qbs*)’:
qbx2.cpp:8451: error: ‘_SYSTEMTIME’ does not name a type
qbx2.cpp:8452: error: ‘st’ was not declared in this scope
qbx2.cpp:8453: error: ‘GetLocalTime’ was not declared in this scope
qbx2.cpp:8508: error: ‘SystemSetLocalTime’ was not declared in this scope
qbx2.cpp: In function ‘void sub_time(qbs*)’:
qbx2.cpp:8578: error: ‘_SYSTEMTIME’ does not name a type
qbx2.cpp:8579: error: ‘st’ was not declared in this scope
qbx2.cpp:8580: error: ‘GetLocalTime’ was not declared in this scope
qbx2.cpp:8635: error: ‘SystemSetLocalTime’ was not declared in this scope
qbx2.cpp: In function ‘void sub_wait(long int, long int, long int, long int)’:
qbx2.cpp:9103: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void sub_bsave(qbs*, long int, long int)’:
qbx2.cpp:9268: warning: NULL used in arithmetic
qbx2.cpp: In function ‘void sub_bload(qbs*, long int, long int)’:
qbx2.cpp:9296: warning: NULL used in arithmetic
qbx2.cpp: In function ‘void sub_beep()’:
qbx2.cpp:9492: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void sub__sndsetpos(long unsigned int, double)’:
qbx2.cpp:9803: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void sub__sndplay(long unsigned int)’:
qbx2.cpp:9920: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘void sub_shell(qbs*, long int)’:
qbx2.cpp:10228: error: ‘AllocConsole’ was not declared in this scope
qbx2.cpp:10233: error: ‘FreeConsole’ was not declared in this scope
qbx2.cpp:10235: error: ‘AllocConsole’ was not declared in this scope
qbx2.cpp:10240: error: ‘FreeConsole’ was not declared in this scope
qbx2.cpp: In function ‘void sub_kill(qbs*)’:
qbx2.cpp:10251: error: ‘errno’ was not declared in this scope
qbx2.cpp:10252: error: ‘ENOENT’ was not declared in this scope
qbx2.cpp:10253: error: ‘EACCES’ was not declared in this scope
qbx2.cpp: In function ‘void sub_name(qbs*, qbs*)’:
qbx2.cpp:10268: error: ‘errno’ was not declared in this scope
qbx2.cpp:10269: error: ‘ENOENT’ was not declared in this scope
qbx2.cpp:10270: error: ‘EINVAL’ was not declared in this scope
qbx2.cpp:10271: error: ‘EACCES’ was not declared in this scope
qbx2.cpp: In function ‘void sub_chdir(qbs*)’:
qbx2.cpp:10281: error: ‘_chdir’ was not declared in this scope
qbx2.cpp: In function ‘void sub_mkdir(qbs*)’:
qbx2.cpp:10292: error: ‘_mkdir’ was not declared in this scope
qbx2.cpp:10293: error: ‘errno’ was not declared in this scope
qbx2.cpp:10293: error: ‘EEXIST’ was not declared in this scope
qbx2.cpp: In function ‘void sub_rmdir(qbs*)’:
qbx2.cpp:10304: error: ‘_rmdir’ was not declared in this scope
qbx2.cpp:10305: error: ‘errno’ was not declared in this scope
qbx2.cpp:10305: error: ‘ENOTEMPTY’ was not declared in this scope
In file included from qbx2.cpp:10921:
../temp/main.txt: In function ‘int QBMAIN(void*)’:
../temp/main.txt:16: error: ‘Sleep’ was not declared in this scope
qbx2.cpp: In function ‘int main(int, char**)’:
qbx2.cpp:10992: error: ‘FreeConsole’ was not declared in this scope
qbx2.cpp:11151: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:11151: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:11158: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:11158: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:11164: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:11164: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:11191: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:11191: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:11198: error: ‘MB_OK’ was not declared in this scope
qbx2.cpp:11198: error: ‘MessageBox’ was not declared in this scope
qbx2.cpp:11218: error: ‘Sleep’ was not declared in this scope
qbx2.cpp:11219: error: ‘Sleep’ was not declared in this scope



 
 Respond to this message   
AuthorReply

(Login burger2227)
R

* I hope you realize that QB64 NOW has a Big Program area

June 9 2008, 9:17 AM 


 
 Respond to this message   
mennonite
(no login)

*here, or at qb64.net?

June 10 2008, 4:26 PM 


 
 Respond to this message   

(Login burger2227)
R

* QB64 has it's own Big Programs area in the Forum here.

June 10 2008, 4:31 PM 


 
 Respond to this message   
mennonite
(no login)

*ah, at the top of the qb64 page

June 10 2008, 4:38 PM 


 
 Respond to this message   
rpgfan3233
(Login rpgfan3233)

* That's right, unless you want it to show up in the Index... (it is long enough)

June 10 2008, 4:48 PM 



------------------
Waiting patiently for Windows 7, XHTML 2.0, CSS 3.0, PHP 6.0, the ratification of C++0x, and the day that I can code without logic troubles.

 
 Respond to this message   
mennonite
(no login)

*no, no... i like it where it is.

June 10 2008, 4:50 PM 


 
 Respond to this message   

(Login burger2227)
R

* QB64 has it's own Big Programs area in the Forum here.

June 10 2008, 5:36 PM 



    
This message has been edited by burger2227 on Jun 11, 2008 2:16 PM


 
 Respond to this message   
Current Topic - QB64 Linux compilation data
  << Previous Topic | Next Topic >>Return to Index  
 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement  

Newbies usually go to www.qbasic.com and click on The QBasic Forum
Forum regulars have their own ways, which include The QBasic Community Forums