Questions tagged [symbol-not-found]

30 questions
44
votes
10 answers

Xcode project CMD-Click on symbol to 'Jump to Definition' does not work

I've been using Xcode 4.3.1 since it came out now and I've worked on many different projects since. Everything has always worked fine until this new project I'm working on. The code completion/code sense never finds anything. When I 'Command+Click'…
rob1302
  • 1,631
  • 3
  • 15
  • 18
6
votes
1 answer

Objective-c++ symbol not found strangeness

hej.h void hej(); hej.m void hej(){} main.mm #import "hej.h" int main(int argc, char *argv[]) { } This gives me: "hej()", referenced from: _main in main.o symbol(s) not found If I rename main.mm to main.m (single m), or hej.m to mm or cpp, then…
quano
  • 18,812
  • 25
  • 97
  • 108
5
votes
2 answers

Import Error: Symbol not found: _futimens with PyQT5 in macOS Sierra 10.12.6

So, I'm trying to run a basic code: from PyQt5.QtWidgets import QMainWindow, QPushButton, QApplication import sys class Example(QMainWindow): def __init__(self): super().__init__() btn = QPushButton("Hello World!", self) …
2
votes
2 answers

dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin macOS High sierra 10.13.6

Command: "Brew install node" after install Command: "which node" -> output: "/usr/local/bin/node" Command: "node -v" -> output: dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /usr/local/bin/node (which was…
Shumon Pal
  • 314
  • 3
  • 12
2
votes
0 answers

swift using objective c class - use of undeclared type error

right now I am developing a project using swift and I use some of class in objective c. I have set up bridge and most of them work fine. But I have a problem to override the method defined in objective class. #import #import…
Ivan
  • 43
  • 5
2
votes
0 answers

Xcode could not index the header file

When I used Xcode 6 to develop an iOS app, I found Xcode cannot index names when I set up a separate header file. The detailed situation is like this: I set up a separate header file named TestClass.h, and imported Foundation/Foundation.h. However,…
htredleaf
  • 192
  • 2
  • 10
1
vote
2 answers

pytorch (cpu only) on osx fails with symbol not found

I am trying to get started with PyTorch - on a mac osx computer. However, basic steps fail: from torch_sparse import coalesce, SparseTensor --------------------------------------------------------------------------- OSError …
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
1
vote
1 answer

Symbol not found

DBHelper.java package com.control; import java.sql.*; public class DBHelper { Connection conn; Statement st; ResultSet rs; public DBHelper()throws ClassNotFoundException { Class.forName("oracle.jdbc.driver.OracleDriver"); } public…
1
vote
0 answers

How can I track down dyld: Symbol not found error?

I have an app which has iOS 6.1 as the minimum deployment target. In my project I'm using a couple of 3rd party libraries. When I try to run my app using Xcode 6.1.1, on an iOS 6.1.3 device, I'm getting this error and the app cannot continue…
aslı
  • 8,740
  • 10
  • 59
  • 80
1
vote
2 answers

Xcode print symbol not found for my C function which used in Objective-C method body

Xcode build prints this error . Undefined symbols: "EGViewportDimensionMake(unsigned int, unsigned int, unsigned int, unsigned int)", referenced from: -[Renderer render] in Renderer.o ld: symbol(s) not found collect2: ld returned 1…
eonil
  • 83,476
  • 81
  • 317
  • 516
0
votes
1 answer

Symbol not found when creating a Kafka client instance using a custom constructor

I'm trying to create a Bean named "Kafka" with a custom constructor that takes PropertiesFileUtils.KAFKA_HOST and PropertiesFileUtils.KAFKA_PORT as parameters. However, during the compilation process, I encountered the following error: [ERROR]…
yue chen
  • 1
  • 1
0
votes
1 answer

Getting Key From HashMap Value

I have a HashMap for the alphabet that goes HashMap alphabet = new HashMap<>(); alphabet.put('A', 0); alphabet.put('B', 1); alphabet.put('C', 2); alphabet.put('D', 3); //And so on... I'm trying to ket the key from…
redfox
  • 21
  • 3
0
votes
1 answer

How to encrypt passwords in build.gradle with Android 3.3? Getting "Cannot resolve symbol" in IDE

Since update to Android Studio 3.3 we get a weird warning with some legacy code about encrypted gradle parameters. In build.gradle we have this line: apply from: "encryption.gradle" In encryption.gradle we have this content: afterEvaluate { …
Daniel Brown
  • 1,134
  • 1
  • 13
  • 27
0
votes
1 answer

Java--Cannot find symbol errors

Please help me fix 3 symbol not found errors quickly the program reads an input text file with two columns and prints out the average of each column. I have errors that read out like this: Error: AverageOfFloats.java:54: error: cannot find symbol …
Matthew Miller
  • 29
  • 1
  • 1
  • 6
0
votes
1 answer

Source Insight cannot find symbol

#include using namespace std; template class Compare { public: numtype* x; }; class test { public: void fun(){ std::cout << "fun" << std::endl; } }; int main() { Compare a; a.x = new…
1
2