Error loading lrx file V25
I'm in the process of upgrading to V25 from V23.
Ubuntu 24.04 Desktop
BricsCAD V25 Trial version
Compiled the InPower application lrx file no problem
getting an "Error loading" lrx file
undefined symbol _ZN10AcDbObject8copyFromEPK10AcRxObject
lrx loading failed
Will the trial version load and run the lrx?
Comments
-
you compiled it with the correct (V25) SDK?
0 -
Yes, BRXSDK_Bcad_V25_2_02.zip
0 -
Okay, I got the lrx to load without errors after recompiling. Apparently libraries have moved around to here.
/opt/bricsys/bricscad/v25/
0 -
Now I have a crash when I run the application. Seems I've run into this before due to memory models.
Compiler options copied from Code Blocks V23
-mcmodel=large
-O0
-fcommon
-std=c++0x
-frtti
-fno-signed-zeros
-fvisibility=default
-Wno-sign-compare
-Wno-sign-conversion
-Wno-empty-body
-Wno-reorder
-Wno-parentheses
-Wno-switch
-Wno-unused-parameter
-Wno-unused-function
-Wno-unused-variable
-Wno-unused-label
-Wno-unknown-pragmas
-Wno-comment
-Wno-strict-aliasing
-Wno-unused-but-set-variable
-Wno-unused-value
-Wno-attributes--------------- 18-08-2025 05:50:32 --------------- v25.2.07.0 ---------------
Linux version 6.14.0-27-generic (buildd@lcy02-amd64-120) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #27~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 17:38:49 UTC 2Illegal access: Address not mapped to object on address (nil)
Call stack (current) (main):
/opt/bricsys/bricscad/v25/libbcutils.so(+0xeb4ba)[0x7d4cbbeeb4ba]
/lib/x86_64-linux-gnu/libc.so.6(+0x45330)[0x7d4cbb645330]
/lib/x86_64-linux-gnu/libc.so.6(_IO_fwrite+0x31)[0x7d4cbb686971]
/lib/libinpower.so(printfFaultStruct+0x6e)[0x7d4a7dc5712d]
/lib/libinpower.so(InpPrintReport+0x55)[0x7d4a7dc5b826]
/lib/libinpower.so(inpower+0x21654)[0x7d4a7dc8d6cd]
/usr/lib/inpower.lrx(_ZN10CSampleApp15BrxSampleINP3PHEv+0x150)[0x7d4b1b0370d3]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca10DrxCommand7executeEP18OdEdCommandContext+0x86)[0x7d4cc0fa23d6]
/opt/bricsys/bricscad/v25/libTD_Root.so(_ZN20OdEdCommandStackImpl14executeCommandEP11OdEdCommandP18OdEdCommandContext+0x88)[0x7d4cc7141828]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor11execCommandEP11OdEdCommandRbb+0x99d)[0x7d4cc0d2475d]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor7execStrER8OdStringbP11OdEdCommandbbPNS_5AliasE+0x6cb)[0x7d4cc0d2895b]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor13processStringERK8OdStringb+0x226)[0x7d4cc0d29746]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor18processNextCmdItemEi+0x223)[0x7d4cc0d2b4c3]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor11processIdleEv+0x112)[0x7d4cc0d2b652]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor4mainEv+0x28)[0x7d4cc0d31e88]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor5startEv+0x39)[0x7d4cc0d2c429]
/opt/bricsys/bricscad/v25/libcadapp.so(_ZN2ca16CommandProcessor16mainWorkFlowProcEPv+0x15)[0x7d4cc0d2c475]
/opt/bricsys/bricscad/v25/libpth.so.20(+0xa341)[0x7d4cb8ca4341]
/lib/x86_64-linux-gnu/libc.so.6(+0x5ef80)[0x7d4cbb65ef80]0 -
All error are gone, just a missing file on my new build.
lrx loading fine, compiled with no problems.
1