Go to advanced search

by kamac495
Wed Feb 27, 2013 7:24 pm
Forum: General programming discussion
Topic: Writing for raspberry from PC?
Replies: 13
Views: 2637

Re: Writing for raspberry from PC?

I've got small problems with that tutorial, namely I am using Ubuntu and can't install ia32-libs (since as I read, they're deprecated). I did: sudo dpkg --add-architecture i386 sudo apt-get update But yet when I try to run this: arm-linux-gnueabihf-gcc -v It tells me that file has not been found. (I...
by kamac495
Wed Feb 27, 2013 4:04 pm
Forum: General programming discussion
Topic: Writing for raspberry from PC?
Replies: 13
Views: 2637

Re: Writing for raspberry from PC?

According to what has been said, this:
B) code on Ubuntu and run on Rpi, which would be the job for the cross-compiling option jamesh mentioned - using only RPi specific libraries
Seems as to be the best option for me.
by kamac495
Wed Feb 27, 2013 3:03 pm
Forum: General programming discussion
Topic: Writing for raspberry from PC?
Replies: 13
Views: 2637

Re: Writing for raspberry from PC?

I'd actually like to create application non-dependant on X (running fullscreen always). I've got small if not zero experience with coding for Linux, so I am not sure whether I can code such application on Ubuntu (my alt-OS).
by kamac495
Wed Feb 27, 2013 2:32 pm
Forum: General programming discussion
Topic: Writing for raspberry from PC?
Replies: 13
Views: 2637

Re: Writing for raspberry from PC?

The only problem is with creating a window I suppose.
On linux it's X11 I guess, while on pi it's something else.

That's the biggest pain.
by kamac495
Wed Feb 27, 2013 2:22 pm
Forum: General programming discussion
Topic: Writing for raspberry from PC?
Replies: 13
Views: 2637

Writing for raspberry from PC?

Hi. Is there any possibility to write programs for raspberry from PC? I mean C++ here. Just to clarify - I'd like to write code once, instead of doing changes on raspberry later on (If possible). And is it possible to compile from PC using GNU compiler for ARMv6 raspberry? (Instead of compiling the ...
by kamac495
Wed Feb 27, 2013 2:18 pm
Forum: Staffroom, classroom and projects
Topic: Learning Rasberrian/Linux on a PC
Replies: 13
Views: 4127

Re: Learning Rasberrian/Linux on a PC

Alright, thanks :lol:
by kamac495
Wed Feb 27, 2013 2:02 pm
Forum: Staffroom, classroom and projects
Topic: Learning Rasberrian/Linux on a PC
Replies: 13
Views: 4127

Re: Learning Rasberrian/Linux on a PC

Hi. I'm asking this question here, because it kind of belongs to the same topic. Is it possible to install raspbian on USB and run it from there? I tried that - I used win32diskimager to install raspbian image on my USB, then changed boot priorities from BIOS, restarted the whole machine and it didn...
by kamac495
Sun Jan 13, 2013 10:18 am
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

WinDisk32Imager should work with the drive letter.
I just used this, but as said, file weight of the image is x2 of the original. Is that normal?
How could I eventually prevent this? (Make it as small as it should be)
by kamac495
Sun Jan 13, 2013 10:01 am
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

Hm. I wonder how would I do that, since after installing raspbian on SD card, removing some programs and connecting back to my laptop, I see these files: arm128_start.elf arm192_start.elf arm224_start.elf arm240_start.elf bootcode.bin cmdline.txt config.txt issue.txt kernel.img kernel_cutdown.img ke...
by kamac495
Sun Jan 13, 2013 1:23 am
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

Debian (or Raspbian) has a program for installing and uninstalling programs. It's called apt-get and there should be threads on this forum on the usage of it (search for apt-get install remove purge). I have installed a program called Synaptic that is a graphical user interface for apt-get and migh...
by kamac495
Sun Jan 13, 2013 12:47 am
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

Alright, two more questions I guess: 1. How could I possibly remove unnecessary applications / whatever that is built in raspbian - or better yet - should I use something else than raspbian? (Debian or anything?) Basically, I'd like to decide what extensions / content should come with distro image. ...
by kamac495
Sat Jan 12, 2013 11:37 pm
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

Cheers, thanks for reply, If you are new to programming, a GUI could be too ambitious for a coding project. There is a lot of window managers and maybe one of them could serve as a template. Look at the source code for any window manager, make modifications, compile and install on your system, start...
by kamac495
Sat Jan 12, 2013 11:14 pm
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

I didn't find edit option, therefore I make another post :o

After some searching, I guess that if I want to code my own window manager, it is simply writing an ordinary application, just that it has more I/O.
That's my guess.

