problem with includes

Discussions related to Visual Prolog
Post Reply
Active Member
Posts: 73
Joined: 19 Nov 2016 7:58

problem with includes

Post by mdosnov2016 » 15 Oct 2017 21:08

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

for example clearly in the code I have:

#include @"pfc\\application\\exe\\"
#include @"pfc\\filesystem\\"
#include "TaskWindow\\"

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

/*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\\"
#include @"pfc\\string\\"
#include @"pfc\\5xString\\"
#include @"pfc\\5xVIP\\5xPlatformSupport\\"

I checked and the directories are there.

but I receive instead errors like the following:

e100 The file 'pfc\5xVIP\5xFile\' 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

User avatar
Thomas Linder Puls
VIP Member
Posts: 2351
Joined: 28 Feb 2000 0:01

Post by Thomas Linder Puls » 16 Oct 2017 15:25

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\" ...
This is wrong:

Code: Select all

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

Code: Select all

#include @"pfc\5xVIP\5xString\"
Regards Thomas Linder Puls

Post Reply