Cryptlex Forums

Unable to execute the c program

M
Manideep127

i have created the new product and downloaded product.dat file also i have changed the GUID details in the code. when ever i compile the code i get an error listed as follows:
Sample.cpp:(.text+0x84): undefined reference to __imp_GenerateOfflineActivationRequest' Sample.cpp:(.text+0x50): undefined reference to__imp_SetVersionGUID’
Sample.cpp:(.text+0x17): undefined reference to `__imp_SetProductFile’

please some one help me

M
Manideep127

should i use libLexActivator.a file? if so can u please specify the process

A
Adnan KamiliCryptlex team

Hi,

Please mention your compiler and command you are executing to compile. You need to give path of shared or static lib at the time of compilation

g++ -L/path/to/folder/conatining/lexactivator/file -Wall -o test main.c -llexactivator

M
Manideep127

thank you very much adnan , u have been of great help

← Back to all topics · 4 posts · 902 views · opened 2017-06-06