Discussions related to Visual Prolog
mdosnov2016
VIP Member
Posts: 73
Joined: 19 Nov 2016 7:58

problem with includes

Unread post by mdosnov2016 »

I have been receiving problems with includes in the 64-bit build.

for example clearly in the code I have:

#include @"pfc\\application\\exe\\exe.ph"
#include @"pfc\\filesystem\\filesystem.ph"
#include "TaskWindow\\taskWindow.ph"

#include "resourceIdentifiers.i"
#include @"pfc\\5xVIP\\5xBreakControl\\5xBreakControl.ph"
#include @"pfc\\exception\\exception.ph"
#include @"pfc\\console\\console.ph"

/*global*/ %domains
%#Migration: Declaration of FILE domain is moved to pfc\5xVIP\5xFile\fileSelector.i

#include @"pfc\\5xVIP\\5xFile\\fileSelector.i"
#include @"pfc\\5xVIP\\5xFile\\5xFile.ph"
#include @"pfc\\string\\string.ph"
#include @"pfc\\5xString\\5xString.ph"
#include @"pfc\\5xVIP\\5xPlatformSupport\\5xPlatformSupport.ph"


I checked and the directories are there.

but I receive instead errors like the following:

e100 The file 'pfc\5xVIP\5xFile\5xFile.ph' is not found backend.pack
e100 The file 'pfc\5xVIP\5xFile\fileSelector.i' is not found backend.pack

although all the directories and the files are in place.

Please help!

Michael Dossis
PrologUser
User avatar
Thomas Linder Puls
VIP Member
Posts: 1398
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

Can it find the other files that starts with pfc?

You should not use double slashes when the strings starts with @ (not that it solves your problem):

Code: Select all

#include @"pfc\application\exe\exe.ph" ...
This is wrong:

Code: Select all

#include @"pfc\5xString\5xString.ph"
it should be also have the 5xVIP component:

Code: Select all

#include @"pfc\5xVIP\5xString\5xString.ph"
Regards Thomas Linder Puls
PDC
Post Reply