cl

Installing PyCLIPS based on CLIPS 6.30 for Windows Python 2.7 32 bit

ε祈祈猫儿з 提交于 2020-01-23 17:19:48
问题 I learned that there is a version of PyCLIPS based on CLIPS version 6.30. The same (or similar) PyCLIPS version can also be installed via pip, see here. On Linux, both approaches work fine, i.e. installing via git clone + setup.py, or via pip. On Windows, it worked only with cygwin 64bit. pip install pyclips failed (I suppose due to the missing '-DWIN_MVC' flag, see step 7 below). However, I would like to have a PyCLIPS based on CLIPS 6.30 on a 'regular' Windows python, to be precise Python2

How can I run cl using x64?

限于喜欢 提交于 2019-12-25 07:59:25
问题 I had the same problem as here fatal error C1034: windows.h: no include path set I typed vcvars32.bat and that solved my problem but I want to link some 64-bit .lib files and when I do: cl main.cpp xxxlib.lib I get: warning LNK4272: library machine type 'x64' conflict with target machine type 'x86' Is it because I use the vcvars32.bat is 32 bits? Where can I find the 64 bit version? Thanks 回答1: In order to make sure you have the proper environment variables set, the simplest way is to launch

cl.exe error D8003 (missing source filename) when building a Sqlite module

ⅰ亾dé卋堺 提交于 2019-12-24 15:16:51
问题 I downloaded and unziped https://sqlite.org/2016/sqlite-src-3110100.zip. Then when trying to build as a DLL the extension spellfix (it works on Linux though) with: call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" cd sqlite-src-3110100 cl /I"src\" ext\misc\spellfix.c /link I get: cl : Command line error D8003 : missing source filename Why? 回答1: You should try: cl /I <path to sqlite amalgation> <path-to-spellfix.c> /link /DLL /OUT:spellfix.dll 来源: https:/

Use 64 bit compiler in Visual Studio

核能气质少年 提交于 2019-12-21 03:50:48
问题 I use Visual Studio 2017. In a project (that I target as x64), I get error : C1060, compiler is out of heap space, and sadly learned there happen to exist a memory limitation for compilation. When monitoring CL.exe, it indeed stop just before reaching 4GB. So it looks like CL.exe is by default a 32bits application, as seen at : https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line After reading this page, I installed "Universal Windows

How to build Apache WebSocket module?

岁酱吖の 提交于 2019-12-11 04:36:13
问题 I was trying for many hours to solve this. I have found Apache-WebSocket from Disconnect and decided to try this out. The description recommends Scons. However, to be able to use Scons, I need Python as well. I installed the newest 3.x+ Python, but when I installed Scons as well and tried to build the module, it told me that Python 3.x+ is not supported yet. Ok, I uninstalled both Scons and Python, then installed Python 2.7.7. After I have done that, I faced further difficulties, since Python

How do I force cmake to use cl.exe without full path?

落花浮王杯 提交于 2019-12-10 10:23:07
问题 I am building an open source project (kst, v2.0.8) that uses CMake. I am using CMake v2.8.12.2 and MSVC 2008 as a compiler and am generating NMake makefiles to build it on the command line. I can get it to build successfully with this setup. These versions are mandated so I cannot currently use a later version of CMake or MSVC. I need to be able to perform a source code analysis of kst using HP's Fortify and to be able to use it from the command line it works in one of two ways: Touchless

Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release

家住魔仙堡 提交于 2019-12-10 00:45:55
问题 I am getting the warning message "cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release" while building my project with Visual Studio 2017 latest update 15.9.2. How to resolve this warning? 回答1: Try selecting <inherit from parent or project defaults> for the Enable Minimal Rebuild option (under C/C++ > Code Generation ). After this, the option should show No (/Gm-) , not in bold. Make sure you do this for your project(s) (you could have

CLozure CL 多线程函数使用实例

大城市里の小女人 提交于 2019-12-07 12:52:57
CLozure CL 多线程函数使用实例 一、简单介绍 Common Lisp 的标准没有对多线程的描述,因此各种 CL 实现都给出了自己的多线程功能函数,具体细节有所不同,这里大致讲解一下 Clozure CL 的多线程函数的简单用法(参照 CCL 的描述文档中多线程部分 第7章 Programming with threads)。 我在阅读CCL文档时被搞晕了,发现找不到线程对象作为参数的正确写法,后来经过 cn-lisp 的朋友指点,才发现不存在所谓的正确写法,只能把线程对象绑定到全局变量上使用,估计有人在学习 CCL 的多线程时会遇到类似的问题,所以这里把我的一点学习体会记录下来,希望能对其他初学者有所助益,帮助其他人少走些弯路。 二、CCL 线程函数基本知识 1、首先介绍几个线程相关的全局变量: 【全局变量】当前线程:*current-process* 在 ccl 中执行如下: Welcome to Clozure Common Lisp Version 1.8-store-r15418 (DarwinX8664)! ? ? *current-process* #<COCOA-LISTENER-PROCESS Listener(15) [Active] #x30200108839D> ? 其中 #< . . . > 是线程对象的表示方式,第一列表示线程类型

Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release

一世执手 提交于 2019-12-04 22:34:25
I am getting the warning message "cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release" while building my project with Visual Studio 2017 latest update 15.9.2. How to resolve this warning? Try selecting <inherit from parent or project defaults> for the Enable Minimal Rebuild option (under C/C++ > Code Generation ). After this, the option should show No (/Gm-) , not in bold. Make sure you do this for your project(s) (you could have several projects in the solution), and all property pages they inherit from. I had the same problem using Visual

Use 64 bit compiler in Visual Studio

孤街浪徒 提交于 2019-12-03 11:32:21
I use Visual Studio 2017. In a project (that I target as x64), I get error : C1060, compiler is out of heap space, and sadly learned there happen to exist a memory limitation for compilation. When monitoring CL.exe, it indeed stop just before reaching 4GB. So it looks like CL.exe is by default a 32bits application, as seen at : https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line After reading this page, I installed "Universal Windows Platform workload" hoping to get access to a 64 bit version of CL.exe. But no change when compiling my