Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

For large values of one, one equals two, for small values of two.


devel / comp.lang.python / Re: Unable to compile my C Extension on Windows: unresolved external link errors

SubjectAuthor
o Re: Unable to compile my C Extension on Windows: unresolved externalMarco Sulla

1
Re: Unable to compile my C Extension on Windows: unresolved external link errors

<mailman.0.1636747306.15285.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=15961&group=comp.lang.python#15961

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Marco.Su...@gmail.com (Marco Sulla)
Newsgroups: comp.lang.python
Subject: Re: Unable to compile my C Extension on Windows: unresolved external
link errors
Date: Fri, 12 Nov 2021 21:01:07 +0100
Lines: 14
Message-ID: <mailman.0.1636747306.15285.python-list@python.org>
References: <CABbU2U-d0f=mD5DXxgnDr=qc=p-XsFfi83YCd=vcFEXURHJymw@mail.gmail.com>
<e8f1169e-8ea9-420b-5503-2befa5495b88@gmail.com>
<CABbU2U8Pp7KOVhzrHACVhx8ye4bx7XernrQ8GLjY+VFKv6ttHQ@mail.gmail.com>
<CAPTjJmqDPku3x_QcuV0OXcfzKEGyN+sww-JseMBwsfo-fw6OLg@mail.gmail.com>
<CABbU2U_e4BqukXXzq=97Wxiph6m4EsNpk-tHCbPi5DUMp18YMg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de ilDCV+3dh/Hfg31iBUOIaAqFSflObH2Gfr5mP2wCi41A==
Return-Path: <elbarbun@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=ntuEW9ng;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Unable': 0.03;
'url-ip:140.82/16': 0.03; 'variable': 0.05; 'windows,': 0.05;
'subject:Windows': 0.07; 'angelico': 0.09; 'cc:addr:python-list':
0.09; 'linux': 0.09; 'macos': 0.09; 'received:209.85.219': 0.09;
'url:github': 0.14; 'url-ip:140/8': 0.15; 'cc:name:python list':
0.16; 'flag.': 0.16; 'from:name:marco sulla': 0.16; 'wrote:':
0.16; 'cc:addr:python.org': 0.20; 'fri,': 0.22; 'maybe': 0.22;
'cc:2**0': 0.25; 'seems': 0.26; 'chris': 0.28; 'message-
id:@mail.gmail.com': 0.32; "i'm": 0.33; 'path': 0.33; 'header:In-
Reply-To:1': 0.34; 'received:google.com': 0.34; 'yes,': 0.35;
'from:addr:gmail.com': 0.35; 'functions': 0.36; 'really': 0.37;
'received:209.85': 0.37; 'received:209': 0.39; 'added': 0.39;
'internal': 0.63; '2021': 0.71; 'subject: \n ': 0.84;
'subject:link': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=Zq9RZHcpoKuApl0Kyn00KcqnKP4r7K2TriGhm4jbBXg=;
b=ntuEW9ng+uXB6miV0LRzQ3CloyM8ZNwHB5k9wBA6kugUfV5hxCLEDWb6+AHWZ7s1lu
frRk9YX91DrhP7igo6hkFegekOehopHgEkInlphS0sPCK7hw+4lerCeS7bNoaLBjOXHT
9QD01gAzb1tmgmDW/4s25hD3hJcKda3CxVNYxsLx/CZiAH1A609KhEoqzfh4y1tqukJ6
uMtN1OJUFQygKjYA1VpU16Lb/Z3iHZD+hbHJFi2T2TJYuRNjecI4DikhtUuLjTD9dV32
MlgfO61K4LqG9DIyERC+5T3Ow1s4V1/bt8SAhe9b+rkqmlgULeDe0Lm46viuxnROAoQo
TQ7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=Zq9RZHcpoKuApl0Kyn00KcqnKP4r7K2TriGhm4jbBXg=;
b=lbLgMRDm4CoNu4LB6A7vGRkEEkAm2efRkgxmkVYdZdQEUt2DzA+0j+VYs475p2Svv/
XdgFXBA5O9a7hS84e3cHqG/TEya9juJKUfgGgy3CLqs1rYklwESu8H081ISWfiRe2tF+
a3FLif98VIDPazkKhM47J5aOal3bMZjl/FobyMm8pHq1WKxPp4muFcSx3hBV8e5bzbEW
2D+iMksh5qJyIB+KBNsbGgLhKlwpjQ+eqnsgB4oMfwRQHSmVMPUfYgCwCdJcl+SHaALZ
Xk1CRvc4F7nX8OhKxqNZT2+pjCdRim+8TRa8kNdgbGAm5R7/FFqC1UGLN1D1LYHmbRy7
HVKw==
X-Gm-Message-State: AOAM530C+lbBianpTQt0EtFXKBDeTIz24KQWiQ358+rngDr9k70TEA3A
3U05/8p2ubT1NLoDfUM2p9P/vQfkEI3s75S9dPIVwMI4
X-Google-Smtp-Source: ABdhPJyTZcl/RtqXuxsrIojqFvE0nTfLC9hrWVKYMNt2e9wpRX075AVDXPGXbnSgw4ZVUjDHn9daFaamBwDSL/OWE4s=
X-Received: by 2002:a25:38c3:: with SMTP id f186mr19778399yba.28.1636747303963;
Fri, 12 Nov 2021 12:01:43 -0800 (PST)
In-Reply-To: <CAPTjJmqDPku3x_QcuV0OXcfzKEGyN+sww-JseMBwsfo-fw6OLg@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.36
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CABbU2U_e4BqukXXzq=97Wxiph6m4EsNpk-tHCbPi5DUMp18YMg@mail.gmail.com>
X-Mailman-Original-References: <CABbU2U-d0f=mD5DXxgnDr=qc=p-XsFfi83YCd=vcFEXURHJymw@mail.gmail.com>
<e8f1169e-8ea9-420b-5503-2befa5495b88@gmail.com>
<CABbU2U8Pp7KOVhzrHACVhx8ye4bx7XernrQ8GLjY+VFKv6ttHQ@mail.gmail.com>
<CAPTjJmqDPku3x_QcuV0OXcfzKEGyN+sww-JseMBwsfo-fw6OLg@mail.gmail.com>
 by: Marco Sulla - Fri, 12 Nov 2021 20:01 UTC

Chris? Maybe I'm dreaming X-D

On Fri, 12 Nov 2021 at 17:38, Chris Angelico <rosuav@gmail.com> wrote:
> Are you sure that you really need Py_BUILD_CORE?

Yes, because I need the internal functions of `dict`. So I need to
compile also dictobject.c and include it. So I need that flag.

This is the code:

https://github.com/Marco-Sulla/python-frozendict.git

On Linux and MacOS it works like a charme. On Windows, it seems it does not find
python3.lib. I also added its path to the PATH variable

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor