[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Help on Amibroker ADK



PureBytes Links

Trading Reference Links

Hello,

Your DevC++ is not configured properly.

In Project Options ->
Parameters, you have the following flags in Compiler:

-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DCANDLE_EXP
ORTS -D_WINDLL -D_AFXDLL

You should copy the same settings to C++ compiler. 

BTW: there is separate list for -DLL discussion, for registered users only
http://www.egroups.com/messages/amibroker-dll 



Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "f.su" <f.su@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, January 27, 2005 8:02 PM
Subject: [amibroker] Help on Amibroker ADK


> 
> Hi,
> 
> Have anyone tried to use Dev-C++ to develop DLL?
> 
> I installed the ADK from Amibroker web site and Dev-C++ 4.9.9.1 would not
> even compile the samples.
> 
> Here is the compile log:
>  Compiler: Default compiler
>  Building Makefile: "C:\Dev-Cpp\ADK\Sample\Makefile.win"
>  Executing  make...
>  make.exe -f "C:\Dev-Cpp\ADK\Sample\Makefile.win" all
>  g++.exe -c Plugin.cpp -o
> lugin.o -I"C:/Dev-Cpp/include/c++/3.3.1"  -I"C:/Dev-Cpp/include/c++/3.3.1/mi
> ngw32"  -I"C:/Dev-Cpp/include/c++/3.3.1/backward"  -
> I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include"  -I"C:/Dev-Cpp/include"
> In file included from Plugin.cpp:20:
>  Plugin.h:448:7: warning: no newline at end of file
>  Plugin.cpp:50: error: function `int GetPluginInfo(PluginInfo*)' definition
> is
>     marked dllimport. Plugin.cpp:58: error: function `int
> SetSiteInterface(SiteInterface*)'
>     definition is marked dllimport.
>  Plugin.cpp:66: error: function `int GetFunctionTable(FunctionTag**)'
> definition
>     is marked dllimport.
>  Plugin.cpp:74: error: function `int Init()' definition is marked
> dllimport.
>  Plugin.cpp:80: error: function `int Release()' definition is marked
> dllimport. make.exe: *** [Plugin.o] Error 1 Execution terminated
> 
> Logged a ticket with Amibroker last Friday. But have not heard anything back
> from them.
> 
> Please help if someone went thru this before.
> 
> 
> Thanks,
> FS
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/