Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Upp .dll
Re: Upp .dll [message #26139 is a reply to message #26138] Mon, 05 April 2010 15:45 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
"You must configure the include path from TheIDE on your command line." I will need to find out how that is done. For Eclipse and MSVC that was done in the IDE.

I tried several different ways for the double quotes, it still split between Program and Files.

"The Visual Studio 2005 Command Prompt automatically sets up the correct path to the Visual C++ compiler and any needed libraries, so it is used instead of the regular Command Prompt window."
http://msdn.microsoft.com/en-us/library/ms235639%28VS.80%29. aspx

This was important for the C++ includes, admin. privileges (even though UAC is off). Then they compiled OK with:
cl -I"c:\Program Files\Java\jdk1.7.0\include" -I"c:\Program Files\Java\jdk1.7.0\include\win32" -MD -LD HelloWorld.c -FeHelloWorld.dll

The files look good, have not been able to run it yet.

Apparently GCC/GCJ CNI and Swig depend on the JNI or similar.
It is just the interface from Java to Native code.

The necessary changes to the JNI files can be compiled on the command line.
It would be good to do it in theIDE.

Once this is set up a C++ .dll can be made with Upp.
The Java app code will be changed with Eclipse.
  • Attachment: Hello.zip
    (Size: 5.97KB, Downloaded 274 times)

[Updated on: Mon, 05 April 2010 16:50]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [solved, i guess]difficulty with sqlite3 schema
Next Topic: image drawing
Goto Forum:
  


Current Time: Mon Apr 28 05:01:03 CEST 2025

Total time taken to generate the page: 0.00800 seconds