c++ - Build Problems
- Björn Sonntag (13/13) Jun 01 2004 Hello NG,
- Walter (4/17) Jun 01 2004 You need to download the dos extender libraries from www.dosextender.com...
- Björn Sonntag (29/29) Jun 02 2004 i have the dosextender ;-) i found the mistake ... i have forgotten to l...
- Heinz Saathoff (9/24) Jun 03 2004 Works here! I compiled and linked it this way:
- Björn Sonntag (9/10) Jun 07 2004 Yes with very simple project that contains 1 file works that ... but the
- Walter (8/17) Jun 07 2004 happend
- Björn Sonntag (13/15) Jun 08 2004 Hmm i don't think so ... this program is original from 1986 ... in the
- W³odzimierz Skiba (5/8) Jun 08 2004 Sorry for being off-topic regarding DM, but MGL of SciTech works with DJ...
- Björn Sonntag (4/7) Jun 08 2004 That's right but Openwatcom can not use the stl in any form .... this is...
- W³odzimierz Skiba (10/16) Jun 08 2004 DJGPP
- Heinz Saathoff (13/22) Jun 09 2004 nd
Hello NG, i've some big problems with the DM C++ Compiler ... i have portted a project from Watcom 11.X to DM. This Project uses the DosExtender. Now when i build the Program in the final step following errors occurs : cx.obj ..... Symbol Undefined __x386_start cx.obj ..... Symbol Undefined __x386_data_16_alias cx.obj ..... Symbol Undefined __x386_dbg_hook cx.obj ..... Symbol Undefined __x32_link_in_x32_lib sdx.lib ..... Symbol UnDefined __x386_memlock sdx.lib ..... Symbol UnDefined __x386_memunlock Can you help me ??? Thx Bjoern
Jun 01 2004
You need to download the dos extender libraries from www.dosextender.com. "Björn Sonntag" <pug1975 gmx.de> wrote in message news:c9i763$1dgp$1 digitaldaemon.com...Hello NG, i've some big problems with the DM C++ Compiler ... i have portted aprojectfrom Watcom 11.X to DM. This Project uses the DosExtender. Now when i build the Program in the final step following errors occurs : cx.obj ..... Symbol Undefined __x386_start cx.obj ..... Symbol Undefined __x386_data_16_alias cx.obj ..... Symbol Undefined __x386_dbg_hook cx.obj ..... Symbol Undefined __x32_link_in_x32_lib sdx.lib ..... Symbol UnDefined __x386_memlock sdx.lib ..... Symbol UnDefined __x386_memunlock Can you help me ??? Thx Bjoern
Jun 01 2004
i have the dosextender ;-) i found the mistake ... i have forgotten to link the x32.lib to the project .... Now the project is built but i can't start it ... when i call it then nothing happend. Source : #include <iostream.h> void main(void) { cout << "Hello World!" << endl; } OS : DOS 6.22 .... RAM 256 MB .... conv Mem : 487 kb . config.sys : device=c:\dos\himem.sys rem device=c:\dos\emm386.exe /noems BUFFERS=30 FILES=40 STACKS=9,256 LASTDRIVE=Z dos=high,umb SHELL=c:\COMMAND.COM c:\ /P /E:1024 rem devicehigh=C:\NET\ifshlp.sys autoexec.bat : echo off PATH = c:\;c:\dos;c:\tools;c:\novell;c:\spc4 \dos\KEYB GR,,\dos\KEYBOARD.SYS \dos\doskey prompt $p$_$g Thanks bjoern
Jun 02 2004
Bj=F6rn Sonntag schrieb...i have the dosextender ;-) i found the mistake ... i have forgotten to li=nkthe x32.lib to the project .... =20 Now the project is built but i can't start it ... when i call it then nothing happend. =20 Source : =20 #include <iostream.h> =20 void main(void) { cout << "Hello World!" << endl; =20 }Works here! I compiled and linked it this way: dmc -c -mx hw.cpp link E:\X32\LIB\cx+hw,hw,,E:\X32\LIB\x32; When you run it I would expect the correct output (here Hello World!) or=20 some other message due to a crash. No message at all seems a bit=20 strange. - Heinz
Jun 03 2004
Works here! I compiled and linked it this way:Yes with very simple project that contains 1 file works that ... but the project which i ported to DM have nearly 200 files .... so i work with the idde ... i build the program successful but when i start the program nothing happend .... really nothing ... the Computer works but none crt output appears. ... Thank you .... if it possible to compile the whole project in an other way ? I my past work i work with VC++ under Windows ... there were not so strange things. Bjoern
Jun 07 2004
"Björn Sonntag" <pug1975 gmx.de> wrote in message news:ca20j7$6rg$1 digitaldaemon.com...happendWorks here! I compiled and linked it this way:Yes with very simple project that contains 1 file works that ... but the project which i ported to DM have nearly 200 files .... so i work with the idde ... i build the program successful but when i start the program nothing.... really nothing ... the Computer works but none crt output appears....Thank you .... if it possible to compile the whole project in an other way?I my past work i work with VC++ under Windows ... there were not sostrangethings.So if one file works, and 200 fails, can you try whittling down the project until just what gets added that causes it to fail becomes clear?
Jun 07 2004
So if one file works, and 200 fails, can you try whittling down theprojectuntil just what gets added that causes it to fail becomes clear?Hmm i don't think so ... this program is original from 1986 ... in the following years many programmers have advanced the code ... the simple way is that i build the project completely new ... but that is too expensive .... when i compile just the simple program "Hello World" with the IDDE than the program doesn't work ... only when i build it with sc or the dmc command ... ------------ other question ... works the OpenGL Port of DM with the pure DOS Operating System ? i need a graphical Lib as soon as possible .... i haven't found any with works with dm .... Thanks Bjoern
Jun 08 2004
"Björn Sonntag" <pug1975 gmx.de> wrote in news:ca4cnr$15t5$1 digitaldaemon.com:other question ... works the OpenGL Port of DM with the pure DOS Operating System ? i need a graphical Lib as soon as possible .... i haven't found any with works with dm ....Sorry for being off-topic regarding DM, but MGL of SciTech works with DJGPP and Open Watcom. http://www.scitechsoft.com/products/dev/mgl_features.html ABX
Jun 08 2004
Sorry for being off-topic regarding DM, but MGL of SciTech works withDJGPPand Open Watcom. http://www.scitechsoft.com/products/dev/mgl_features.htmlThat's right but Openwatcom can not use the stl in any form .... this is the reason why we use the dm yet. ThankxABX
Jun 08 2004
"Björn Sonntag" <pug1975 gmx.de> wrote in news:ca4nhn$1pn9$1 digitaldaemon.com:DJGPPSorry for being off-topic regarding DM, but MGL of SciTech works withThat depends on what part of stl do you want. If std::string is sufficient then you can choose route through wxWidgets http://www.wxwidgets.org/manuals/2.5.2/wx_wxstring.html#wxstringat wxBase part of wxWidgets should be likable with any other application regardles of console/GUI nature. I was able to build wxMGL port of wxWidgets for DOS some time ago but I never played with it deeper. ABXand Open Watcom. http://www.scitechsoft.com/products/dev/mgl_features.htmlThat's right but Openwatcom can not use the stl in any form .... this is the reason why we use the dm yet.
Jun 08 2004
Bj=F6rn Sonntag schrieb...Yes with very simple project that contains 1 file works that ... but the project which i ported to DM have nearly 200 files .... so i work with th=eidde ... i build the program successful but when i start the program nothing happe=nd.... really nothing ... the Computer works but none crt output appears. .=..=20 Thank you .... if it possible to compile the whole project in an other wa=y ?I my past work i work with VC++ under Windows ... there were not so stran=gethings.In another message you say that the programs don't work when built with=20 the IDE. Ok, why not use makefiles (I alwas do this because I have more=20 control and trust them more than all the IDE settings) and running make=20 from a command window.=20 A great help in creating a simple makefile might be the program=20 MAKEDEP.EXE - Heinz
Jun 09 2004