Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Creating DLL in Eclipse using Java
Creating DLL in Eclipse using Java [message #692685] Tue, 05 July 2011 02:45 Go to next message
arcticrealm is currently offline arcticrealmFriend
Messages: 4
Registered: June 2011
Junior Member
I'm having difficulties creating a DLL in Eclipse. I've searched the net and apparently it's supposed to be made when you compile the project, but when I manually cleaned and built it I could not find a DLL anywhere. A website gives instructions for doing it in C++ (won't let me put in links till I've posted more then 5 messages for some reason). I noticed that it says

"3. Compile the project as a RELEASE.

Change the dropdown box in the top center of the window from "Debug" to "Release".
Click Build → Build Solution.
The example bot is now compiled into a dll
The bot dll is located at C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\release\ExampleAIModule.dll

4. Copy the dll from C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\Release\ExampleAIModule.dll to C:\program files\starcraft\bwapi-data\AI\ExampleAIModule.dll
"

I can't find anything about "Debug" and "Release" builds in Eclipse.
  • Attachment: eisbot.zip
    (Size: 99.44KB, Downloaded 472 times)
Re: Creating DLL in Eclipse using Java [message #693023 is a reply to message #692685] Tue, 05 July 2011 16:16 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 04-Jul-11 20:45, forums-noreply@eclipse.org wrote:
> I'm having difficulties creating a DLL in Eclipse. I've searched the net and apparently it's supposed to be made when you compile the project, but when I manually cleaned and built it I could not find a DLL anywhere. A website gives instructions for doing it in C++ (won't let me put in links till I've posted more then 5 messages for some reason). I noticed that it says
>
> "3. Compile the project as a RELEASE.
>
> Change the dropdown box in the top center of the window from "Debug" to "Release".
> Click Build → Build Solution.
> The example bot is now compiled into a dll
> The bot dll is located at C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\release\ExampleAIModule.dll
>
> 4. Copy the dll from C:\program files\starcraft\BWAPI_Beta\ExampleAIModule\Release\ExampleAIModule.dll to C:\program files\starcraft\bwapi-data\AI\ExampleAIModule.dll
> "
>
> I can't find anything about "Debug" and "Release" builds in Eclipse.

Please read sticky post at top of this forum about how C/C++ questions
are better answered in the Eclipse CDT forum than this one.
Re: Creating DLL in Eclipse using Java [message #696259 is a reply to message #692685] Wed, 13 July 2011 15:01 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 7/4/11 10:45 PM, forums-noreply@eclipse.org wrote:
> I'm having difficulties creating a DLL in Eclipse. I've searched the
> net and apparently it's supposed to be made when you compile the
> project, but when I manually cleaned and built it I could not find a
> DLL anywhere. A website gives instructions for doing it in C++ (won't
> let me put in links till I've posted more then 5 messages for some
> reason). I noticed that it says
>
> "3. Compile the project as a RELEASE.
>
> Change the dropdown box in the top center of the window from "Debug"
> to "Release". Click Build → Build Solution. The example bot is now
> compiled into a dll The bot dll is located at C:\program
> files\starcraft\BWAPI_Beta\ExampleAIModule\release\ExampleAIModule.dll
>
> 4. Copy the dll from C:\program
> files\starcraft\BWAPI_Beta\ExampleAIModule\Release\ExampleAIModule.dll
> to C:\program files\starcraft\bwapi-data\AI\ExampleAIModule.dll "
>
> I can't find anything about "Debug" and "Release" builds in Eclipse.


Java does not compile to DLLs. At least, not without some very
proprietary and commercial tools to do it; it's not the normal output
for a Java code base.

Eric
Previous Topic:PROBLEM SOLVED: Eclipse won't run (I read and followed all the default sticky posts)
Next Topic:Eclipse Helios does not completely remember worksplace state
Goto Forum:
  


Current Time: Fri Apr 19 19:32:29 GMT 2024

Powered by FUDForum. Page generated in 0.07838 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top