You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to import n2n.lib to my Qt project. Here is the errors what I got.
First trial
Directory structure
TestQT
├── n2n # API server
├── include # same as include dir as n2n-2.8 stable repo
└── n2n.lib # Built by following Building.md
├── edge.cpp # Trying to do function to connect supernode
└── TestQT.pro # My Qt configurations
Errors
Cannot open include file: 'win32/n2n_win32.h': No such file or directory
After copying win32 folder from n2n folder
Directory structure
TestQT
├── n2n # API server
├── n2n.lib # Built by following Building.md
└── include # same as include dir as n2n-2.8 stable repo
└── win32 # Folder copied from n2n folder
├── edge.cpp # Trying to do function to connect supernode
└── TestQT.pro # My Qt configurations
Errors
Cannot open include file: 'config.h': No such file or directory
TestQT
├── n2n # API server
├── n2n.lib # Built by following Building.md
└── include # same as include dir as n2n-2.8 stable repo
├── config.h # Added
└── win32 # Folder copied from n2n folder
├── edge.cpp # Trying to do function to connect supernode
└── TestQT.pro # My Qt configurations
Errors
'speck_context_t': redefinition; different basic types
How should I do to import the library properly, I'm using Qt / C++.
The text was updated successfully, but these errors were encountered:
Tex-Tang
changed the title
How to import .lib to windows QT?
How to import n2n.lib to windows QT?
Dec 5, 2020
Hi, I'm trying to import n2n.lib to my Qt project. Here is the errors what I got.
First trial
Directory structure
Errors
Cannot open include file: 'win32/n2n_win32.h': No such file or directory
After copying win32 folder from n2n folder
Directory structure
Errors
Cannot open include file: 'config.h': No such file or directory
After adding config.h based on #366
Directory structure
Errors
'speck_context_t': redefinition; different basic types
How should I do to import the library properly, I'm using Qt / C++.
The text was updated successfully, but these errors were encountered: