Official Blog for OBE Messages
 

Home
Sunday, 15 July 2012
use MSYS cvs.exe to sync source code
one of the easiest method to sync sourceforge.net project code into your computer is using the MSYS cvs.exe application.

i created 3 .bat files for the purpose to sync im, cd and iup toolkit code into my computer for MAKE dllw4

im.bat
cvs -z3 -d:pserver:anonymous@imtoolkit.cvs.sourceforge.net:/cvsroot/imtoolkit co -P im

cd.bat
cvs -z3 -d:pserver:anonymous@canvasdraw.cvs.sourceforge.net:/cvsroot/canvasdraw co -P cd

iup.bat
cvs -z3 -d:pserver:anonymous@iup.cvs.sourceforge.net:/cvsroot/iup co -P iup

Labels: ,

Wednesday, 13 June 2012
make IUP dlls
step by step guide to make IUP dll files from source
special thanks to Scuri (IUP mailing list) who resolve issues around MAKE dll or libs from iup sources.


1. we need to cvs IUP sources, (IM, CD & IUP)

2. you can use Tortoise CVS available here.



3. i decide to cvs IUP sources to my D drive, like above picture, i right click and select CVS Checkout..

4. for CVSROOT, fill in

:pserver:anonymous@iup.cvs.sourceforge.net:/cvsroot/iup

then you click the Fetch List button.



5. From the module list, select iup then sources download task will starts.

6. After the download process finished, i will cvs IM and CD sources using the same methods like above.

:pserver:anonymous@imtoolkit.cvs.sourceforge.net:/cvsroot/imtoolkit

:pserver:anonymous@canvasdraw.cvs.sourceforge.net:/cvsroot/canvasdraw

7. I assume you got MinGW setup correctly, otherwise, please visit setting up MinGW (Minimalist GNU) inside Windows

8. you get a layout like below


9. we would need to download Win-Bash (shell.w32-ix86.zip) from here Choose Files -> Shell-Complete -> Latest -> shell.w32-ix86.zip, basically extract it to C:/WinBash.

10. rename the make.exe from C:/WinBash to something else, we will use the MinGW mingw32-make.exe rename to make.exe.

11. SET ENVIRONMENT PATH VARIABLE to contain the following
C:/WinBash
C:/MinGW/Bin

12. fire up cmd.exe,

D:\iup\src>set NO_DEPEND=Yes
D:\iup\src>set TEC_UNAME=mingw4
D:\iup\src>set MINGW4=C:\MinGW
D:\iup\src>make

13. you will notice 2 extra directories created, lib and obj, you can find the compiled iup.dll there.

14. you will probably want to compile iupcontrols.dll, cd.dll and im.dll, just remember you need to set VARIABLE=VALUE for every new cmd prompt console window you open.

Labels: , ,


Home