English
C ++ Forum

Error Message with the new Version

 
Hello, with the new Versiom I get following Error Message :


MAKE Version 5.2 copyright (c) 1987, 2000 Borland
D:BCC55incc32.exe -o.objPrfMain.obj -c -w-8026 -w-8057 -w-8060 -w-8017 -w-8004 -w-8066 -w-8041 -w-8027 -q -O2 -tWM -v- -D_WINVER=0x0400 -D_WIN32_WINNT=0x0400 -ID:BCC55include PrfMain.cpp
PrfMain.cpp:
Error E2209 pobject.h 14: Unable to open include file parray.h
Error E2303 pobject.h 66: Type name expected
Error E2209 pbase.h 17: Unable to open include file parray.h
Error E2209 PrfMain.cpp 6: Unable to open include file parray.h
*** 4 errors in Compile ***

** error 1 ** deleting .objPrfMain.obj
Finished.


what means the?

mfg
 
02/11/09  
 



Parray.h becomes well missing, have these on the system?
 
02/11/09  
 



have so really nothing To do.

with the Vorgängerversion runs it , or becomes compiliert without Error Message.

mfg
 
02/11/09  
 




E.T.

...have so really nothing To do....


so did i not !
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
02/11/09  
 




Sebastian
König
Hello Peter,

The parray.h heard to profane2Cpp and ought to really automatically into jeweilige Build-directory copies go. can You please times a short code post (or me mailen), with the the Error appears?

with the new Version mean You 2.0a, correctly.?

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
02/12/09  
 



here the code. with the 2.0a skin not More there.
 $H windows.ph
