Delphi compiling to Linux ld-linux.exe: error: cannot find bplrtl270.so - delphi-10.4-sydney

After upgrading to Delphi 10.4.1 , I installed PAServer on Linux Ubunto 18.04.5 and updated SDK Local File Cache , there were no errors in these processes.
However when I converted my existing applications or tried to create a new one for Linux-64 I got the following error :
> [DCC Error] E2597 C:\Program Files
> (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find
> bplrtl270.so
following this error there may others :
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplemsserverapi270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bpldbrtl270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplbindengine270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplbindcomp270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplRESTComponents270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplFireDAC270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplFireDACCommon270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplFireDACCommonDriver270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplxmlrtl270.so
C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\ld-linux.exe: error: cannot find bplFireDACOracleDriver270.so
I've already checked a similar question here , followed their suggestions , but I have no success , maybe due to different Delphi version!
Thks in advance for you help !

Had this problem today. First thing is to check do you have these files. If no - you can try to reinstall Linux64 platform (recommendation found on other forum).
If you have these files but Delphi can't find them (my case) - you can try to add path to the library. I found my "so" files in "...Studio\21.0\binlinux64". So way to add is:
Options- Language - Delphi - Library - select "Linux Platform" - Library path - add "$(BDS)\binlinux64"

Related

Cannot create a C++ project in Unreal Engine 4

Whenever I try to create a C++ project in Unreal Engine 4, it throws me this error:
An error occurred while trying to generate project files.
Running C:/Program Files/Epic Games/UE_4.25/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Zahin/Documents/Unreal Projects/TestC/TestC.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
While compiling C:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.dll:
error CS0042: Unexpected error creating debug information file 'c:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.PDB' -- 'c:\Program Files\Epic Games\UE_4.25\Engine\Intermediate\Build\BuildRules\UE4Rules.pdb: Access is denied.
ERROR: Unable to compile source files.
It works perfectly fine with Blueprint mode, but I need to open in C++. Please help.
Start/Execute Unreal as Administrator. It should solve the problem.
Try to install:
Win64:
https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.18-windows-x64-installer
Win32:
https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-3.1.18-windows-x86-installer
It helped me to solve the problem.

Visual Studio 2019 connection problem to NuGet

I reinstalled (clean) Visual Studio 2019 (Microsoft Visual Studio Community 2019 Version 16.8.5) and I get error when I try to clean solution, it complains about connection to https://api.nuget.org/v3/index.json.
When I copy paste the link to web browser I see all the packages but VS cannot reach any package.
When I rebuild I get all this error: 'obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
Then I do from NuGet Console > dotnet restore and I get error:
PM> dotnet restore
Determining projects to restore...
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:\Program Files (x86)\Microsoft V
isual Studio\2019\Community\MyProjects2019\source\repos\Bank\Bank.sln]
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error : The SSL connection could not be established, see inner exception. [C:\Program Files (x86)\Microsoft Visual Studio\
2019\Community\MyProjects2019\source\repos\Bank\Bank.sln]
C:\Program Files\dotnet\sdk\5.0.103\NuGet.targets(131,5): error : The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot [C:\Program Files (x86
)\Microsoft Visual Studio\2019\Community\MyProjects2019\source\repos\Bank\Bank.sln]
PM>
I have been trying for 4 days to resolve this problem without success, any help, any tips.
Thanks

Eclipse gives the error of JNI shared library

Eclipse is unable to open, I installed a fresh copy of jre7 and eclipse but it did not work. First it gives the error message "cannot find virtual machine", so I write path of bin in eclipse.ini file. but now it gives the error message "Failed to load the jni shared library C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll".
how can i fix this problem? I have a 64 bit os. The jre and eclipse are also of 64 bit. so what is the problem?

Use CPAN BerkeleyDB module on Windows 7 (64 bit)

I have been trying to install the BerkeleyDB CPAN module on my Windows 7 (x86_64) PC without any luck (BerkeleyDB::Hash is what I need). I have 64 bit ActivePerl and Oracle Berkeley DB 11gR2 5.3.15 installed. First I tried installing using the command :
*cpan install BerkeleyDB*
This came back with the error:
*It looks like the installation of dmake and MinGW has failed. You will not be
able to run Makefile commands or compile C extension code. Please check your
internet connection and your proxy settings!*
So I installed Microsoft Windows SDK for Windows 7 and .NET Framework 4.
Then I installed cpanm
*cpan App::cpanminus*
And when I tried running:
*cpanm BerkeleyDB*
I got the error:
*Note (probably harmless): No library found for -llibdb
Note (probably harmless): No library found for bufferoverflowU.lib*
So I edited the config.in file and changed the lib and include paths to:
*INCLUDE = C:\PROGRA~2\Oracle\BERKEL~1.15\include
LIB = C:\PROGRA~2\Oracle\BERKEL~1.15\lib*
Now when I ran perl makefile.pl, the warning about -llibdb went away.
When I tried running:
*nmake*
I got errors:
*Creating library blib\arch\auto\BerkeleyDB\BerkeleyDB.lib and object blib\arc
h\auto\BerkeleyDB\BerkeleyDB.exp
BerkeleyDB.obj : error LNK2001: unresolved external symbol __heap_exist
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_version
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_strerror
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_env_create
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_create
BerkeleyDB.obj : error LNK2001: unresolved external symbol db_sequence_create
blib\arch\auto\BerkeleyDB\BerkeleyDB.dll : fatal error LNK1120: 6 unresolved ext
ernals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\Bin\amd64\link.EXE"' : return code '0x460'
Stop.*
I've nearly lost all hope of ever building this module successfully on my PC. Has anyone been lucky with this?
Many thanks,
SN
All following claims untested/unverified. Competent advice is available from #win32 on MagNET <irc://irc.perl.org/win32> (Web chat).
libdb needs patching for 64-bit. Installing a whole new compiler toolchain before installing the dependent library and its headers made the problem worse. If you continue to have problems linking after applying the patch, uninstall the MS tools and try again with MinGW.

Eclipse cygwin error - make: *** No rule to make target `all'. Stop

From today afternoon I am trying to setup C/C++(cygwin gcc/g++) compiler for Eclipse Helios in Windows 7 inorder to run OpenGL applications in Eclipse(I have already configured Visual Studio 2008 for running OpenGL applications and programs are also running in it), but I'm unable to run a small C program successfully in Eclipse. Till now I have added gcc/g++ include files and some library files in project properties under C/C++ general->paths and symbols
They are:
Includes
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include,
C:\cygwin\usr\include,
C:\cygwin\usr\include\w32api,
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\backward
Libraries
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\GlU32.Lib,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\glut32.Lib,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\opengl32.Lib
Library path
C:\cygwin\lib\w32api
After including all these and with successfully building the program, I'm unable to run the program, which gives me an error
"make: * No rule to make target
`all'. Stop."
How should i solve this problem?