|
2021-03-10
| ||
| 13:20 | • Closed ticket [5eaea7929e]: Tcl trunk on macOS plus 7 other changes artifact: 3fc38db3e1 user: jan.nijtmans | |
| 12:53 | • New ticket [5eaea7929e]. artifact: e396bf94a8 user: sl1200mk2 | |
Tcl trunk on macOS
Closed / Invalid5eaea7929e16c6535d7c2ff0f86fb633042b789fCreated 6 years agoUpdated 6 years ago
Descriptionplain2021-03-10 12:53:40
Hi,
maybe I do it wrong... but I do as usual.
trying to use/compile Tcl9 on macOS, I do:
make -C macosx deploy CFLAGS="-O2 -mmacosx-version-min=10.14"
sudo make -C macosx install-deploy
compile is fine.
when trying to link my app against Tcl.framework I got:
"_Tcl_Close", referenced from:
_CFunc_Export_ASCII in Ascii.c.o
"_Tcl_GetStringResult", referenced from:
_DebugInterp in function.c.o
"_Tcl_NewIntObj", referenced from:
_ASC_SetUp_Process in Ascii.c.o
_EditAutoSeqCommand in AutoSeq.c.o
_postUpdateSampleCommand in AutoSeq.c.o
_postCropSampleCommand in AutoSeq.c.o
_specialDOUCsyncCallbackCommand in Circuit.c.o
_mainCanvasFullUpdate in Circuit.c.o
_postDeviceMergingCommand in Fixture.c.o
...
"_Tcl_NewLongObj", referenced from:
_definitionProperties4ThisParameter4DeviceCommand in FixtureSniffer.c.o
ld: symbol(s) not found for architecture x86_64
isn't there something wrong here?
++
nicolas
jan.nijtmanswiki2021-03-10 13:20:35
You need to compile you application using the "tcl.h" from Tcl 9.0, not the "tcl.h" from Tcl 8.x. These missing symbols tell me that you compiled your applications with the wrong "tcl.h" header file. Tcl 9.0 is binary incompatible with Tcl 8.x, so you need to re-compile your application.
Hope this helps, Jan Nijtmans
Log in (anonymous is fine) to add a comment.