草庐IT

EntryPoint

全部标签

c++ - FXC : error X3501: 'main' : entrypoint not found

我正在阅读一本名为:Introductionto3DGameProgrammingwithDirectX11都是用VS2010写的。我想尝试使用VS2013...这是Windows桌面程序的示例项目我有一个包含以下内容的程序(包括一些其他常用文件):color.fx//***************************************************************************************//color.fxbyFrankLuna(C)2011AllRightsReserved.////Transformsandcolorsgeome

windows - 在 Windows : Entrypoint script "no such file or directory" 上构建 Docker 镜像

我在这上面浪费了两天,直到我终于弄清楚我的问题,所以我想我应该分享一下。我将概述我在这里遇到的问题,然后在答案中概述解决方案。我的Dockerfile看起来像这样,FROMphp:7.2-fpmCOPYcustom-docker-php-entrypoint/usr/local/bin/ENTRYPOINT["custom-docker-php-entrypoint"]我在同一目录中有一个文件custom-docker-php-entrypont。#!/bin/shset-e#firstargis`-f`or`--some-option`if["${1#-}"!="$1"];thens

c# - 使用 DlImport、Entrypoint 从 C# 调用命名空间中的 C++ 函数

我已经阅读了几个与我相关的问题,但没有一个对我有用。我需要从非托管DLL调用函数。我在SysWow64中有DLL的32位版本,在system32中有64位版本。无论如何,我正在为x86编译。我没有DLL的源代码,因此无法使用extern"C"重新编译。DLL包含文件的相关部分:(...)#includenamespaceSomeNamespace{(...)typedefstd::wstringSTRING;(...)classSomeClass{(...)staticboolSomeFunc(constSTRING&p1,boolp2);(...)}}调用SomeFunc时出现异常:

mongodb - 错误 : exec: "/usr/local/bin/docker-entrypoint.sh": stat/usr/local/bin/docker-entrypoint. sh:权限被拒绝

当我运行时:dockerrun--namemongodb-p27107:27107mongo--noauth--bind_ip=0.0.0.0我总是得到这个错误:error:exec:"/usr/local/bin/docker-entrypoint.sh":stat/usr/local/bin/docker-entrypoint.sh:permissiondenied容器退出(1)我需要它来运行以便我可以将我的其他docker图像链接到它我已经在多个网站上搜索过这个问题的解决方案,但我没有找到任何东西。感谢您的帮助! 最佳答案 尝

mongodb - 与 dockerfile 中的 CMD 和 ENTRYPOINT 混淆

我知道在dockerfile中,当同时提供了ENTRYPOINT和CMD时,CMD中的值将作为ENTRYPOINT的默认参数,那么在运行带有附加参数的容器时,附加参数将替换CMD中的值docker文件。但是当我看到mongodb的dockerfile时,我就懵了,它的dockerfile的entrypoint和cmd部分:ENTRYPOINT["docker-entrypoint.sh"]EXPOSE27017CMD["mongod"]我知道当我运行dockerrunmongo:latest这将是docker-entrypoint.shmongod,但是当我运行dockerrunmon

python - 使用 Google Compute Engine 时,“EntryPoint”对象没有属性 'resolve'

我有一个与Python中的密码学包相关的问题。如果可能的话,你能帮忙解决这些问题吗?(尝试了很多,但无法找出确切的解决方案)引发此错误的python代码:print("Salt:%s"%salt)server_key=pyelliptic.ECC(curve="prime256v1")#----->>Line2print("Server_key:%s"%server_key)#----->>Line3server_key_id=base64.urlsafe_b64encode(server_key.get_pubkey()[1:])http_ece.keys[server_key_id

python - 为什么我在安装时不断收到此消息说 EntryPoint must be in 'name=module :attrs [extras]

您好,我在OSxMavericks上,使用python2.7和pip6.0.8版以及setuptools12.2版。当我尝试安装我的项目时,我收到警告消息但安装成功$pythonsetup.pyinstall--user如果我使用distutils,我会收到以下消息,它的设置可能没有kwargentry_points。/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267:UserWarning:未知分发选项:'entry_points'警告。警告(消息)但是当我尝试通过

postgresql - Docker PostgreSQL-/docker-entrypoint-initdb.d 中的脚本不运行

所以,我有一个具有这种结构的docker-compose项目:DockerDev-docker-compose.yaml-d-php-Dockerfile-scripts-apache-d-postgresql-Dockerfile-scripts-dev_data_setup.sql-logs-pgdata-wwwPHP、Redis、ElasticSearch都可以。但是Postgresql没有运行dev_data_setup.sql,我发现/dockes-entrypoint-initdb.d有任何不同的解决方案(卷、添加、复制等)。我试图运行和sh脚本,什么都没有。你能看到这个d

postgresql - Docker PostgreSQL-/docker-entrypoint-initdb.d 中的脚本不运行

所以,我有一个具有这种结构的docker-compose项目:DockerDev-docker-compose.yaml-d-php-Dockerfile-scripts-apache-d-postgresql-Dockerfile-scripts-dev_data_setup.sql-logs-pgdata-wwwPHP、Redis、ElasticSearch都可以。但是Postgresql没有运行dev_data_setup.sql,我发现/dockes-entrypoint-initdb.d有任何不同的解决方案(卷、添加、复制等)。我试图运行和sh脚本,什么都没有。你能看到这个d

docker - 在 docker 容器中获取错误 "/usr/local/bin/docker-entrypoint.sh: 16: exec: redis-server --port 6000: not found"

我正在使用dockercompose启动一个docker容器并传递我希望它使用的端口。但是启动redis的命令不起作用,并说找不到:/usr/local/bin/docker-entrypoint.sh:16:exec:redis-server--port6000:notfounddocker-composeversion:'2.1'services:redis:image:redisports:-${Ports_Exposed_Redis}:${Ports_Exposed_Redis}command:-redis-server--port${Ports_Exposed_Redis}我