Well, we'll see about that :)

(Correct me if I am wrong)
by kamac495
Sat Jan 12, 2013 8:56 pm
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

Re: "New" OS from a template

Could I get some links perhaps? Something like tutorial / explanation / anything?

I've never tried to code window manager before.
by kamac495
Sat Jan 12, 2013 8:13 pm
Forum: General programming discussion
Topic: "New" OS from a template
Replies: 14
Views: 2369

"New" OS from a template

Hey there. I am sure that this question was asked before, but I am not sure if it was asked in the way I need it to be. So, I'd like to make some use of my PI and learn something about making linux distros / modifying it. My question is, if there is any raspberry linux "template" OS so that I can co...
by kamac495
Sat Nov 17, 2012 5:27 pm
Forum: Gaming
Topic: ADVMESS - A “Beginners Guide” to Compiling and Using
Replies: 8
Views: 20445

Re: ADVMESS - A “Beginners Guide” to Compiling and Using

Wow. I will definitely have to give it a try.

That's a nice tutorial, by the way ;)
by kamac495
Mon Oct 22, 2012 7:23 pm
Forum: Beginners
Topic: Uninstalling things
Replies: 2
Views: 1483

Uninstalling things

Hey :?

I've got a newbie question... How do I uninstall certain apps? Like, if I would want to uninstall some terminal (LXterminal is enough I guess), how would I do that?
by kamac495
Sat Oct 20, 2012 5:19 pm
Forum: Gaming
Topic: Attempting to port Minecraft (Client!) to the Raspberry PI.
Replies: 24
Views: 11384

Re: Attempting to port Minecraft (Client!) to the Raspberry

Hmm. I don't think this is gonna work. Minecraft especially requires very much RAM to work, as java does itself.

Good luck anyway.
by kamac495
Tue Oct 16, 2012 8:27 pm
Forum: C/C++
Topic: Opening a terminal and directing output to it
Replies: 1
Views: 981

Opening a terminal and directing output to it

Hey.

Sorry if this question was asked before, but I couldn't find the topic :roll:

Basically, I don't know how to: Open a terminal and direct output to it.
I was able to include stdlib and use system("/usr/bin/lxterminal"); but not sure if that's the correct way to do it..

Anybody?

Cheers.
by kamac495
Mon Oct 15, 2012 8:32 pm
Forum: C/C++
Topic: Can't see a console
Replies: 3
Views: 933

Re: Can't see a console

Somehow it works now :? I only wonder why when I try to execute it by double-clicking, then selecting execute option, it won't open a console window with desired output. If that's not common in Linux.. Basically, I can get output only by navigating to the place and doing exec ./testprog Can I make i...
by kamac495
Mon Oct 15, 2012 6:54 pm
Forum: C/C++
Topic: Can't see a console
Replies: 3
Views: 933

Can't see a console

Hey. After I compile my very basic program, #include <iostream> int main(int argc, char* argv[]) { std::cout << "Meh.\n"; int m; std::cin >> m; return 0; } Which I compile by the following command: g++ main.cpp -o test I don't see anything. I just run it and nothing happens. (Besides asking me if I ...
by kamac495
Mon Oct 15, 2012 2:47 pm
Forum: General discussion
Topic: New IT (UK) Supplier
Replies: 178
Views: 32455

Re: New IT (UK) Supplier

So, now every PI shipped by you guys is going to be 512mb ram version? Or do you still have to get rid of 256 mb ram first?
by kamac495
Mon Oct 15, 2012 6:03 am
Forum: Beginners
Topic: Connecting with ethernet - small problem
Replies: 9
Views: 1803

Re: Connecting with ethernet - small problem

Uhm, yeah, I've realised yesterday evening that I can do gcc main.cpp :?
I still haven't figured out how to make my .out file appear on the screen in an console after running.
by kamac495
Sun Oct 14, 2012 4:03 pm
Forum: Beginners
Topic: Connecting with ethernet - small problem
Replies: 9
Views: 1803

Re: Connecting with ethernet - small problem

Hm. I guess wireless bridge is a proper solution.

By that time, is there any option for me to download some software for my PI ( like C++ compiler perhaps? ) from my PC and install it on my PI by, for example, pendrive or directly modifying my SD card?
That would probably do too.
by kamac495
Sat Oct 13, 2012 10:37 am
Forum: Beginners
Topic: Connecting with ethernet - small problem
Replies: 9
Views: 1803

Re: Connecting with ethernet - small problem

Looks like I'll have to look into wifi dongle... Another problem is that it probably takes USB slot (?), which leaves me with only one. This way I would have to use USB Hub.

Ugh.

Go to advanced search