• Print

Author Topic: Can not compile QB64 on Ubuntu 13.x  (Read 105 times)

DSMan195276

  • Hero Member
  • *****
  • Posts: 2036
  • Yes
    • Email
Re: Can not compile QB64 on Ubuntu 13.x
« Reply #15 on: May 27, 2013, 11:53:49 AM »
Glad to hear it worked for you :)

Matt
"Cast your cares on the Lord and he will sustain you; he will never let the righteous be shaken" -- Psalm 55:22
QB64 Linux Installer

Catclaw

  • Jr. Member
  • **
  • Posts: 74
    • Major Media & Entertainment
    • Email
Re: Can not compile QB64 on Ubuntu 13.x
« Reply #16 on: May 27, 2013, 02:34:50 PM »
I thought I might post a screenshot of it, and some info that popped-up during compilation.
It might be usable   ;)
Two instances of QB64 running at the same time, one on a server (virtual Ubuntu 13) and one remote on a Cygwin X Win Server running under Windows 7. (Think of remote programs than run on remote servers but shows content locally! Platform-independence is the word of the day my friends. =)
Lets have some fun. =)

Take care everybody. =)
...And thanks again for the help Matt. =)

This was the output during compilation:

Code: [Select]
qbx.cpp: In function ‘void sub_clear(int32_t, int32_t, int32_t, int32_t)’:
qbx.cpp:864:20: warning: passing NULL to non-pointer argument 1 of ‘void sub_close(int32_t, int32_t)’ [-Wconversion-null]
qbx.cpp:864:20: warning: passing NULL to non-pointer argument 2 of ‘void sub_close(int32_t, int32_t)’ [-Wconversion-null]
In file included from qbx.cpp:909:0:
myip.cpp: In function ‘qbs* WHATISMYIP()’:
myip.cpp:159:125: warning: passing NULL to non-pointer argument 2 of ‘void sub_put2(int32_t, int64_t, void*, int32_t)’ [-Wconversion-null]
myip.cpp:161:45: warning: passing NULL to non-pointer argument 1 of ‘double func_timer(double, int32_t)’ [-Wconversion-null]
myip.cpp:164:68: warning: passing NULL to non-pointer argument 2 of ‘void sub_get2(int32_t, int64_t, qbs*, int32_t)’ [-Wconversion-null]
myip.cpp:168:107: warning: passing NULL to non-pointer argument 1 of ‘int32_t func_instr(int32_t, qbs*, qbs*, int32_t)’ [-Wconversion-null]
myip.cpp:240:31: warning: passing NULL to non-pointer argument 1 of ‘double func_timer(double, int32_t)’ [-Wconversion-null]
qbx.cpp: In function ‘void chain_input()’:
qbx.cpp:922:92: warning: passing NULL to non-pointer argument 3 of ‘void sub_open(qbs*, int32_t, int32_t, int32_t, int32_t, int64_t, int32_t)’ [-Wconversion-null]
qbx.cpp:922:92: warning: passing NULL to non-pointer argument 4 of ‘void sub_open(qbs*, int32_t, int32_t, int32_t, int32_t, int64_t, int32_t)’ [-Wconversion-null]
qbx.cpp:922:92: warning: passing NULL to non-pointer argument 6 of ‘void sub_open(qbs*, int32_t, int32_t, int32_t, int32_t, int64_t, int32_t)’ [-Wconversion-null]
qbx.cpp:932:52: warning: passing NULL to non-pointer argument 2 of ‘void sub_get(int32_t, int64_t, void*, int32_t)’ [-Wconversion-null]
qbx.cpp:933:52: warning: passing NULL to non-pointer argument 2 of ‘void sub_get(int32_t, int64_t, void*, int32_t)’ [-Wconversion-null]
qbx.cpp:934:60: warning: passing NULL to non-pointer argument 2 of ‘void sub_get(int32_t, int64_t, void*, int32_t)’ [-Wconversion-null]
qbx.cpp:940:52: warning: passing NULL to non-pointer argument 2 of ‘void sub_get(int32_t, int64_t, void*, int32_t)’ [-Wconversion-null]
qbx.cpp: In function ‘int TIMERTHREAD(void*)’:
qbx.cpp:1849:38: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
qbx.cpp:1851:8: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
In file included from qbx.cpp:2529:0:
../temp/main.txt: In function ‘int QBMAIN(void*)’:
../temp/main.txt:14:8: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
“Discovery consists in seeing what everyone else has seen and thinking what no one else has thought.”  --Albert Szent-Gyorgyi

Pete

  • Moderator
  • Hero Member
  • *****
  • Posts: 6300
  • Cuz I sez so varmint!
Re: Can not compile QB64 on Ubuntu 13.x
« Reply #17 on: May 27, 2013, 04:46:11 PM »
I'm glad you got it installed. Matt has certainly been a help to this community for Linux users. For me, I'm glad not to have to bother with these problems. Now if I could just get Bill to stop updating Windows!

Pete  :)
It's only rocket science; it's not Linux!

Cyperium

  • Hero Member
  • *****
  • Posts: 3326
  • Knowledge is good, but understanding is better
    • Cyperium
    • Email
Re: Can not compile QB64 on Ubuntu 13.x
« Reply #18 on: May 27, 2013, 06:13:14 PM »
This made me laugh:
Creating 'qb64'...
(Notes: Warnings can be ignored. This process could take a minute or so.)
In file included from libqbx.cpp:1:0:
common.cpp:33:23: fatal error: SDL_mixer.h: No such file or directory
compilation terminated.
g++: error: libqbx_lnx.o: No such file or directory

Setup complete!



Yeah, ignore the warnings, all will be fine anyway, promiz :D
Venture - New Prototype, QB64 Editor v1.95b (linux compatible, if you compile the source).

  • Print