Jump to content

Recommended Posts

Posted

I installed unigui in RadStudio 2007 following the web site's instructions. I create an empty unigui application in Delphi 2007, I pressed the F9 key and it worked correctly. Then I create an empty unigui application in C ++ Builder 2007, I press the F9 key and it throws me the following error:

 

[iLINK32 Error] Error: Unresolved external '__fastcall Uniguiregclasses::CPPInit()' referenced from C:\USERS\LUCAS\DOCUMENTS\RAD STUDIO\PROJECTS\PROJECT1\DEBUG\MAIN.OBJ

 

 

Any idea ?

Posted

uniGUI.pdf:
After starting a new C++ project you must disable Linker->Dynamic RTL.
Currently building with Run Time Packages doesn't work properly. You must statically link all
libs and create a single EXE. (Simply unselect Build with runtime packages option.)

  • Upvote 1
  • 4 months later...
Posted

in the main cpp file (the one with the name of the project)

 


#include <UniGUIVars.hpp>//<---------THIS
#include <vcl.h>

USEFORM("MainModule.cpp", UniMainModule); /* TUniGUIMainModule: File Type */
USEFORM("ServerModule.cpp", UniServerModule); /* TUniGUIServerModule: File Type */
USEFORM("Main.cpp", MainForm); /* TUniForm: File Type */
//---------------------------------------------------------------------------
#pragma link "UniGUIVars.obj" //<---------THIS
#pragma TestProject

//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
  • 1 month later...
Posted

Hi,

 

I am having a similar problem in that I cannot compile a blank C++ unigui app. I am getting a multitude of errors but it seems to stem from the fact that the .hpp files uniGUIMainModule.hpp, uniGUIServer.hpp and uniGUIForm.hpp cannot be located, it seems to stem from uniGUIVars.hpp.

 

I am using the latest trial version 1.0.0.1417 for RAD Studio Berlin 10.1

  • Administrators
Posted

Hi,

 

I am having a similar problem in that I cannot compile a blank C++ unigui app. I am getting a multitude of errors but it seems to stem from the fact that the .hpp files uniGUIMainModule.hpp, uniGUIServer.hpp and uniGUIForm.hpp cannot be located, it seems to stem from uniGUIVars.hpp.

 

I am using the latest trial version 1.0.0.1417 for RAD Studio Berlin 10.1

 

You must make sure you have built all uniGUI packages with C++ export options turned ON.

Please see installation instructions.

Posted

I made sure to Generate all C++ Builder Files before building but still having the same problem.

 

I have resorted to using 10.2 Tokyo instead and it is working fine.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...