declare x1!,y1!,dx!,dy!,winkel!,y&,z%,address%,address1%,address2%,texid%,end%
declare hWin&,hwin1&,hwin2&,hwin3&
declare width%,height%,groesse%
declare bild_auto_h&,bild_umw_h&,bild_hin_h&
declare bmi#,bildxy# ,ogl_rgb#,bild_hin#
groesse%=128*128*4
dim bildxy#,groesse%
dim ogl_rgb#,groesse%
dim bild_hin#,groesse%
ende%=1
adresse2%=addr(z%)
Window 20,20-800,600
Cls @RGB(220,220,220)
hWin& = @Create(Text, %hWnd, Test1, 10, 10, 128,128)
hWin1& = @Create(Text, %hWnd, Test2, 250, 20, 500,500)
hWin2& = @Create(Text, %hWnd, Test3, 10, 150, 128,128)
var hDCWin& = ~GetDC(hWin&)
var hDCWin1& = ~GetDC(hWin1&)
var hDCWin2& = ~GetDC(hWin2&)
ShowWindow(hWin&,1)
oGL(Init, hwin&, 0,0, 0, 0)
oGL(PosMode, 1)
ogl(glReadBuffer,~GL_Back)
bild_auto_h& = Create(hnewPic,128,128,0 )
var bild_2& = Create(hnewPic,500,500,0 )
var tex.car%=erzeugetex(car.bmp)
var bild_back_h& = Create(hPic, -1,back.bmp)
startpaint bild_back_h&
drawpic there.bmp,200,200,0
endpaint
var iDC&=~CreateCompatibleDC(hDCWin1&)
var iBitmap& = ~CreateDIBSection(idc&, bmi#, ~DIB_RGB_COLORS, 0,0,0)
~SelectObject(iDC&, iBitmap&)
setTimer 20
drawglscene
drawglscene
oglzubmp

WHILE end%

    WaitInput

    if isKey(87)

        y1!=Sin((-winkel!)/180.0*pi())*2
        x1!=Cos((-winkel!)/180.0*pi())*2
        dx!=dx!-x1!
        dy!=dy!-y1!
        drawglscene
        oglzubmp()

    endif

    if isKey(83)

        y1!=Sin((-winkel!)/180.0*pi())*2
        x1!=Cos((-winkel!)/180.0*pi())*2
        dx!=dx!+x1!
        dy!=dy!+y1!
        drawglscene
        oglzubmp()

    endif

    if isKey(81)

        winkel!=winkel!+1.0
        drawglscene
        oglzubmp()

    endif

    if isKey(69)

        winkel!=winkel!-1.0
        drawglscene
        oglzubmp()

    endif

    startpaint bild_2&
    drawpic bild_back_h&,0,0,0
    drawpic bild_auto_h&,100+dx!,100+dy!,-1
    endpaint
    startpaint hwin1&
    drawpic bild_2&,0,0,0
    endpaint
    startpaint hwin2&
    copypic bild_2&,200,200 - 128,128 > 0,0,0
    endpaint
    ~Bitblt(idc&,0,0,128,128,hDCWin1&,200,200,~SRCCOPY)
    ~GetDIBits(hDCWin1&,iBitmap&,0,128,bild_hin#,bmi#,~DIB_RGB_COLORS)
    rgb_farbe()
    StartPaint %hwnd
    DrawText 10,300,(stature$(######0      ,z%))
    EndPaint

ENDWHILE

killTimer
end

proc oglzubmp

    ogl(glReadPixels,0,0,128,128,~GL_BGRA,~GL_UNSIGNED_BYTE,ogl_rgb#)
    ~setDIBits(%hdc,bild_auto_h&,0,128,ogl_rgb#,bmi#,0)

endproc

proc drawglscene

    OGL(Clear)
    OGL(origin,0,0,-1.11)
    OGL(texture,tex.car%,1)
    OGL(rotate,0,0,winkel!)
    OGL(quad,0.5,0.5)
    OGL(show)

endproc

proc bitmap_header

    def &BI_RGB 0
    def &DIB_RGB_COLORS 0
    struct BITMAPINFOHEADER =
    biSize&, biWidth&, biHeight&, biPlanes%, biBitCount%, biCompression&,
    biSizeImage&, biXPelsPerMeter&, biYPelsPerMeter&, biClrUsed&, biClrImportant&
    dim bmi#,BITMAPINFOHEADER
    clear bmi#

    with bmi#

        .biSize&        = sizeof(bmi#)
        .biWidth&       = width%
        .biHeight&      = height%
        .biPlanes%      = 1
        .biBitCount%    = 32
        .biCompression& = &BI_RGB
        .biSizeImage&   = ((.biWidth& * .biBitCount%  8 - 1) | 3 + 1) * abs(.biHeight&)

    endwith

endproc

proc erzeugetex

    parameters namebild$
    texid%=0
    height%=128
    width%=128
    dispose bmi#
    bitmap_header()
    bild_umw_h& = Create(hPic, -1, namebild$)
    ~GetDIBits(%hdc,bild_umw_h&,0,bmi#.biHeight&,bildxy#,bmi#,0)
    bmptex()
    OGL(glGenTextures,1,ADDR(texid%))
    OGL(glBindTexture,~GL_TEXTURE_2D,texid%)
    OGL(glEnable,~GL_ALPHA_TEST)
    OGL(glAlphaFunc,~GL_GREATER, 0.1)
    OGL(glTexParameteri,~GL_TEXTURE_2D, ~GL_TEXTURE_MAG_FILTER, ~GL_LINEAR)
    OGL(glTexParameteri,~GL_TEXTURE_2D, ~GL_TEXTURE_MIN_FILTER, ~GL_LINEAR)
    OGL(gluBuild2DMipmaps,~GL_TEXTURE_2D, ~GL_RGBA, height%, width%, ~GL_RGBA, ~GL_UNSIGNED_BYTE, bildxy#)
    dispose bildxy#
    RETURN texid%

endproc

proc bmptex

    address%=bildxy#
    P2CPP: <INLINE_CPP>
    long zaehler;
    long worth;
    unsigned char b;
    unsigned char g;
    unsigned char r;
    long adrr;
    worth=PVAR(groesse%);
    adrr=PVAR(address%);
    char* area = reinterpret_cast<char*>(adrr);
    for(zaehler = 0; zaehler <= worth; zaehler = zaehler + 4)

    {

        b=area[zaehler] & 255;
        g=area[zaehler+1] & 255;
        r=area[zaehler+2] & 255;

        if ((r==0) & (b==0) & (g==0))

            area[zaehler+3]=0;

        else

            {

                area[zaehler+3]=255;

            }

            area[zaehler+2]=b;
            area[zaehler]=r;

        }

        P2CPP: </INLINE_CPP>

    endproc

    proc rgb_farbe

        address1%=bild_hin#
        address2%=addr(z%)
        P2CPP: <INLINE_CPP>
        long zaehler;
        long worth;
        unsigned char b;
        unsigned char g;
        unsigned char r;
        long adrr;
        long adrr1;
        worth=PVAR(groesse%);
        adrr=PVAR(address1%);
        char* area1 = reinterpret_cast<char*>(adrr);
        adrr1=PVAR(address2%);
        long* zz = reinterpret_cast<long*>(adrr1);
        zz[0]=0;
        for(zaehler = 0; zaehler <= worth; zaehler = zaehler + 4)

        {

            b=area1[zaehler];
            g=area1[zaehler+1];
            r=area1[zaehler+2];

            if ((b > 250)|| (g > 250) || (r > 250))

                {

                    zz[0]=255;
                    break;

                }

            }

            P2CPP: </INLINE_CPP>

        endproc

 
02/13/09  
 




Sebastian
König
after I first irritiert was, that it by me free from problems functions, fell me now straight on, that The parray.h in the Trial evident objectively missing. i'll the same time correct.

though should the already with Version 2.0 so been his, there there the new aray-concept introduced watts... Meinst You with the Vorgängerversion, with the it yet funktionierte, means evtl. The 1.6?

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
02/13/09  
 




Sebastian
König
Nachtrag: the same counts for Updater of 2.0 on 2.0a, only that here still The old parray.h present is... I have straight on the Profan2Cpp-Homepage updated Installer uploaded.
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
02/13/09  
 



Hello, it was The Version under 2...

mfg
 
02/13/09  
 



The old Invoke runs on 2.0 or...unless, need I moreover too one update?...

mfg
 
02/13/09  
 




Sebastian
König
Peter, I know unfortunately straight not very, what you mean...

for the installation the Full Version-Updates on 2.0a must on the Zielsystem The 2.0 present his. The Trial functions naturally independent of it.

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
02/13/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

8.907 Views

Untitledvor 0 min.
funkheld12/17/13
Achim Engelhardt12/21/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie