Ubuntu Eclipse CDT unresolved include <stdio.h>

Ubuntu 10.10 Ecelipse-cpp-helios-SR2-linux with eclipse-cdtC and C++ project are finewhen i create a makefile project use #include for C or for C++all gave unresolved inclusion: error, so that i can't build projectPlease HelpI'm having trouble running C in eclipse. It first gives me weird syntax err ...

problem in identifying the jni.h file

iam trying to make dll in vc++.in my .cpp file i included #include "stdafx.h"#include "C:\dlltest\firstJNI.h"#include "C:\j2sdk1.4.2_04\include\jni.h" #include <math.h>Cannot open include file: 'jni.h': No such file or directoryError executing cl.exe.im getting th ...

Issues resolved/unresolved installing 8.04 Ubuntu on tyan tiger mp s2460 motherboard

I have a Tyan Tiger ol motherboard with dual cpu's ,, amd brand. An ati agp rage 128, the motherboard requires ecc pc 2100 registered ddr. An oldie.I have tried many installs, this is the first one that worked out of 20 on this box. Its an old box just so you know. First issue was ACPI , had to turn ...

Unresolved issues with (K)ubuntu on Compaq Presario V6000 Series

I have a Presario V6302AU laptop, which has reasonable specs, and works well under Kubuntu, with a few exceptions. Any help on these matters would be greatly appreciated.Here goes:Booting - for the machine to boot, I have to have the "noapic" option appended to my boot command. Other optio ...

Ubuntu Eclipse can't find mysql.h

I'm having a bit of trouble building some source code that uses mysql. Eclipse is saying that it has an "unresolved inclusion: <mysql.h>"I have installed libmysqlclient-dev and the .h file is under /usr/include/mysql/mysq.hIs there an environment variable that I am missing? ...

Ubuntu JNI problems

Hello, I am trying to build the Spring RTS (spring.clan-sy.com) from source, but when I run "scons configure", I get the error:Checking for C++ header file jni.h... noCould not find one of these headers: ['jni.h'] ...

Ubuntu Simple Java JNI Tutorial: Global Keypress Capture (Hotkey) using X11

This tutorial is for Java devs who want to be able to capture key presses globally under linux (specifically ubunutu.) This is of course OS dependent as Java does not allow for such a thing without the use of the JNI (Java Native Interface.) This tutorial is as self-contained as possible; however, i ...

Unresolved reclusion!!

I am currently working on an android application that requires interfacing with c/c++ libraries.So when i deploy my app on the device i get the message the application hellondk(the application name) has been forcefully closed. So when i go back and look at my code i see the in the c file warnings wh ...

Ubuntu A tip about programming c++ in eclipse

A tip about programming c++ in eclipse If you have a problem compiling a c++ hello-world program, after installing the Ubuntu Linux and the eclipse platform (c++) - you should know that Ubuntu 8.04 won't arrive with the headers you need, such as <stdio.h> etc.so what you simply need to do is i ...

error LNK2001 importing JNI functions

I am using Visual C++ (Visual Studio 6) to write a dll. The dll calls Java code, and therefore instantiates a JVM.The dll compiles OK, but the following linker errors are generated:-------------------Configuration: performConfig - Win32 Debug--------------------Compiling...performConfig.cppLinking.. ...

JNI Development and access

I'm pretty new to Java programming, but I did my fair share of C and Delphi. At the moment I'm developing on an Ubuntu 8.10 distro with the JDK 6 update 11. My IDE is NetBeans 6.1.The problem I'm experiencing is as follows:I build an Dynamic Library in C code, this compiles nicely and does what I wa ...

JNI problem! Please take a look

I'm new here.Currenty i trying out on the JNI, i'm trying to pass the IP address which i got it from the C++ file to Java.when i try to create the dll in the cmdits give me this error/dll/implib:hello.lib/out:hello.dllHelloWorldImp.objCreating library hello.lib and object hello.expHelloWorldImp.obj ...

JNI LNK2001 error please help

