🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.explorer
1 messages
1 total messages Started by William Scott Heyman Thu, 30 Jul 1992 18:57
mbuilder
#64
Author: William Scott Heyman
Date: Thu, 30 Jul 1992 18:57
41 lines
1567 bytes
I am trying to use mbuilder to turn a trivial c subroutine into a
module:

void test(x,y)
double x, y;
{
  y = x*x;
}

I used no input ports and set x=3.0 using the <<Constant Value>> in
the connection window. 

The double value of y was sent to an output port "y out" which was 
defined a parameter in the output ports window.

Here is the error I get

--- test.mdw.o ---
        /usr/explorer/lib/cxMdw test

Creating Module Data Wrapper subprogram from modules resources
in file ./test.mres.
Module Builder: Module resources missing field of output port.
Port number 0, Expected field cxP_Out_y_out->type, Found field
->p.cx_param_double.val
 
Module Builder: Error: Exiting MDW code generator.
 
*** Error code 255
smake: 1 error



Could someone explain what I am doing wrong, what general concept I am
not grasping? I am trying to make as simple a module as possible and
then build up from there. I followed the example (Gradient3D) in the
_Explorer_Module_Writer's_Guide" and of course it worked, but it was
in FORTRAN and pretty complicated.

Thanks
Will Heyman		wsh8z@virginia.edu	UVA Applied Math
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads