papyrussolution / OpenPapyrus

Sophisticated ERP, CRM, Point-Of-Sale, etc. Open source now. This system is developed since 1996.
http://www.petroglif.ru
Other
239 stars 66 forks source link

When compile, an error appears. #10

Open ghost opened 4 years ago

ghost commented 4 years ago

3>File D:\OpenPapyrus-10.7.8\Src\Rsrc\Rc\charry.ds, Line 13: error 11818 I looked at the wiki's tutorial. There is a problem with the ppres project.

papyrussolution commented 4 years ago

I'll try to reproduce the error.

ghost commented 4 years ago

I am getting an error when compiling a ppres project. OpenPapyrus-10.7.8\Src\Rsrc\Rc\charry.ds, Line 13: error 11818 Because of this, charry.h is not created in the / include folder. When compiling the papyrus project, "Error C1083 Cannot open include file: 'charry.h': No such file or directory" appears. I looked at the wiki's tutorial. There is a problem with the ppres project.

papyrussolution commented 4 years ago

Literally the error 11818 says "left brace expected" e.g. the compiler ppds expected the character '{'. But i can't perceive why. I dont think you have changed this file (charry.ds).

ghost commented 4 years ago

I haven't changed that file. I got an error and asked a question. Can you send the required files like charry.H , charry.rc as a after of compiling the ppres project? Can the papyrus project send the entire compiled file? We would appreciate it if you use https://wetransfer.com/.

papyrussolution commented 4 years ago

What is your email? It is needed to send files

papyrussolution commented 4 years ago

But i mast understand the nature of the error :(

ghost commented 4 years ago

angelastanko00@gmail.com Can the papyrus project send the entire compiled file? I need a papyrus openSource where the compile was successful. (.h, .rc, *.lib, etc).

papyrussolution commented 4 years ago

I've sent you PPDSC.exe. It compiled with msvs2017 (regular one had been built with msvs2003). It's "dancing with a tambourine" neverthless this can help. If it help give me to know (and reverse also). So, put ppdsc.exe in OpenPapyrus-10.7.8\tools with replacing the existened one.

ghost commented 4 years ago

I got PPDSC.exe. thank you. But don't send the charry.h and charry.rc I asked for? We need a ppres project that compiles successfully. Refers to a work project in which compile has been successfully completed. Wait for the mail.

papyrussolution commented 4 years ago

i've sent charry.rc and charry.h (turn off assembling charry.ds in solution)

ghost commented 4 years ago

Thank you. Compilation was successful. Can I convert the GUI to asp.net in this papyrus project? I need your teaching.

papyrussolution commented 4 years ago

Can I convert the GUI to asp.net in this papyrus project? I need your teaching.

I dont't think it's possible. How you imagin that process? The system is rather large and converting the big deal of it into another technology is very hard task wich is needed precious analyzing, planning and implementation. But another approach can be learned: using server part of OpenPapyrus as a "back" and interaction with it from "front" subsystem. We using such an approach in internet- and mobile applications. Neverthless, this method is also needed meticulous work.

m110h commented 3 years ago

I got the same error during papyrus project building: "fatal error C1083: Cannot open include file: 'charry.h': No such file or directory".

I wrote an email to you with details of my development environment and a log file.

Why do you not include charry.h and other linked dependences to a sources tree?

Thanks.

papyrussolution commented 3 years ago

This file charry.h (as well as src/rsrs/rc/charry.rc) is made with utility tools/ppdsc.exe wich is included in the solution. I've tested building on the empty machine and everything was ok. Rule of building described in the project ppres (charry.ds). I have just included charry.h and charry.rc in repo in order to prevent this (ununderstood for me) effect.

m110h commented 3 years ago

Thank you for your support. So, I don't know why, but PPDSC.exe can't compile charry.ds (File charry.ds, Line 13: error 11844). I tried to rebuild the utility for x86 in Debug configuration and it doesn't take any effect. I will try to understand what happens. Any ideas?

m110h commented 3 years ago

I use Windows 7 x64. Maybe it's important...

papyrussolution commented 3 years ago

Please, attach there your copy of charry.ds (src/rsrc/rc/charry.ds). I'll check it. The error message is paradoxal (it's: "expected '{'" in "declare CrrDbDiv {"). Compress it before attaching (there are may unexpected characters).

m110h commented 3 years ago

I sent it over email.

m110h commented 3 years ago

I checked your fix. It works, thanks. Also I tried to setting my git client using a command git config --global core.autocrlf true and it works too. All files have CR LF end of line after cloning. For me this issue is closed.