代码分析:Lightspark

Lightspark是一款开源的Flash播放器,支持ActionScript 3并采用JIT编译技术将ActionScript编译为x86字节码。此外,它还利用OpenGL Shaders实现硬件加速渲染,提供了一个全新的、多线程优化的代码库。
[b]Lightspark:[/b]
Open Source Flash Player

[b]feature:[/b]
[list]
[*]JIT compilation of ActionScript to native x86 bytecode using LLVM
[*]Hardware accelerated rendering using OpenGL Shaders (GLSL)
[*]Very good and robust support for current-generation ActionScript 3
A new, clean, codebase exploiting multithreading and optimized for
modern hardware. Designed from scratch after the official Flash
documentation was released.
[/list]

[b]官网:[/b]
[url]http://lightspark.sourceforge.net/[/url]

[b]论文:[/b]
对虚拟机感兴趣的,作者的论文一定要好好读读,写的非常精彩
[url]http://lightspark.sourceforge.net/lightspark-thesys.pdf[/url]

[b]TODO:[/b]
LLVM一点都不了解,汗!
所以只简要分析了解释执行部分,待看完LLVM相关资料,再补上
# 显式查找 PCL 及其特定模块 find_package(PCL 1.14.1 REQUIRED COMPONENTS common io) include_directories(${PCL_INCLUDE_DIRS}) link_directories(${PCL_LIBRARY_DIRS}) add_definitions(${PCL_DEFINITIONS}) add_executable(pcl_version_check pcl_version_check.cpp) target_link_libraries(pcl_version_check ${PCL_LIBRARIES}) D:\QT_project\untitled1\CMakeLists.txt:56: error: Call stack: D:/QT_project/untitled1/CMakeLists.txt:56 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:294 (find_boost) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:121 (find_package) D:/QT_project/untitled1/CMakeLists.txt:56 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:294 (find_boost) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:121 (find_package) D:/QT_project/untitled1/CMakeLists.txt:56 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:294 (find_boost) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:121 (find_package) D:/QT_project/untitled1/CMakeLists.txt:62 (add_executable) :-1: error: The command "D:\QT\Tools\CMake_64\bin\cmake.exe -S D:/QT_project/untitled1 -B D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug" terminated with exit code 1. :-1: error: CMake returned error code: 1
07-11
find_package(PCL 1.14.1 REQUIRED) if (WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE NOMINMAX) endif() target_link_libraries(${PROJECT_NAME} PRIVATE ${PCL_LIBRARIES}) D:\QT_project\untitled1\CMakeLists.txt:51: warning: Call stack: D:/QT_project/untitled1/CMakeLists.txt:51 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:556 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:300 (find_qhull) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:155 (find_package) D:/QT_project/untitled1/CMakeLists.txt:51 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:294 (find_boost) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:121 (find_package) D:/QT_project/untitled1/CMakeLists.txt:51 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:298 (find_flann) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:253 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/Modules/FindFLANN.cmake:45 (find_package) D:/QT_project/untitled1/CMakeLists.txt:51 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:294 (find_boost) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:121 (find_package) D:/QT_project/untitled1/CMakeLists.txt:51 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:559 (find_external_library) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:294 (find_boost) D:/LightSpark/QT__/PCL1.14.1/cmake/PCLConfig.cmake:121 (find_package) D:/QT_project/untitled1/build/Desktop_Qt_6_8_3_MSVC2022_64bit-Debug/.qtc/package-manager/maintenance_tool_provider.cmake:322 (find_package)
最新发布
07-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值