User forums > Help
How to set up Code::Blocks to success to compile a Windows plugin ?
(1/1)
Pierre8r:
Hello,
I want to do a data plugin for this software :
http://www.amibroker.com
If you want you can download a trial release of this software here :
Dowload AmiBroker Page
You can also download the AmiBroker Development Kit (ADK) here :
AmiBroker Development Kit
Comes whith this post the zip file ASCII.zip, which is the data plugin sample extracted from ADK.exe.
If you dont want execute ADK.exe to extract the sample.
My OS is Windows 2000 Pro
I have already try with the Microsoft tools following something like that :
Using Visual C++ 2005 Express Edition with the Microsoft Platform SDK
Without success.
I have also did a import projet into Code::Blocks, then try to compile.
I have the same kind of error :
--- Quote ---fatal error RC1015: cannot open include file 'afxres.h'
--- End quote ---
Could you give me some advises to successfuly compile the ASCII data plugin sample which comes with ADK.exe ?
Which compiler to choose ?
How to set up Code::Blocks to success to compile this sample.
Thanks,
Pierre8r
[attachment deleted by admin]
Vuki:
This plugin needs MFC which is not free and is available only with retail versions of Visual Studio. You can't compile it with VS Express Edition or other free compillers. Sorry. :(
It may be possible however to rewrite the code so that MFC is not needed but I' not sure about this.
MortenMacFly:
--- Quote from: Pierre8r on January 07, 2008, 09:37:43 pm ---
--- Quote ---fatal error RC1015: cannot open include file 'afxres.h'
--- End quote ---
--- End quote ---
Seems the project requires the MFC (MS foundation classes) to compile. This is not part of the C++ Toolkit. It used to be part of the platform SDK but in recent ones it seems to have been removed. Maybe MFC is not free (anymore)?! So to quickly come to a solution I'd say you need the Visual Studio Compiler / SDK. Hence you can use this with C::B if you like.
With regards, Morten.
Pierre8r:
Hi,
Thanks all.
I found other link :
http://msdn2.microsoft.com/en-us/library/ms235626(VS.80).aspx
Try it, and it dont work with the ASCII sample.
I think it's all about MFC.
GUI with Win32 API it's OK.
GUI with MFC dont works.
Regards,
Pierre8r
Navigation
[0] Message Index
Go to full version