Author Topic: Setting up a NewView development environment  (Read 376 times)

Michael

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Setting up a NewView development environment
« on: August 13, 2025, 07:38:01 am »
I am currently setting up a development environment for NewView. Sibyl with FP3 is installed. I downloaded the NewView source code and copied it into E:\Projects\Sibyl\NewView. So far so good.

I adjusted the env.inc file for the folders. Running project-setup.cmd failed with an error. Inserting a semicolon on line 112 seems to help:

Call Lineout 'STDERR:', Right( sigl, 6 ) '+++', STRIP( SOURCELINE( sigl ))

After that the project files for Sibyl are created. Next I run the makeall.cmd script in the \NewView\Sibyl folder. There I hit the same error as before and made the corresponding adjustment in the script. Now the resources are build.
Unfortunately compilation fails with this error:

Sibyl compiler version 2.5 Compiling: E:\PROJECTS\SIBYL\NEWVIEW\SIBYL\MAKEALL.PAS Compiling: SYSTEM.PAS Fatal Error at [0,0] in SYSTEM.PAS "Syntax error (INTERFACE expected)"

Invoking the project directly in the Sibyl IDE reports that System.pas cannot be found. The paths are correct and System.pas is in its place. Does anyone have an idea where the problem might be?

Thankful for any help,
Michael

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: Setting up a NewView development environment
« Reply #1 on: August 13, 2025, 07:58:04 am »
I thought NewView was developed with FreePascal, http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/dev/proglang/pascal/FreePascal_3-2-2.zip, to quote the description,
Quote
Free Pascal 3.2.2 (2021-05-15) - Free Pascal Compiler. A multiplatform open source 32bit and 64 bit Pascal compiler that is highly Turbo Pascal/Borland Pascal/Delphi compatible. (supports OS/2, DOS, GO32v2, Win32, Linux, FreeBSD, NetBSD, BeOS, SunOS/Solaris, QNX and more). This archive contains full sources, binaries, emx runtimes and documentation in PDF and HTML formats.
And I know that the current non-OS/2 version, renamed to DocView is part of FreePascal. Handy if you want to look at INF's on other platforms. Looks like NewView as same author, just uses widgets that we don't have.
INF is the official FreePascal help system. See https://forum.lazarus.freepascal.org/index.php?topic=10335.0 for am interesting discussion on it.
Edit: fix formatting.

Pete

  • Hero Member
  • *****
  • Posts: 1426
  • Karma: +17/-0
    • View Profile
Re: Setting up a NewView development environment
« Reply #2 on: August 13, 2025, 12:24:37 pm »
Hi Michael

Have you checked the paths are correct in the [Project Files] section of the (?newview) .SPR file?

@Dave: If I remember correctly Aaron originally developed Newview using Sybil - I could be wrong...


Regards

Pete

Silvan Scherrer

  • Full Member
  • ***
  • Posts: 210
  • Karma: +4/-0
    • View Profile
Re: Setting up a NewView development environment
« Reply #3 on: August 13, 2025, 03:54:42 pm »
According to http://trac.netlabs.org/newview/browser/trunk/howto.txt Spedsoft Sybil and some special enhancements are used. I suggest to ask Alex Taylor for help, if you can't figure all out. As he for sure has it built.
kind regards
Silvan
CTO bww bitwise works GmbH

Please help us with donations, so we can further work on OS/2 based projects. Our Shop is at https://www.bitwiseworks.com/shop/index.php

Michael

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: Setting up a NewView development environment
« Reply #4 on: August 15, 2025, 08:10:40 am »
Thank you for your responses.

The project files contain relative path specifications, which are correct. I have temporarily changed them to absolute paths, but without success.

I will try to contact Alex and will report here if there are any news.