Mailing List cwmm-dev@2rosenthals.com Archived Message #47

From: "Gregg Young" <cwmm-dev@2rosenthals.com> Full Headers
Undecoded message
Subject: Re: [cwmm-dev] Environment?
Date: Fri, 19 Feb 2021 14:35:42 -0700 (MST)
To: "CWMM Developers Mailing List" <cwmm-dev@2rosenthals.com>

On Wed, 17 Feb 2021 21:40:43 -0800 Dave Yeo wrote:
>
>So I've been playing again with this with no luck. Using the toolkit,
>there just seems to be a bunch of variables that aren't declared
>anywhere and reading the documentation, it seems that they should just
>work. No mention of needed headers etc. Trying to compile mediafolder
>fails with a bunch of errors starting with,
>icc /G5 /Ge- /Gm+ /Gl /O+ /Ss /Oc+ /Ol- /Q+ /DNO_ECS /C+ -I./include
>-IK:/work/cwmmclasses/branches/v2.9/common_functions/include
>/Foobj/mediafolder.obj c/mediafldr/mediafolder.cpp
>include\wpobject.hh(176:73) : error EDC3090: Syntax error - expected
>"type name" and found "PUSEITEM".
>include\wpobject.hh(177:36) : error EDC3263: Syntax error - expected ";"
>or "," and found "*".

Hi

PUSEITEM is defined in WPOBJECT.H which is in %TOOLKIT%\H

Your source file needs the following to find it.

#define INCL_WINWORKPLACE
#include <os2.h>

Possible problems:

Since your include path contains %TOOLKIT%\H either  WPOBJECT.H is missing or the definition of %TOOLKIT% is wrong.

Another possibility is that the
#define INCL_WINWORKPLACE got removed from the source file in question.

Lastly some other setup file specific to CWMM could be changing your include path without appending the one you provided.  HTH

Gregg



>
>So PUSEITEM has not been declared, along with many more.
>So this leads to wondering if I've set my environment up wrong.
>Can someone review my vacppenv.cmd when they have time? It's basically
>taken from what the VACCP 3.08 install added to config.sys with
>adjustments to use the toolkit first.
>Thanks,
>Dave
>ps cmd renamed to txt to keep Google happy.
>
>
>
>----< Inline text [text-plain-02.txt] >------------------
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>This message is sent to you because you are subscribed to the mailing
>list <cwmm-dev@2rosenthals.com>.
>To unsubscribe, E-mail to: <cwmm-dev-off@2rosenthals.com>
>To switch to the DIGEST mode, E-mail to
><cwmm-dev-digest@2rosenthals.com>
>To switch to the INDEX mode, E-mail to <cwmm-dev-index@2rosenthals.com>
>Send administrative queries to <cwmm-dev-request@2rosenthals.com>
>To subscribe (new addresses), E-mail to: <cwmm-dev-on@2rosenthals.com>
>and reply to the confirmation email.
>Web archives are publicly available at: http://lists.2rosenthals.com
>
>This list is hosted by Rosenthal & Rosenthal, LLC
>P.O. Box 281, Deer Park, NY 11729-0281. Non-
>electronic communications related to content
>contained in these messages should be directed
>to the above address. (CAN-SPAM Act of 2003)
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>



Subscribe: Feed, Digest, Index.
Unsubscribe
Mail to ListMaster