PonyProg AVR 编程软件 源码 研究

参考网页:
http://sourceforge.net/projects/ponyprog/files/latest/download

工程源码:
https://sourceforge.net/projects/ponyprog/

介绍主页:
http://www.lancos.com/prog.html

参考源码:
http://www.ccp14.ac.uk/ccp/ccp14/ftp-mirror/programming/objectcentral/

minigw:
http://www.mingw.org/
https://sourceforge.net/projects/mingw/files/

最新的源码,已经不支持 VC 而是支持MINGW
安装上mingw之后,
设置环境变量。

下载下来PonyProg2000-2.08d.tar.gz
并且解压:
进入目录:PonyProg2000-2.08d\PonyProg-2.08d\v\
DOS窗口执行命令:

# make -f Makefile.win clean
# make -f Makefile.win

然后进入目录:PonyProg2000-2.08d\PonyProg-2.08d\
执行如下
#make -f Makefile.win clear
#make -f Makefile.win

You will find ponyprog2000.exe in bin/win

I have succesfully compilled source files from PonyProg 2.08c with Code::Blocks IDE. Mr. Lanconelli has included Code::Blocks project file within the source files.

There are few things that I had to change. Remove in build options from “other linker options” option -static-libstdc++ due to “unrecognized command line option”, change option “-lV” to the correct name (new self compiled V library) and add library libstdc++ to build options then add two search directories to the linker InpOutLib\Win32, v\lib and finaly prepare V-lib to compilation of V library in the v folder.

I am using TDM-GCC mingw32 version 4.7.1 on win32 xp sp3

Best regards

RG

VisualStudio is not supported anymore.
You can build with mingw by make or CodeBlocks as suggested by RG.

PS
RG would you like to attach updated codeblocks project file?

Hello lancos,

my CodeBlocks project file is here

http://ponyprog.sourceforge.net/phorum/file.php?2,file=42,filename=PonyProg2000.cbp.zip

Best regards

sonix (RG till today)

PREPARE FOR BUILD
-----------------
# ./config.sh [install_prefix]

for example:
# ./config.sh $HOME

---------------
BUILD for Linux
---------------
On Debian/Ubuntu systems you need the following packages installed to build:
# sudo apt-get install build-essential libx11-dev libxt-dev libxext-dev libxaw7-dev

# make clean
# make

test the executable:
# bin/ponyprog2000

and install (optional):
# sudo make install

the sudo command is not needed if you install in $HOME


After launching ponyprog it creates ~/.PonyProg2000rc file with all the settings.
You may need to edit it and change
ttyLockDir=/var/lock
The directory where PonyProg creates the lock for serial ports (should be writeable)

ttyDevName=ttyS
Is the name of the serial port device without the trailing number

HtmlBrowseApp=konqueror
It's your html preferred browser (chrome, firefox, konqueror, ...)

-----------------------------
BUILD for Windows using mingw
-----------------------------
You can cross-build from Linux (tested on Ubuntu 12.04) or build from Windows with mingw package installed

# make -f Makefile.win clean
# make -f Makefile.win

You will find ponyprog2000.exe in bin/win

-----------------------------
BUILD for Windows using MSVC
-----------------------------
This is not supported anymore.
Source: README, updated 2016-06-29

猜你喜欢

转载自blog.csdn.net/wowocpp/article/details/80716811