c++ - Can't find non-.h headers...
- dan (9/9) Nov 28 2003 Newbie here, just got the CD, there seem to only be .h versions of such ...
- dan (25/25) Nov 28 2003 Sorry, just used Find, and found them.
- Matthew Wilson (6/8) Nov 28 2003 G:\dm\include;G:\dm\stl;G:\dm\stlport\stlport;G:\boost-1.30.2;G:\boost-1...
- dan (2/8) Dec 01 2003 I grabbed paht_check, but can't find documentation on how to use it. Tri...
- Matthew Wilson (23/33) Dec 09 2003 .
- Matthew Wilson (16/19) Dec 09 2003 Sorry, I get it. (Slow moment ;)
- dan (4/6) Dec 09 2003 Thanks. What helped most, once I figured it out, was to start command.co...
- Matthew Wilson (11/18) Dec 09 2003 He he.
- dan (9/14) Dec 09 2003 Actually, in the case of -help or --help or incorrect parameters, a cin ...
- Matthew Wilson (18/26) Dec 09 2003 Not sure about that one, although I can see the need.
- dan (1/3) Dec 09 2003 I will, thanks!
- Walter (11/35) Nov 28 2003 Remove G:\dm\stl from your include path. Put G:\dm\stlport\stlport befor...
- dan (29/31) Nov 28 2003 Thanks!
- Walter (7/16) Nov 28 2003 Try adding the switch:
Newbie here, just got the CD, there seem to only be .h versions of such files as string, iostream, etc... I'm trying to compile a program using boost mpl, but all the files in boost call for non-.h versions of these files, and I'd like not to have to change the boost libraries, if possible. Am I missing something? Thanks in advance. Dan W. Raytron Ltd. Montreal
Nov 28 2003
Sorry, just used Find, and found them. Now I have a different problem: Here's my include path, BTW, G:\dm\include;G:\dm\stl;G:\dm\stlport\stlport;G:\boost-1.30.2;G:\boost-1.30.2\boost\mpl;G:\boost-1.30.2\libs\mpl\example\fsm Here's my include list: #include <iostream> #include "state_machine.hpp" #include "boost/mpl/list.hpp" #include "rec_frm.h" Before, I had <iostream> at the bottom of the list, and was getting an '"std" must be a class' type error. That problem went away when I moved iostream to the top. Now I get the following errors: sc rec_frm.cpp -mn -C -WA -S -3 -a8 -c -gf -IG:\dm\include -IG:\dm\stl -IG:\dm\stlport\stlport -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost\mpl -IG:\boost-1.30.2\libs\mpl\example\fsm -orec_frm.obj Error: G:\dm\stlport\stlport\stl/char_traits.h(116): type-argument expected for parameter '_StateT' of template 'fpos' Error: G:\dm\stlport\stlport\stl/char_traits.h(117): type-argument expected for parameter '_StateT' of template 'fpos' Error: G:\dm\stlport\stlport\stl/_string.h(120): '_STLP_alloc_proxy' is not a class template Error: G:\dm\stlport\stlport\stl/_string.h(128): ')' expected Fatal Error: G:\dm\stlport\stlport\stl/_string.h(131): too many errors Lines Processed: 19074 Errors: 5 Warnings: 0 Build failed TIA
Nov 28 2003
"dan" <dan_member pathlink.com> wrote in message news:bq818c$2god$1 digitaldaemon.com...Sorry, just used Find, and found them. Now I have a different problem: Here's my include path, BTW,G:\dm\include;G:\dm\stl;G:\dm\stlport\stlport;G:\boost-1.30.2;G:\boost-1.30. 2\boost\mpl;G:\boost-1.30.2\libs\mpl\example\fsm You might want to check out the NVX tool at http://www.synesis.com.au/r_systools.html
Nov 28 2003
I grabbed paht_check, but can't find documentation on how to use it. Tried many variations of --help, but all it does is flash on the screen...Now I have a different problem: Here's my include path, BTW,G:\dm\include;G:\dm\stl;G:\dm\stlport\stlport;G:\boost-1.30.2;G:\boost-1.30. 2\boost\mpl;G:\boost-1.30.2\libs\mpl\example\fsm You might want to check out the NVX tool at http://www.synesis.com.au/r_systools.html
Dec 01 2003
"dan" <dan_member pathlink.com> wrote in message news:bqff00$pke$1 digitaldaemon.com....G:\dm\include;G:\dm\stl;G:\dm\stlport\stlport;G:\boost-1.30.2;G:\boost-1.30Now I have a different problem: Here's my include path, BTW,many2\boost\mpl;G:\boost-1.30.2\libs\mpl\example\fsm You might want to check out the NVX tool at http://www.synesis.com.au/r_systools.htmlI grabbed paht_check, but can't find documentation on how to use it. Triedvariations of --help, but all it does is flash on the screen...I don't know what you mean by path_check, but nvx is a command-line tool. Just type nvx at the command-prompt, and it tells you what all the options are, as in: Synesis Software Environment Variable Expander v1.2.4.0013 USAGE: nvx [-b] [-v] [-x] [-X] [-c] [-i] [-l] [-p] [<env-var1> <env-var2> ... <env-varN> ] where: -b - copies all output to the clipboard -v - verbose output -x - marks items that do not exist -X - shows only items that do not exist -c - expands the CLASSPATH environment variable -i - expands the INCLUDE environment variable -l - expands the LIB environment variable -p - expands the PATH environment variable (the default) <env-var...> - expands the named environment variable(s) Contact Synesis Software (Pty) Ltd at "http://synesis.com.au/", or, via email, at "software synesis.com.au"
Dec 09 2003
TriedI grabbed paht_check, but can't find documentation on how to use it.manySorry, I get it. (Slow moment ;) pathchk is a command-line application, and it prints out any members of your path that do not exist. On my system running it gives: " F:\Documents and Settings\Matty>pathchk -? Synesis Software Path Validity Checker v1.0.1.0002 USAGE: pathchk F:\Documents and Settings\Matty>pathchk " since I've previously fixed up the bad path components. If I then add one, e.g. "X:\WIBBLE", it then prints out as follows: F:\Documents and Settings\Matty>set PATH=%PATH%;X:\wibble F:\Documents and Settings\Matty>pathchk "X:\wibble" does not exist Hope that helps. :)variations of --help, but all it does is flash on the screen...
Dec 09 2003
"X:\wibble" does not exist Hope that helps. :)Thanks. What helped most, once I figured it out, was to start command.com first and run those tools in it. I was double-clicking on the tools, or sending them to the command line and adding parameters, and a dos box would just flash on the screen for like 10 milliseconds at most.. :)
Dec 09 2003
He he. Eventually I plan to have them work equally well on the command-prompt and as GUI programs, but I've just not got around to it yet. Glad they can be of some help as is. Cheers Matthew "dan" <dan_member pathlink.com> wrote in message news:br5l6s$14sq$1 digitaldaemon.com...first"X:\wibble" does not exist Hope that helps. :)Thanks. What helped most, once I figured it out, was to start command.comand run those tools in it. I was double-clicking on the tools, or sendingthemto the command line and adding parameters, and a dos box would just flashon thescreen for like 10 milliseconds at most.. :)
Dec 09 2003
In article <br5njk$18b2$1 digitaldaemon.com>, Matthew Wilson says...He he. Eventually I plan to have them work equally well on the command-prompt and as GUI programs, but I've just not got around to it yet. Glad they can be of some help as is. CheersActually, in the case of -help or --help or incorrect parameters, a cin line that waits for the user to press a key, to prevent the thing from closing the window, would make it friendlier to basket case dummies like myself ;) And here's a request: A little program that takes a filename as a param and substitutes all newlines by newline/CR pairs, to make posix text read ok in notepad... And maybe a de-tab option; and maybe a 'eat blank space at end of lines' option; and maybe an 'ensure newline at end of file' option. Cheers!
Dec 09 2003
Actually, in the case of -help or --help or incorrect parameters, a cinlinethat waits for the user to press a key, to prevent the thing from closingthewindow, would make it friendlier to basket case dummies like myself ;)Not sure about that one, although I can see the need.And here's a request: A little program that takes a filename as a paramandsubstitutes all newlines by newline/CR pairs, to make posix text read okinnotepad...I've got the reverse of one of those, stripcr. I'll have to have a dig around, but it wouldn't be too hard to make it available, and also to have it do the reverse behaviour that you needAnd maybe a de-tab option; and maybe a 'eat blank space at end of lines' option; and maybe an 'ensure newline at end of file' option.I've got Perl scripts that do most of those things (http://synsoft.org/perl.html). I use the tabify.pl and untabify.pl on a daily basis. :) But it would be nice to have them as exes. If I wasn't so damn busy I'd crank these out for you asap. Alas, we might have to wait for the book submission deadline. (beginning of Feb) Did you register on the System Tools mailing list, so if I do get a chance you would be notified? Cheers Matthew
Dec 09 2003
Did you register on the System Tools mailing list, so if I do get a chance you would be notified?I will, thanks!
Dec 09 2003
Remove G:\dm\stl from your include path. Put G:\dm\stlport\stlport before \dm\include. "dan" <dan_member pathlink.com> wrote in message news:bq818c$2god$1 digitaldaemon.com...Sorry, just used Find, and found them. Now I have a different problem: Here's my include path, BTW,G:\dm\include;G:\dm\stl;G:\dm\stlport\stlport;G:\boost-1.30.2;G:\boost-1.30. 2\boost\mpl;G:\boost-1.30.2\libs\mpl\example\fsmHere's my include list: #include <iostream> #include "state_machine.hpp" #include "boost/mpl/list.hpp" #include "rec_frm.h" Before, I had <iostream> at the bottom of the list, and was getting an'"std"must be a class' type error. That problem went away when I moved iostreamto thetop. Now I get the following errors: sc rec_frm.cpp -mn -C -WA -S -3 -a8 -c -gf -IG:\dm\include -IG:\dm\stl -IG:\dm\stlport\stlport -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost\mpl -IG:\boost-1.30.2\libs\mpl\example\fsm -orec_frm.obj Error: G:\dm\stlport\stlport\stl/char_traits.h(116): type-argumentexpected forparameter '_StateT' of template 'fpos' Error: G:\dm\stlport\stlport\stl/char_traits.h(117): type-argumentexpected forparameter '_StateT' of template 'fpos' Error: G:\dm\stlport\stlport\stl/_string.h(120): '_STLP_alloc_proxy' isnot aclass template Error: G:\dm\stlport\stlport\stl/_string.h(128): ')' expected Fatal Error: G:\dm\stlport\stlport\stl/_string.h(131): too many errors Lines Processed: 19074 Errors: 5 Warnings: 0 Build failed TIA
Nov 28 2003
Remove G:\dm\stl from your include path. Put G:\dm\stlport\stlport before \dm\include.Thanks! I also introduced all the diffs into boost for DMC compatibility, from http://cmeerw.org/files/dm/boost-1.30.0-dm.diff and there seems to be progress. I got a new problem now, but it might be a bug in boost... sc rec_frm.cpp -cpp -Ae -Aa -r -mn -C -WA -S -3 -a8 -c -gf -IG:\dm\stlport\stlport -IG:\dm\include -IG:\boost-1.30.2 -IG:\boost-1.30.2\boost\mpl -IG:\boost-1.30.2\libs\mpl\example\fsm -orec_frm.obj Error: G:\boost-1.30.2\boost/mpl/aux_/preprocessed/plain /quote.hpp(7): no type for argument 'T' Error: G:\boost-1.30.2\boost/mpl/aux_/has_type.hpp(23): no type for argument 'T' Fatal Error: G:\boost-1.30.2\boost/mpl/list.hpp(36): unable to open input file 'boost/mpl/list/list10 .hpp' Lines Processed: 30442 Errors: 3 Warnings: 0 Build failed With the last problem, the file list10.hpp exists, it's there. Now, the file list.hpp tries to include that file via a macro: The macro is defined in boost/preprocessor/stringize.hpp as... I'm really not sure how a call to stringize_i macro without argument works, but it looks suspicious to me... I'll keep researching. Thanks
Nov 28 2003
Try adding the switch: -I\dm\stlport\stlport "dan" <dan_member pathlink.com> wrote in message news:bq7u2f$2c0d$1 digitaldaemon.com...Newbie here, just got the CD, there seem to only be .h versions of suchfiles asstring, iostream, etc... I'm trying to compile a program using boost mpl, but all the files inboost callfor non-.h versions of these files, and I'd like not to have to change theboostlibraries, if possible. Am I missing something? Thanks in advance. Dan W. Raytron Ltd. Montreal
Nov 28 2003