Git Product home page Git Product logo

Comments (4)

ying32 avatar ying32 commented on August 19, 2024

The information you give is not of any reference value.

from liblcl.

RyanCode avatar RyanCode commented on August 19, 2024

有一个很重要的问题,我使用64位linux的liblcl编译后,在其他不同内核平台、架构一样的机器上不能运行,会有许多的依赖冲突,请问liblcl是否可以静态编译?

from liblcl.

RyanCode avatar RyanCode commented on August 19, 2024

而且在linux平台很容易崩溃

Pango:ERROR:/build/buildd/pango1.0-1.30.0/./pango/pango-layout.c:3801:pango_layout_check_lines: assertion failed: (!layout->log_attrs)
SIGABRT: abort
PC=0x7f1dc5414445 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x8b4cf0, 0xc00010b880)
	/ryan/go/src/runtime/cgocall.go:157 +0x5c fp=0xc00010b858 sp=0xc00010b820 pc=0x40a91c
github.com/ying32/dylib._Cfunc_Syscall3(0x7f1d9b296e00, 0x7f1d9b296e80, 0x1, 0x7f1dc61478f0)
	_cgo_gotypes.go:195 +0x4d fp=0xc00010b880 sp=0xc00010b858 pc=0x79dc6d
github.com/ying32/dylib.(*LazyProc).CallOriginal.func4(0x79fee0?, {0xc00010b9b8?, 0xc000156f50?, 0xc00010b8d8?})
	/root/go/pkg/mod/github.com/ying32/[email protected]/dylib_posix.go:282 +0xe5 fp=0xc00010b8d8 sp=0xc00010b880 pc=0x7a1d85
github.com/ying32/dylib.(*LazyProc).CallOriginal(0xc000126c60, {0xc00010b9b8, 0x3, 0x3})
	/root/go/pkg/mod/github.com/ying32/[email protected]/dylib_posix.go:282 +0xd5 fp=0xc00010b950 sp=0xc00010b8d8 pc=0x7a0095
github.com/ying32/dylib.(*LazyDLL).call(0xc0000bcec0, 0xc000126db0, {0xc00010bd30?, 0x1, 0x1?})
	/root/go/pkg/mod/github.com/ying32/[email protected]/dylib_posix.go:199 +0x115 fp=0xc00010bd00 sp=0xc00010b950 pc=0x79f175
github.com/ying32/dylib.(*LazyProc).Call(...)
	/root/go/pkg/mod/github.com/ying32/[email protected]/dylib_posix.go:264
github.com/ying32/govcl/vcl/api.Application_Run(0x7f1dc61478f0?)
	/root/go/pkg/mod/github.com/ying32/[email protected]+incompatible/vcl/api/applicationdef.go:28 +0x65 fp=0xc00010bd50 sp=0xc00010bd00 pc=0x7a2305
github.com/ying32/govcl/vcl.(*TApplication).Run(...)
	/root/go/pkg/mod/github.com/ying32/[email protected]+incompatible/vcl/applicationdef.go:91
git.longersec.com/pgwagent/ui.Run()
	/ryan/pgw_agent/ui/run.go:19 +0x99 fp=0xc00010bd90 sp=0xc00010bd50 pc=0x8aa9f9
main.main()
	/ryan/pgw_agent/cmd/pgw_agent/main.go:105 +0x78a fp=0xc00010bf80 sp=0xc00010bd90 pc=0x8b352a

from liblcl.

ying32 avatar ying32 commented on August 19, 2024

1、无法使用静态编译,有的话我早就提供了。linux版本太多,如果可能最好在自己需求的那个版本上重新编译liblcl,不过目前以ubuntu为基础的应该是没问题的。
2、这种情况之前没听有反馈过,而且我也不知道你里面怎么写的。比如线程中操作ui没用文档中提到的方式就会容易崩溃,其他的暂未知。也可以自己编译dev分支的liblcl和使用dev分支的govcl看看。

from liblcl.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.