Comments (5)
Hi,
Could you copy/paste the error ? (I can't see your screen capture...)
Thanks a lot. Cheers
2015-12-17 14:49 GMT+01:00 njournet [email protected]:
Hi!
I have a problem for linking 1_basic, 3_websoket 4_wschat (2_gauge works
fine)my config :
Yosemit 10105
clang 702
make 381regards!
—
Reply to this email directly or view it on GitHub
#2.
from libnavajo.
salut (je pense qu’on peut discuter en Francais :) )
Vraiment super projet !
Je suis enseignant-chercheur sur Bordeaux et j’ai bien envie d’utiliser votre plateforme pour faire quelques protos.
l’erreur copier/coller est en dessous.
A+
nicholas
info-njournet:1_basic njournet$ make
Generate Cpp files from HTML repository
../../bin/navajoPrecompiler exampleRepository >> PrecompiledRepository.cc ; cd ..
/bin/sh: ../../bin/navajoPrecompiler: No such file or directory
g++ -c PrecompiledRepository.cc -o PrecompiledRepository.o -O3 -Wdeprecated-declarations -I. -I/usr/local/Cellar/openssl/1.0.1j/include -I../../include -D__darwin__ -D__x86__ -fPIC -fno-common -D_REENTRANT
g++ -c example.cc -o example.o -O3 -Wdeprecated-declarations -I. -I/usr/local/Cellar/openssl/1.0.1j/include -I../../include -D__darwin__ -D__x86__ -fPIC -fno-common -D_REENTRANT
rm -f example
g++ -Wall -Wno-unused -O3 -o example PrecompiledRepository.o example.o -lnavajo -L../../lib -lz -L/usr/local/Cellar/openssl/1.0.1j/lib -lssl -lcrypto -lpam
ld: warning: directory not found for option '-L../../lib'
ld: warning: directory not found for option '-L/usr/local/Cellar/openssl/1.0.1j/lib'
Undefined symbols for architecture x86_64:
"PrecompiledRepository::initIndexMap()", referenced from:
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in example.o
"PrecompiledRepository::indexMap", referenced from:
_main in example.o
PrecompiledRepository::~PrecompiledRepository() in example.o
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > const&) in example.o
PrecompiledRepository::getFile(HttpRequest, HttpResponse) in example.o
PrecompiledRepository::~PrecompiledRepository() in example.o
"PrecompiledRepository::location", referenced from:
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char, std::__1::char_traits, std::1::allocator > const&) in example.o
PrecompiledRepository::getFile(HttpRequest, HttpResponse) in example.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [example] Error 1
Le 17 déc. 2015 à 15:09, titi38 [email protected] a écrit :
Hi,
Could you copy/paste the error ? (I can't see your screen capture...)
Thanks a lot. Cheers2015-12-17 14:49 GMT+01:00 njournet [email protected]:
Hi!
I have a problem for linking 1_basic, 3_websoket 4_wschat (2_gauge works
fine)my config :
Yosemit 10105
clang 702
make 381regards!
—
Reply to this email directly or view it on GitHub
#2.—
Reply to this email directly or view it on GitHub #2 (comment).
from libnavajo.
les meilleurs codeurs sont français ;-)
On 17 December 2015 at 16:10, njournet [email protected] wrote:
salut (je pense qu’on peut discuter en Francais :) )
Vraiment super projet !
Je suis enseignant-chercheur sur Bordeaux et j’ai bien envie d’utiliser
votre plateforme pour faire quelques protos.l’erreur copier/coller est en dessous.
A+
nicholas
info-njournet:1_basic njournet$ make
Generate Cpp files from HTML repository
../../bin/navajoPrecompiler exampleRepository >> PrecompiledRepository.cc
; cd ..
/bin/sh: ../../bin/navajoPrecompiler: No such file or directory
g++ -c PrecompiledRepository.cc -o PrecompiledRepository.o -O3
-Wdeprecated-declarations -I. -I/usr/local/Cellar/openssl/1.0.1j/include
-I../../include -D__darwin__ -D__x86__ -fPIC -fno-common -D_REENTRANT
g++ -c example.cc -o example.o -O3 -Wdeprecated-declarations -I.
-I/usr/local/Cellar/openssl/1.0.1j/include -I../../include -D__darwin__
-D__x86__ -fPIC -fno-common -D_REENTRANT
rm -f example
g++ -Wall -Wno-unused -O3 -o example PrecompiledRepository.o example.o
-lnavajo -L../../lib -lz -L/usr/local/Cellar/openssl/1.0.1j/lib -lssl
-lcrypto -lpam
ld: warning: directory not found for option '-L../../lib'
ld: warning: directory not found for option
'-L/usr/local/Cellar/openssl/1.0.1j/lib'
Undefined symbols for architecture x86_64:
"PrecompiledRepository::initIndexMap()", referenced from:
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char,
std::__1::char_traits, std::__1::allocator > const&) in
example.o
"PrecompiledRepository::indexMap", referenced from:
_main in example.o
PrecompiledRepository::~PrecompiledRepository() in example.o
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char,
std::__1::char_traits, std::1::allocator > const&) in
example.o
PrecompiledRepository::getFile(HttpRequest, HttpResponse) in example.o
PrecompiledRepository::~PrecompiledRepository() in example.o
"PrecompiledRepository::location", referenced from:
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char,
std::__1::char_traits, std::1::allocator > const&) in
example.o
PrecompiledRepository::getFile(HttpRequest, HttpResponse) in example.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [example] Error 1Le 17 déc. 2015 à 15:09, titi38 [email protected] a écrit :
Hi,
Could you copy/paste the error ? (I can't see your screen capture...)
Thanks a lot. Cheers2015-12-17 14:49 GMT+01:00 njournet [email protected]:
Hi!
I have a problem for linking 1_basic, 3_websoket 4_wschat (2_gauge
works
fine)my config :
Yosemit 10105
clang 702
make 381regards!
—
Reply to this email directly or view it on GitHub
#2.—
Reply to this email directly or view it on GitHub <
https://github.com/titi38/libnavajo/issues/2#issuecomment-165461390>.—
Reply to this email directly or view it on GitHub
#2 (comment).
from libnavajo.
Hi Nicholas,
On macosx systems , the version of the openssl library is older , and it is not standard. You must install the homebrew package ( brew.sh )
brew install openssl
Then it is not pretty (I'll improve that...) , you must edit the Makefile by hand to use the right version :
ls / usr / local / Cellar / openssl
In the example makefile , I'll had to update LIBSSL_DIR variable definition to contain the full path
of the library you want to use .
Cheers
Thierry
salut (je pense qu’on peut discuter en Francais :) )
Vraiment super projet !
Je suis enseignant-chercheur sur Bordeaux et j’ai bien envie d’utiliser
votre plateforme pour faire quelques protos.l’erreur copier/coller est en dessous.
A+
nicholas
info-njournet:1_basic njournet$ make
Generate Cpp files from HTML repository
../../bin/navajoPrecompiler exampleRepository >> PrecompiledRepository.cc
; cd ..
/bin/sh: ../../bin/navajoPrecompiler: No such file or directory
g++ -c PrecompiledRepository.cc -o PrecompiledRepository.o -O3
-Wdeprecated-declarations -I. -I/usr/local/Cellar/openssl/1.0.1j/include
-I../../include -D__darwin__ -D__x86__ -fPIC -fno-common -D_REENTRANT
g++ -c example.cc -o example.o -O3 -Wdeprecated-declarations -I.
-I/usr/local/Cellar/openssl/1.0.1j/include -I../../include -D__darwin__
-D__x86__ -fPIC -fno-common -D_REENTRANT
rm -f example
g++ -Wall -Wno-unused -O3 -o example PrecompiledRepository.o example.o
-lnavajo -L../../lib -lz -L/usr/local/Cellar/openssl/1.0.1j/lib -lssl
-lcrypto -lpam
ld: warning: directory not found for option '-L../../lib'
ld: warning: directory not found for option
'-L/usr/local/Cellar/openssl/1.0.1j/lib'
Undefined symbols for architecture x86_64:
"PrecompiledRepository::initIndexMap()", referenced from:
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char,
std::__1::char_traits, std::__1::allocator > const&) in
example.o
"PrecompiledRepository::indexMap", referenced from:
_main in example.o
PrecompiledRepository::~PrecompiledRepository() in example.o
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char,
std::__1::char_traits, std::1::allocator > const&) in
example.o
PrecompiledRepository::getFile(HttpRequest, HttpResponse) in example.o
PrecompiledRepository::~PrecompiledRepository() in example.o
"PrecompiledRepository::location", referenced from:
PrecompiledRepository::PrecompiledRepository(std::__1::basic_string<char,
std::__1::char_traits, std::1::allocator > const&) in
example.o
PrecompiledRepository::getFile(HttpRequest, HttpResponse) in example.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [example] Error 1Le 17 déc. 2015 à 15:09, titi38 [email protected] a écrit :
Hi,
Could you copy/paste the error ? (I can't see your screen capture...)
Thanks a lot. Cheers2015-12-17 14:49 GMT+01:00 njournet [email protected]:
Hi!
I have a problem for linking 1_basic, 3_websoket 4_wschat (2_gauge
works
fine)my config :
Yosemit 10105
clang 702
make 381regards!
—
Reply to this email directly or view it on GitHub
#2.—
Reply to this email directly or view it on GitHub <
https://github.com/titi38/libnavajo/issues/2#issuecomment-165461390>.—
Reply to this email directly or view it on GitHub
#2 (comment).
from libnavajo.
In my case the problem was that, the path navajoPrecompiler was wrong. Check the makefile the example you are working with.
find the line that matches the below
NAVAJO_PRECOMPILER_EXEC = ../../bin/navajoPrecompiler
make sure the path is right.
You can leave the navajoPrecompiler in any of the bin directories and just replace the path with just navajoPrecompiler.
from libnavajo.
Related Issues (20)
- Compilation failing
- Big file on LocalRepository HOT 2
- Two warnings appeared during the compilation of the library HOT 1
- Segmentation fault with Websocket HOT 2
- Crash when access the server through https HOT 1
- Http response error can't be different of 404 HOT 4
- memory leak when using SSL HOT 1
- Valgrind report HOT 1
- Memory Leak in WebSockets HOT 2
- OPTIONS support HOT 4
- setServerPort has no effect HOT 2
- More expansive "Allow" headers for CORS HOT 2
- Dynamic Repos HOT 2
- BPi-R1
- Multiple parameter with the same name
- Can't build on Centos 7.6 HOT 1
- GCC 8.3.1 warnings HOT 1
- File corruption when using localRepository and a slow connection HOT 4
- No multithread support with SSL HOT 1
- memory leaks when http client tries to connect without SSL on a WebServer configured with SSL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libnavajo.