Go to advanced search

by cmrincon
Fri Aug 09, 2019 7:48 pm
Forum: Beginners
Topic: Controlling ground connection
Replies: 5
Views: 117

Re: Controlling ground connection

it¡'s recommended to use a diode in pararel with the transistor in order to let the transient current peak to flow
by cmrincon
Fri Jun 21, 2019 11:15 am
Forum: General discussion
Topic: Is my HDMI port fried? RPi 3B+
Replies: 14
Views: 883

Re: Is my HDMI port fried? RPi 3B+

OMG! that accident could have been worse!! PLEASE BE CAREFULL, ELECTICITY IS DANGEROUS!!!
by cmrincon
Fri Jun 21, 2019 11:08 am
Forum: General discussion
Topic: ayuda , help raspberry pi zero w
Replies: 3
Views: 153

Re: ayuda , help raspberry pi zero w

Hi!, you can test which ic is faulty with this spray:

https://bit.ly/2RpNfz6

"freeze" the board with the spray and turn it on..the ic that gets hotter probably is the faulty one.
by cmrincon
Mon May 06, 2019 10:27 am
Forum: C/C++
Topic: i am trying to make a small window appear, with nothing in it, but it just isn't working.
Replies: 9
Views: 875

Re: Is this wrong?

From that same guide:

Code: Select all

First we need to make sure that the relevant GTK libraries are installed. To do this, type
sudo apt-get install libgtk2.0-dev into a terminal window and answer yes to any
prompts – this installs the developer libraries for GTK 2.
by cmrincon
Thu Apr 18, 2019 9:26 pm
Forum: General programming discussion
Topic: Which is the best way to start working on a c project?
Replies: 2
Views: 580

Which is the best way to start working on a c project?

Hi! I'm actually thinking about joining and contribute to a open source project ( https://github.com/fsphil/hacktv ) but in spite of i have a intermediate knoledge of c i think is difficult to understand the code already written. In order to be able to contribute to the project do i need to understa...
by cmrincon
Fri Mar 15, 2019 10:08 am
Forum: C/C++
Topic: New to Raspberry, old to programming
Replies: 40
Views: 5218

Re: New to Raspberry, old to programming

Hi! If you can install Visual Studio 2017 you can crosscompile and debug for your rpi WITHOUT visual gdb. Buying visual gdb is obiusly easier but there are more ways to archieve your goal. you will also need this: http://gnutoolchains.com/raspberry/ I recomend you to upgrade to windows 7 as visual s...
by cmrincon
Tue Feb 26, 2019 9:33 am
Forum: C/C++
Topic: Coding Games Tutorial in MagPi Help
Replies: 30
Views: 2125

Re: Coding Games Tutorial in MagPi Help

Did you try "sudo apt-get update" before installing codeblocks?
by cmrincon
Sun Feb 17, 2019 5:54 pm
Forum: C/C++
Topic: gcc toolchain remedial education
Replies: 5
Views: 994

Re: gcc toolchain remedial education

https://github.com/raspberrypi/tools Here you have to get the tools for compile and link the code IN YOUR LAPTOP. The output file Will run on your raspian OS. You do not have to install the tools on your rpi as the tools are made to work in x86 or x64. You must use "gcc-linaro-arm-linux-gnueabihf-r...
by cmrincon
Sun Jan 06, 2019 11:25 am
Forum: C/C++
Topic: #include <sys/socket.h>
Replies: 9
Views: 1119

Re: #include <sys/socket.h>

Hello!My pi has 4 socket.h:

./usr/include/linux/socket.h
./usr/include/arm-linux-gnueabihf/bits/socket.h
./usr/include/arm-linux-gnueabihf/asm/socket.h
./usr/include/arm-linux-gnueabihf/sys/socket.h
./usr/include/asm-generic/socket.h
by cmrincon
Sun Dec 09, 2018 6:47 pm
Forum: C/C++
Topic: WiringPi Segmentation fault
Replies: 3
Views: 1007

Re: WiringPi Segmentation fault

Hi!
did you try to use any debug tool? It can be usefull to know which line have the problem.
by cmrincon
Sun Oct 14, 2018 2:56 pm
Forum: Other
Topic: makefile problem (freeBSD)
Replies: 9
Views: 4157

Re: makefile problem

I run the instruction in console as you said and i finally thought the makefile was not the problem. Actually i didn't change anything from the makefile. I think that when i run the makefile, the OS didn't refresh the views and it showed me a empty output file when the output file was correctly gene...
by cmrincon
Fri Oct 12, 2018 7:51 pm
Forum: Other
Topic: makefile problem (freeBSD)
Replies: 9
Views: 4157

Re: makefile problem

Thanks you now it seems to work.
by cmrincon
Tue Oct 09, 2018 10:54 am
Forum: Other
Topic: makefile problem (freeBSD)
Replies: 9
Views: 4157

Re: makefile problem

cmrincon wrote:
Tue Oct 09, 2018 8:11 am
i will solve all those warnings in a couple of hours...
Done
by cmrincon
Tue Oct 09, 2018 8:11 am
Forum: Other
Topic: makefile problem (freeBSD)
Replies: 9
Views: 4157

Re: makefile problem

Heater wrote:
Tue Oct 09, 2018 8:08 am

Does your Makefile actually produce the object files you expect?
Yes it generates main.o, rest of objets are pre-compiled

i will solve all those warnings in a couple of hours...
by cmrincon
Tue Oct 09, 2018 7:52 am
Forum: Other
Topic: makefile problem (freeBSD)
Replies: 9
Views: 4157

Re: makefile problem

there are no errors..shouldn't compile it with warnings only?
by cmrincon
Mon Oct 08, 2018 11:06 pm
Forum: Other
Topic: makefile problem (freeBSD)
Replies: 9
Views: 4157

makefile problem (freeBSD)

Hi! I have to make an executable for university but i'm not be able to link the objets files. It seems that the compiler can generate the objet file but the linker cant generate the executable because it generates an empty file. The make log is: -------------- Clean: all in Fase1 (compiler: LLVM Cla...
by cmrincon
Thu May 24, 2018 7:46 pm
Forum: C/C++
Topic: size of a struct
Replies: 5
Views: 902

size of a struct

Hi i have a problem with a little program which i'm doing: struct struct_mensaje { char tipo; unsigned short numero_datos; char datos[28]; }mensaje; ....[code about sending and receiving datagrams] int n2 = sizeof(mensaje); int n3 = sizeof(mensaje.tipo); int n4 = sizeof(mensaje.datos); int n5 = size...

Go to advanced search