I am new to JNI and now i am trying to develop an application which communicates with one dll file which is created already.I have created .java file and in that i am calling System.loadLibrary("CardWrap");Then using javah , i have created .h file for the .class file.After that i have crea ...

Error linking JNI Invocation API test prog.

When compiling a simple C program to test the JNI Invocation API, I get the following link error:JNITest.obj : error LNK2001: unresolved external symbol __imp__JNI_CreateJavaVM@12The test program is one supplied by SUN, slightly altered to call my test Java program:/********************************* ...

Ubuntu Where is JDKhome in my computer?

I'm using ubuntu feisty on i386 configuration. There is a program that I'm trying to run, which uses NetBeans, but it keeps telling me, that "JDK 5.0 or newer cannot be found on your machine". I have installed the following packages from synaptic: sun-java5-jdk, sun-java5-jre, j2re1.4 and ...

Ubuntu Cern Root 5.26

all, this is my first post !I'm trying to update my ubuntu in order to compile root in a good way... BUT I MISS SOME LIBRARIES !after some efforts this is what I obtain: Configuring for linuxx8664gccChecking for GNU Make version >= 3.79.1 ... okChecking for C compiler ... gccChecking for C++ comp ...

Compiling Java on Fedora Versus Ubuntu ?

I recently switched my development computer from fc6 to Edgy. Everything works great except I can't build certain java applications.For example, I need to build a new library for libusbJava.http://inf.ntb.ch/infoportal/help/index.jsp?topic=/ch.ntb.infoportal/projects.html#libusbjava_installDeviceOn ...

HttpServletResponse with JNI

I always get this fatal error. The only thing i want to do is to pass my HttpServletResponse from my Servlet to my JNI, and then again from my JNI to my Servlet (but another method). Can you tell me what i do wrong? ---------------------------------------------------------------- Here is the java co ...

Ubstable Ubuntu?

Till this day I have always been an avid windows user. I am a Second Life user on Windows, but because windows always crashes, I decided to get started with Ubuntu. I am a real beginner when it comes to Ubuntu.It seems that Ubuntu is not very stable on my computer. After a easy installation, soon th ...

Ubuntu & Apache php not loading

I've been following this guide http://www.parcival.org/2006/07/14/h...ubuntu-server/To setup Joomla server. I loaded Ubuntu server with "lamp' option, I believed that was suppose to install Apache, php & MySql?I made a 'Public_Html' folder as told on the guide in my home directory. I copied ...

JNI - handle with vectors for Altivec

I try to write a simple JNI example which will use a function from the Altivec instruction set.For my example I will get access to [b]vec_mergeh[/b] function (or any other) from the Altivec instructions. So far, so good.For now my problem is, how can I use a Java Array as an vector in C (for Altivec ...

JVM Dump Handler issue when calling C program using JNI

HiI'm working on X.25 communication adapter development in Java, but IBM X.25 link programing interface with C. So I'm using Java Native Interface(JNI) to invoke C functions for X.25 communication, but when calling JNI method getting following error from JVM. I tried by increasing JVM memory size us ...

urgent: Jni-C-informix 4gl communication

We are working on a project to take the compiled version of Informix 4GL andintegrate it with our Java applications. I will stay away from why, just tryingto figure out how.We are using JNI to call C program which will in turn call informix 4gl. We are able to call C function but this function throw ...

unresolved external symbol

Hi! I have a simple class which when compiled gives:Toolset error LNK2001: unresolved external symbol "protected: static class CEntityManager * CEntityManager::m_Inst" (?m_Inst@CEntityManager@@1PAV1@A)Toolset fatal error LNK1120: 1 unresolved externalsCEntityManager.h#ifndef _ENTITYMANAGER ...

Problems w. JNI on AIX

I am trying to call Cobol functions from my Java app. AcuCobol only has a C API so I have to do it with JNI. I have no problems just calling the C code from Java, but when I add the call to Cobol API from my C code I can not compile the shared object I get the following err. msg:"ld: 0711-317 ERROR: ...

JNI and AIX 4.3.1

I have problem using jni header on AIX 4.3.1*****#include<jni.h>main(){}*****I have errors:"/usr/jdk_base/include/aix/longlong_md.h", line 341.39: 1540-0400 (S) "uint32_t" has a conflicting declaration."/usr/include/sys/inttypes.h", line 77.33: 1540-0425 (I) "uint32_t" is defined on line 77 of ...

JNI + zLinux(s390) = java.lang.NoClassDefFoundError: Ljava/lang/String;

i try to access the java.lang.String class with my C-code.win32 and intel-Linux works. zLinux doesn't :-(Details (3 files and 3 computer settings follows):[b]################ Hello.java ##################[/b]//// Hello.java//public class Hello{private native void print();public static void main(Stri ...

JNI exception thrown

I have created a java GUI and built a cpp dll file to be called by the GUI, when I build the machine generated .h file (javah) it creates a file that looks unusual but works, I am trying to collect a machine name, username, password and 3 boolean values in the GUI, and pass them as an object to the ...

JNI difficulties

I have confused to use Java Native Interface with dll file (by c++)..To get the squired value of a number which will be given by user...this is my class file...which also should be converted as header file for c++ file (dll file preparing...)import java.io.IOException;class First{public static nativ ...

Ubuntu is a proxy service what do I need?

I'm not sure this is the right place to post the following question.I have two desktops: desktop O (ubuntu 10.10 64) at my office (static IP)desktop H (ubuntu 10.10 64) at home (Internet connected via commercial ISP, dynamic IP)desktop H connection to desktop O, runs out of the box, via ssh.desktop ...

JNI Help java.lang.Unsatisfie dLinkError

I am trying to setup a simple dll that will allow me to run C++ code from Java, to start I chose to create the function HelloWorld, I can get the library to compile and load but when Java calls the native method "hello()" it throws the exception java.lang.UnsatisfiedLinkError.How can I fix ...

JNI/DLL compiling problems with Visual .NET

When I setup a simple helloworld example with a java class and a called Visual C++ DLL everything works fine as long as I compiled the DLL from the command line.Cmd:cl -ID:\java\jdk\v131\include -ID:\java\jdk\v131\include\win32 -MD -LD hello.c -Fehello.dllNow, I wanted to compile the same DLL with V ...

Java->C++ communication via JNI

Basically, what I am trying to do is to call a function placed in a dllA file from my dllB. My dllB is called from from a Java application; this is the standard way to do it. I have no header file from the dllA so I am trying to connect at runtime via LoadLibrary.Even if the code looks OK, compiles ...

Install Eclipse Java IDE problem on Ubuntu 9.1 Laptop

Can someone tell me why and how to fix this problem:GCJ has been detected as the current Java virtual machine. Use of GCJ is untested and unsupported. Please consult the documentation for more information.I have installed Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files) java p ...

Ubuntu Running fake identd.

Edit: hmm, ./identd USER-I-WANT-AS-IDENT worked.I dunno if this is the correct section, if not, sorry.I am running http://freshmeat.net/projects/fakeidentd/Fake Identd.It works amazing. It actually works for me, unline oidentd.Only problem / dislike: it runs as user `nobody', even through I run it v ...

[Bash Script] Backup and restore your ubuntu system with "live ubuntu backup"

I wrote a bash script to backup the whole ubuntu system to a bootable squashfs file. I named it "lub.sh" ( live ubuntu backup) Update: New version that supports grub2 is at #15, Page 2.It's quite simple to use this script. Download and unzip the attachment, then allow execution of the scri ...

Useing JNI API in vc++

I am createing a dll that I want to use from a java program.Ive generated my function definition (with some jni info),now there is a couple of things I can not find information on.In my function, I have a jobject (_jobject)And jstring (_jstring)(These classes are part of the jni API)I noted that the ...

Ubuntu Compilation of a C-program for drawing straightline segments.

I have installed ubuntu recently. I was trying to run one C program related to graphics, just to draw straightlinesegments. The program icludes the following statements at the beginning.----------------------------#include <stdio.h>#include <stdlib.h>#include <vga.h>#include <vg ...

Oracle Help on Pro*C and JNI - program crash when executing EXEC SQL statement

I have this simple native method which is a ProC program. When the program reaches the part where it connects to the DB, it crash. You can see this because If you look at the output, it managed to print the messages before the 'EXEC SQL CONNECT' but not after. Any reason why this is happening?Thanks ...

Ubuntu CUPS server not working?

there i'm tring to set ubuntu 7.10 up to act as a print server for my small network.The boxes(gentoo and ubuntu) are connected together using a router.I have opened up port 631(tcp and udp) on the router for the ubuntu server.Here are the relevant sections from /etc/cups/cupsd.conf:<Location / ...

JNI simple problem!

I am trying to use JNI to integrate code written using Visual C++ with Java. The problem is that when I am trying to compile the DLL, which has an include for the file &lt;jni.h&gt; this isn't compiling because it isn't finding this header file. How can I compile the Dll using Visual c++??? ...

Ubuntu BusyBox - initramfs

When trying in verbose mode right before the busybox console I get:ata4.01: qc timeoutThen this continues to scroll over and over again after the console appears:ata4.00: status: {DRDY}ata4: soft resetting linkata4.00: configured for UDMA/33ata4: EH completeata4.00: exception Emask 0x0 SAct 0x0 SErr ...

Ubuntu rev395 starts but rev 398 not

After several issues with wubi 8.4 rev395 i have uninstalled and tried to install rev 398.rev 398 does not start and silently fails while 395 still starts up normally. I have had the same issue with 395 and fixed it by emptying the temp directory. But that did not work with 398.============ Installe ...

Ubuntu Sharing Files with Samba problem in Windows XP

I have almost no experience with Samba as usually I don't use Windows. Being said that, here is the "strange" problem:I shared home folders to be accessible from a Windows XP notebook computer which my wife uses some times. One of the folders contains many pictures which I later renamed (b ...

Ubuntu Installation problem

I got the following error An error occoured. Permission denied. For more information, please see the log file.The following is the log file. I am running WinXP prof and trying to install wubi.01-06 19:04 INFO root: === wubi 10.10 rev197 ===01-06 19:04 DEBUG root: Logfile is r:\temp\wubi-10.10-rev197 ...

Ubuntu Permission denied, an error occured HELP!!!!

eeeeeeek!! When I was Installing Ubuntu inside Windows,using wubi, the installer failed and an error message popped out, saying "An error occurred:Permission deniedFor more information, please see the log file:C:\Users\Koo Jie Hui\AppData\Local\Temp\wubi-10.10-rev197.logso here is the log file. ...

[jni] invoking java virtuel machine

i have look that a code for invoking java virtual machine for create a java executable existing.i have a sdk 1.4.1 and i search a code for this java distrubitionnow i have only a code for jre 1.1 and i have a error for compilation.help methx ukornfr--fro old version ://How to compile//cl whatever.c ...

Ubuntu ./configure error with scilab-5.2.0.beta

So I thought I'd try out this new bit of software, and I know it's beta software so I'm not expecting a 100% easy path. However, I cannot seem to get past this error from the ./configure script. I'm all out of ideas, and don't really understand what it's telling me, as I have hdf5 development packag ...

Ubuntu Problem Installing U 9.04 in windows

HelloIam having problem installing ubuntu 9.04 in windows vista, it says permission denied.and generated following log file08-20 17:38 INFO root: === wubi 9.04 rev128 ===08-20 17:38 DEBUG root: Logfile is c:\users\jegan\appdata\local\temp\wubi-9.04-rev128.log08-20 17:38 DEBUG root: sys.argv = ['main ...

Ubuntu Network problems

Helo there Guys. If u dont mind i just want to tell some of my problem i apriciate a lot if u can helped me right. By d way I will tell you my situation. In our office we are using windows operating system (Windows 98 & Windows Xp) We have a good network connection for both 98 and Xp. Now we try ...