Giter Site home page Giter Site logo

louis-tru / quark Goto Github PK

View Code? Open in Web Editor NEW
94.0 94.0 15.0 228.93 MB

A GUI typesetting display engine and cross platform GUI application development framework based on NodeJS/OpenGL

License: Other

Makefile 0.09% C++ 26.87% Java 0.32% Python 0.45% C 60.99% Objective-C++ 1.28% JavaScript 9.14% GLSL 0.14% Objective-C 0.06% CMake 0.08% HTML 0.11% Shell 0.10% Perl 0.28% TypeScript 0.07% Rust 0.02%

quark's People

Contributors

louis-tru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quark's Issues

What is the minimum requirement for nodejs?

我ngui 初始化,一运行,mac构建成功,但是无法打开演示应用

Inspector support is not available with this Node.js build
node: bad option: --inspect=0.0.0.0:9229

ftrp export xx 项目无法正常生成

image
gyp: Unable to find targets in build file demo.gyp
Error: Command failed: GYP_GENERATORS=xcode /Users/farmer/Documents/Code/Laboratory/ftr/out/ftrp/gyp/gyp -f xcode --generator-output="/Users/farmer/Documents/Code/Laboratory/demo/Project/ios" -Goutput_dir="out" -Gstandalone -Iout/_var.gypi -I../ftr/out/ftrp/product/ftr.gypi demo.gyp --depth=.
gyp: Unable to find targets in build file demo.gyp
大神,请看看什么情况

ERROR:dlopen failed: cannot locate symbol "fread_unlocked"

用最新的 ftrp生成的 android 项目报错

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: org.ftr.examples, PID: 8373
    java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "fread_unlocked" referenced by "/data/app/org.ftr.examples-1/base.apk!/lib/arm64-v8a/libftr-js.so"...

image

init 就报错

我没有使用npm安装,因为npm太慢了,使用的yarn全局安装,但是安装好了执行ngui init报如下错误

fs.js:953
binding.stat(pathModule._makeLong(path));
^

Error: ENOENT: no such file or directory, stat '/Users/Stone/.config/yarn/global/node_modules/ngui-tools/product/node_modules/ngui'
at Object.fs.statSync (fs.js:953:11)
at Object.exports.cp_sync (/Users/Stone/.config/yarn/global/node_modules/ngui-tools/fs.js:470:17)
at /Users/Stone/.config/yarn/global/node_modules/ngui-tools/build.js:682:14
at Array.forEach (native)
at constructor.initialize (/Users/Stone/.config/yarn/global/node_modules/ngui-tools/build.js:679:23)
at Object. (/Users/Stone/.config/yarn/global/node_modules/ngui-tools/bin/shell.js:51:9)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)

手机淘宝Weex内核开发欢迎你的加入。

你好,我是手机淘宝Weex内核开发谷宝剑,我们正努力打造世界一流的跨平台UI开发框架,对您开发的NGUI系统非常感兴趣,希望您能加入我们团队。我的微信:18072871207

Error: Cannot find module

ftrp export ios 导出项目运行闪退
err

Error: Cannot find module 'http://192.168.31.88:1026/demo_8/'
    at throw_MODULE_NOT_FOUND (_pkg:103:15)
    at PackageIMPL.resolveRelative (_pkg:891:9)
    at resolveFilename (_pkg:538:30)
    at Function._load (_pkg:362:42)
    at startup (_pkg:413:24)
    at <anonymous>

image

Fatal error in ../../ftr/platforms/ios-ime-helper.mm, line 274, func -[IOSIMEHelprt insertText:]

ios demo, 在textarea里键入单引号

#
# Fatal error in ../../ftr/platforms/ios-ime-helper.mm, line 274, func -[IOSIMEHelprt insertText:]
# 


==== C stack trace ===============================

 1: ftr::fatal(char const*, unsigned int, char const*, char const*, ...) (.cold.1)
 2: ftr::fatal(char const*, unsigned int, char const*, char const*, ...)
 3: -[IOSIMEHelprt insertText:]
 4: -[UIKeyboardImpl insertText:updateInputSource:]
 5: -[UIKeyboardImplAccessibility insertText:]
 6: -[UIKeyboardImpl _performKeyboardOutput:shouldCheckDelegate:]
 7: -[UIKeyboardImplAccessibility _performKeyboardOutput:shouldCheckDelegate:]
 8: -[UIKeyboardImpl performKeyboardOutput:]
 9: __55-[UIKeyboardImpl handleKeyboardInput:executionContext:]_block_invoke_2
10: -[UIKeyboardTaskEntry execute:]
11: -[UIKeyboardTaskQueue continueExecutionOnMainThread]
12: __NSThreadPerformPerform
13: __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
14: __CFRunLoopDoSource0
15: __CFRunLoopDoSources0
16: __CFRunLoopRun
17: CFRunLoopRunSpecific
18: GSEventRunModal
19: -[UIApplication _run]
20: UIApplicationMain
21: main
22: start

image

touch事件为什么获取不到GUITouch对象

class DefaultToolbar extends Toolbar {
	render() {
		return super.render(
			<Hybrid textAlign="center" width="full" height="full" onTouchMove= { test }>
				<Button onClick={review_code}>
					<Text class="toolbar_btn" value={"\ue9ab"} />
				</Button>
			</Hybrid>
		);
	}
}


function test( evt: GUITouchEvent) {
  console.log(evt)
}

image

make xcode 报错

Traceback (most recent call last):
  File "./libs/ftrp/gyp/gyp_main.py", line 16, in <module>
    sys.exit(gyp.script_main())
  File "./libs/ftrp/gyp/pylib/gyp/__init__.py", line 552, in script_main
    return main(sys.argv[1:])
  File "./libs/ftrp/gyp/pylib/gyp/__init__.py", line 545, in main
    return gyp_main(args)
  File "./libs/ftrp/gyp/pylib/gyp/__init__.py", line 530, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "./libs/ftrp/gyp/pylib/gyp/generator/xcode.py", line 1265, in GenerateOutput
    xct.FrameworksPhase().AddFile(library)
  File "./libs/ftrp/gyp/pylib/gyp/xcodeproj_file.py", line 1887, in AddFile
    self.AppendBuildFile(pbxbuildfile, path)
  File "./libs/ftrp/gyp/pylib/gyp/xcodeproj_file.py", line 1868, in AppendBuildFile
    self._AddBuildFileToDicts(pbxbuildfile, path)
  File "./libs/ftrp/gyp/pylib/gyp/xcodeproj_file.py", line 1858, in _AddBuildFileToDicts
    xcfilelikeelement.Name())
ValueError: Found multiple build files for -lz
make[1]: *** [xcode] Error 1
make: *** [xcode] Error 2
  • make cmake-linux 也是
Traceback (most recent call last):
  File "./libs/ftrp/gyp/gyp_main.py", line 16, in <module>
    sys.exit(gyp.script_main())
  File "./libs/ftrp/gyp/pylib/gyp/__init__.py", line 552, in script_main
    return main(sys.argv[1:])
  File "./libs/ftrp/gyp/pylib/gyp/__init__.py", line 545, in main
    return gyp_main(args)
  File "./libs/ftrp/gyp/pylib/gyp/__init__.py", line 530, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "./libs/ftrp/gyp/pylib/gyp/generator/cmake.py", line 1249, in GenerateOutput
    pool.map(CallGenerateOutputForConfig, arglists)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 253, in map
    return self.map_async(func, iterable, chunksize).get()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 572, in get
    raise self._value
KeyError: 'outputs'
make[1]: *** [cmake-linux] Error 1
make: *** [cmake-linux] Error 2

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.