How do I use savReaderWriter with pypy3, or is there a better alternative? - spss

So I managed to install savReaderWriter for pypy3, but when I try to read a file with SavReader, I get the following error:
OSError: Cannot load library /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos/libspssdio.dylib: dlopen(/usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos/libspssdio.dylib, 2): Symbol not found: _CFLocaleCopyCurrent
Referenced from: /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos//libspssdio.dylib
Expected in: flat namespace
in /usr/local/Cellar/pypy3/7.3.1_1/libexec/site-packages/savReaderWriter/spssio/macos//libspssdio.dylib
It appears the issue is Symbol not found: _CFLocaleCopyCurrent, but I have no idea how to fix this. Any ideas?

This seems to work now with the latest pypy3 build.

Related

Error reading resource.. access to path is denied(CS1566)

I have created a binding library in iOS and when I try to rebuild the solution the build fails with the error message as " Error CS1566: Error reading resource 'SampleFramework' -- 'Access to the path '/Users/leonrodrigues/Projects/SampleFramework' is denied.' (CS1566) (SampleFramework.Binding).
anyone with any inputs on this as to how can we fix it ??
You are trying to add wrong path as native reference, may be parent folder. add the framework exact location

What is the purpose of foundation.dart in Writing and Reading Files using path_provider plugin?

I am trying to understand how to read and write data on text files using path_provider plugin.
I've read an example on how to use it on Flutter from here. Then I saw this line of code which I don't understand:
import "package:flutter/foundation.dart";
I tried to comment it out from the code and ran "flutter run":
//import "package:flutter/foundation.dart";
And to my surprise, it ran perfectly. Although it raised some errors like:
E/DartVM (23127): 'dart:core/runtime/libintegers.dart': error: Unexpected tag 0 (Nothing) in ?, expected expression
E/DartVM (23127): ../../third_party/dart/runtime/vm/compiler/intrinsifier.cc: 153: error: Intrinsifier failed to find method ~ in class _Smi
and
E/DartVM (23237): 'dart:typed_data': error: Unexpected tag 15 (DirectPropertyGet) in ?, expected type
E/DartVM (23237): ../../third_party/dart/runtime/vm/compiler/intrinsifier.cc: 153: error: Intrinsifier failed to find method get:x in class _Float32x4
But it ran well. I don't know why. When should I use it? What method from the code did the foundation.dart was used?
I would appreciate any kind of enlightment. Thanks in advance.
[UPDATE]
I think I understand why foundation library was used in the example code. Maybe because the example code used the "required" constant from the foundation library.

Lua Error Loading Limlib2 Library even though it's already installed?

I have install limlib2 and everything and I've checked the directories to see if it's existent, and limlib2 is there. I compile some lua code that uses
require("limlib2")
I receive this error:
lua: error loading module 'limlib2' from file '/usr/local/lib/lua/5.3/limlib2.so':
dlopen(/usr/local/lib/lua/5.3/limlib2.so, 6): Symbol not found: _luaL_checkint
Referenced from: /usr/local/lib/lua/5.3/limlib2.so
Expected in: flat namespace
in /usr/local/lib/lua/5.3/limlib2.so
stack traceback:
[C]: in ?
[C]: in function 'require'
imgpxl.lua:1: in main chunk
[C]: in ?
Any help? I don't understand what's going on.
limlib2 is referencing _luaL_checkint which fails in Lua 5.3 as _luaL_checkint has been replaced by _luaL_checkinteger in Lua 5.2
_luaL_checkint is deprecated. Just google for _luaL_checkint to find plenty of workarounds.
Checkout this: Cannot make gunplot on osx yosemite. Undefined symbols
imlib2 seems to haven't been updated in over 8 years. So no wonder you're facing problems

error: CvANN_MLP does not name a type

I am compiling my program in opencv-3.1, but I am getting following error
error: `CvANN_MLP` does not name a type
The program is compiling properly in opencv-2.4.
I am not able to find CvANN_MLP word in any of the opencv-3.1 header files.
Can anybody tell what is the problem ?
According to Upgrade guide it was changed from CvANN_MLP to cv::ml::ANN_MLP in 3.0.

Apple Mach-o error linked

I get this error and I have no idea why out, apparently my libraries are well linked
...
"_equalTo", referenced from:
-[FBFacebookAppAuthenticationTests testImplFacebookAppAuthSuccessWithBehavior:] in FBFacebookAppAuthenticationTests.o
-[FBGraphObjectTests testCanSetProperty] in FBGraphObjectTests.o
-[FBGraphObjectTests testInsertObjectAtIndex] in FBGraphObjectTests.o
-[FBGraphObjectTests testAddObject] in FBGraphObjectTests.o
etc...
http://i.stack.imgur.com/fabie.png

Resources