elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Curso de javascript por TickTack


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación C/C++ (Moderadores: Eternal Idol, Littlehorse, K-YreX)
| | |-+  Netbeans me esta volviendo loco...
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Netbeans me esta volviendo loco...  (Leído 1,566 veces)
kraiked

Desconectado Desconectado

Mensajes: 22


Ver Perfil
Netbeans me esta volviendo loco...
« en: 25 Enero 2016, 20:41 pm »

Hola, bueno, tengo un problema, el otro dia formatee el ordenador e instale windows 10, ahora quiero instalarme netbeans, para ello me bajo la herramienta Java JDK, y luego me bajo netbeans y cygwin... Vamos como siempre.

Pero cuando me meto a netbeans y empiezo a programar y pongo una libreria como esta: "#include <stdio.h>" me apaerece un error, y pone esto "cannot find include file stdio.h" (este mensaje me aparece en la bombilla roja, al compliar sale un mensaje bastante más grande)
y no tengo ni idea de como arreglarlo, he reinstalado tanto el netbeans como el JDk y nada...

Un saludo


« Última modificación: 25 Enero 2016, 20:44 pm por kraiked » En línea

MAFUS


Desconectado Desconectado

Mensajes: 1.603



Ver Perfil
Re: Netbeans me esta volviendo loco...
« Respuesta #1 en: 25 Enero 2016, 20:56 pm »

Buscando por internet me he encontrado con esto:
Citar
So your gcc should be finding /usr/include/stdio.h if you have it. Is it there? As far as I can tell from the package file lists, it's supposed to be part of the cygwin base system (i.e. even if you haven't installed the compiler it should be there).

Are you missing any other header files? <stdlib.h> and <string.h> are good test candidates.

Here are some commands to investigate the cygwin package and whether it contains the file:

cygcheck -f /usr/include/stdio.h
cygcheck -c cygwin
cygcheck -l cygwin | grep stdio
UPDATE: so it seems I'm behind the times and there's a cygwin-devel package now. The header files aren't in the base cygwin package any more. To check the correct package on the latest cygwin, you'd use

cygcheck -c cygwin-devel
as has already been done in the comments. And since it's listed as "incomplete" the solution is probably to reinstall it using cygwin's setup program.

Viene de esta página:
http://stackoverflow.com/questions/27824139/cygwin-gcc-cannot-find-stdio-h

Supongo que es lo mismo que te ocurre.


En línea

kraiked

Desconectado Desconectado

Mensajes: 22


Ver Perfil
Re: Netbeans me esta volviendo loco...
« Respuesta #2 en: 27 Enero 2016, 16:48 pm »

Bueno, al final desistí, no tenía ni idea de que ocurría, creo que era culpa de cygwin... Al final he borrado windows 10 y dejare solo ubuntu.... Que me da muchisimos menos problemas...
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
El stud_PE me esta volviendo loco!
Ingeniería Inversa
andres52 3 4,056 Último mensaje 17 Mayo 2009, 14:45 pm
por karmany
Ayuda con un test que quiero realizar por diversión y me esta volviendo loco :S
PHP
WizardRPG 5 2,504 Último mensaje 18 Mayo 2010, 23:24 pm
por scorpion01
Fraps me está volviendo loco :(
Software
WarGhost 0 2,954 Último mensaje 8 Junio 2013, 20:25 pm
por WarGhost
Me estan volviendo loco
Redes
locstar 3 2,094 Último mensaje 15 Febrero 2015, 05:13 am
por virtualedu
(RESUELTO)[Mongoose] Me estoy volviendo loco, como hacer esto?
Desarrollo Web
[u]nsigned 2 2,324 Último mensaje 6 Julio 2020, 01:43 am
por [u]nsigned
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines