Hello,
I just downloaded the demo version of PB for Linux. I extracted the archive into my home folder and created a shortcut to it. All good so far. I tried loading some of the demo programs and when I try to compile and run any of them, I am getting a linker error and message box that says cannot find -lGL, cannot find -lGLU, cannot find -lXxf86vm, cannot find -lz, collect2: error: ld returned 1 exit status.
Can someone point me in the right direction?
Thanks,
Gary
PureBasic newbie
-
- New User
- Posts: 5
- Joined: Mon Feb 03, 2014 12:13 am
- Location: Springfield, IL
Re: PureBasic newbie
Did you check the requirements ?
INSTALL file -> README file -> this :
INSTALL file -> README file -> this :
If you are using a debian based distribution you can do this to install the libs needed:- GTK+ 2.0 devel (and optionally GTK+ 1.2 devel for old application support)
- SDL 1.2 devel
- libstdc++ devel
- iodbc and iodbc-devel to be able to use the Database commands (see http://www.iodbc.org)
- libwebkit.so shoud be installed to have the WebGadget() working
- xine and xine-devel for the Movie commands
- libgnomeprintui2.2 and libgnomeprintui2.2-devel for the print commands
Note: a script which validate if all the development libraries are correctly installed is available
in the main purebasic directory. To execute it, type:
./checkinstall.sh
Code: Select all
sudo apt-get install gcc g++ libc6-dev libsdl1.2-dev libgtk2.0-dev libgnomeprint2.2-dev unixodbc-dev libgnome2-dev libxine-dev libgnomeprintui2.2-dev libxxf86vm-dev
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
-
- New User
- Posts: 5
- Joined: Mon Feb 03, 2014 12:13 am
- Location: Springfield, IL
Re: PureBasic newbie
Very much Thanks!
I am using Mint Linux 16 and the sudo code did the trick.
Looking forward to test driving PureBasic.
Thanks again,
Gary
I am using Mint Linux 16 and the sudo code did the trick.
Looking forward to test driving PureBasic.
Thanks again,
Gary
Re: PureBasic newbie
Welcome Gary, very glad to see a familiar face popping up over here.
Best wishes to the PB community. Thank you for the memories.
-
- New User
- Posts: 5
- Joined: Mon Feb 03, 2014 12:13 am
- Location: Springfield, IL
Re: PureBasic newbie
Thanks Kuron!
Re: PureBasic newbie
ubuntu 14.04If you are using a debian based distribution you can do this to install the libs needed:
Reading package lists ... Done
Building dependency tree
Reading state information ... Done
E: Could not find package libgnomeprint2.2-dev
E: Could not find package by regular expression «libgnomeprint2.2-dev»
E: Could not find package libgnomeprintui2.2-dev
E: Could not find package by regular expression «libgnomeprintui2.2-dev»
as @ as-AO722: ~ $
Re: PureBasic newbie
mestnyi wrote: E: Could not find package libgnomeprint2.2-dev
E: Could not find package libgnomeprintui2.2-dev
Go to system settings -> software & updates -> other software
1) click add
2) in the APT line field type: "deb http://us.archive.ubuntu.com/ubuntu precise main universe"
3) confirm the refresh request
reissue the original command I posted and it should work in Ubuntu 14.04
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
purebasic_linux_5_31_x64 on LXLE 14.04.2 x64
Hi
luis's 'ATP Line' tip above was needed - Installed OK now - Thanks luis
In summary:
1 - use luis's 'ATP Line... ' (Start > Updates (Software and Updates) >Settings> other Software > Add)
in the APT line field type: "deb http://us.archive.ubuntu.com/ubuntu precise main universe"
confirm the refresh request
2 - use the commented out 'sudo apt-get' found inside checkinstall.sh
3 - Run checkinstall.sh
luis's 'ATP Line' tip above was needed - Installed OK now - Thanks luis
In summary:
1 - use luis's 'ATP Line... ' (Start > Updates (Software and Updates) >Settings> other Software > Add)
in the APT line field type: "deb http://us.archive.ubuntu.com/ubuntu precise main universe"
confirm the refresh request
2 - use the commented out 'sudo apt-get' found inside checkinstall.sh
3 - Run checkinstall.sh
Re: PureBasic newbie
Thank you very, very much luis for the big help.luis wrote:Go to system settings -> software & updates -> other softwaremestnyi wrote: E: Could not find package libgnomeprint2.2-dev
E: Could not find package libgnomeprintui2.2-dev
1) click add
2) in the APT line field type: "deb http://us.archive.ubuntu.com/ubuntu precise main universe"
3) confirm the refresh request
reissue the original command I posted and it should work in Ubuntu 14.04
I would be lost without you.
Keep it BASIC.