www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/06/16:30:49

From: Radical DOT NetSurfer AT delorie DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: jptui4k won't compile JPDEMO
Date: Thu, 06 Sep 2001 16:22:47 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <n4mfptomcadft0mgnsoda5hqmvlc4vbtks@4ax.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-Complaints-To: newsabuse AT supernews DOT com
Lines: 143
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I wanted to compare the different DOS "textual" GUI's,
and was suggested this one, but it won't MAKE its demo:

Does anyone understand why I can't compile

jptui4kd.zip ??

-----------------------------------------------
                  JPTUI v4.0k
            -  DJGPP v2 version  -
                    Freeware
-----------------------------------------------
JPTUI is a  visually-attractive object-oriented
textual user interface for DJGPP v2 and Borland
C++ v4.

Designed for C++, it  provides both a simple to
use  and  a  powerful  application  programming
interface.
-----------------------------------------------
By Jeepy                    jpdelprat AT teaser DOT fr
(Jean-Pierre Delprat)  www.teaser.fr/~jpdelprat
-----------------------------------------------

Fortunately, it comes with pre-compiled "*.a" files; but
using the supplied MAKEFILE fails to link properly...
whats missing here?

gcc -MMD -Wall -m486 -O3 -c jpdemo.cpp -o jpdemo.o
gxx -s -o jpdemo.exe jpdemo.o ../lib/debug/libjptui.a
../lib/debug/libjptui.a(tlist.o)(.text+0x251a):tlist.cpp: undefined
reference to `__eh_pc'
../lib/debug/libjptui.a(tlist.o)(.text+0x2532):tlist.cpp: undefined
reference to `__eh_pc'
../lib/debug/libjptui.a(tobject.o)(.text+0x202):tobject.cpp: undefined
reference to `__eh_pc'
../lib/debug/libjptui.a(tapplica.o)(.text+0xe39):tapplica.cpp:
undefined reference to `set_new_handler'
../lib/debug/libjptui.a(tapplica.o)(.text+0xe4c):tapplica.cpp:
undefined reference to `set_new_handler'
../lib/debug/libjptui.a(tapplica.o)(.text+0x10d2):tapplica.cpp:
undefined reference to `set_new_handler'
../lib/debug/libjptui.a(tapplica.o)(.text+0x1120):tapplica.cpp:
undefined reference to `set_new_handler'
../lib/debug/libjptui.a(twindow.o)(.text+0x378e):twindow.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(tpushbut.o)(.text+0x86a):tpushbut.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(tmenu.o)(.text+0x5c0):tmenu.cpp: undefined
reference to `__eh_pc'
../lib/debug/libjptui.a(tmenu.o)(.text+0x5fc):tmenu.cpp: undefined
reference to `__eh_pc'
../lib/debug/libjptui.a(tmenu.o)(.text+0x80a):tmenu.cpp: undefined
reference to `__eh_pc'
../lib/debug/libjptui.a(tmenu.o)(.text+0x8b2):tmenu.cpp: more
undefined references to `__eh_pc' follow
../lib/debug/libjptui.a(ttextzn.o)(.text+0x103b):ttextzn.cpp:
undefined reference to `set_new_handler'
../lib/debug/libjptui.a(ttextzn.o)(.text+0x1050):ttextzn.cpp:
undefined reference to `set_new_handler'
../lib/debug/libjptui.a(thelpwnd.o)(.text+0x2ce):thelpwnd.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(thelpwnd.o)(.text+0x2e6):thelpwnd.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(thelpwnd.o)(.text+0x2fe):thelpwnd.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(thelpwnd.o)(.text+0x316):thelpwnd.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(thelpwnd.o)(.text+0x32e):thelpwnd.cpp:
undefined reference to `__eh_pc'
../lib/debug/libjptui.a(thelpwnd.o)(.text+0x346):thelpwnd.cpp: more
undefined references to `__eh_pc' follow
collect2: ld returned 1 exit status
make.exe: *** [jpdemo.exe] Error 1

---------- the actual MAKEFILE --------------

#   DJGPP makefile for Jptui Demo

FLAGS = -MMD -Wall -m486 -O3

all : jpdemo.exe jpdemo.hlp

jpdemo.exe : jpdemo.o jptui.dat
	gxx -s -o jpdemo.exe jpdemo.o ../lib/debug/libjptui.a
	../tools/connect.exe jpdemo.exe jptui.dat
	del jptui.dat

jpdemo.o : jpdemo.cpp
	gcc $(FLAGS) -c jpdemo.cpp -o jpdemo.o

jptui.dat : vocab.fre vocab.ger vocab.eng vocab.ita vocab.spa
vocab.dut vocab.grk
	copy ..\lib\debug\jptui.dat .
	../tools/exedat.exe d jptui.dat vocab.eng
	../tools/exedat.exe d jptui.dat vocab.fre
	../tools/exedat.exe d jptui.dat vocab.ger
	../tools/exedat.exe d jptui.dat vocab.ita
	../tools/exedat.exe d jptui.dat vocab.spa
	../tools/exedat.exe d jptui.dat vocab.dut
	../tools/exedat.exe d jptui.dat vocab.grk
	../tools/exedat.exe a jptui.dat vocab.eng 2
	../tools/exedat.exe a jptui.dat vocab.fre 2
	../tools/exedat.exe a jptui.dat vocab.ger 2
	../tools/exedat.exe a jptui.dat vocab.ita 2
	../tools/exedat.exe a jptui.dat vocab.spa 2
	../tools/exedat.exe a jptui.dat vocab.dut 2
	../tools/exedat.exe a jptui.dat vocab.grk 2

jpdemo.hlp : jpdemo.src
	../tools/jphc jpdemo.src /width=48

clean :
	del *.o
	del *.d

DEPS := $(wildcard *.d)
ifneq ($(DEPS),)
include $(DEPS)
endif

----------------------------------------------------------------------

So far, DEPUI 2.0 by Doug Eleveld, 
http://huizen.dds.nl/~deleveld/depui.htm
appears to be promising but lacks documentation
do check it out...very interesting to examine!!
(hey! this is new stuff here)
and maybe a few controls I would find minimal...
[like that Dropdown ComboBox, etc.]

(I'm too used to programming in Win95 and all of the
 assorted "essential" controls I get to work with there.)

email: radsmail AT juno DOT com
http://members.tripod.com/~RadSurfer/

Join us on Yahoo at:
http://groups.yahoo.com/group/BorlandCPPBuilder
for informal discussions about all versions of C++Builder...
[Computer programming for Windows 95, and Console32]
(you must be a Yahoo member to join)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019