Git Product home page Git Product logo

Comments (5)

titi38 avatar titi38 commented on July 17, 2024

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)

[image: libnavajo-error]
https://camo.githubusercontent.com/984bee8dd44cf824902f9cff17814daef517186e/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f31363333373238352f31313837313036362f32613739356461302d613463642d313165352d383665632d396135373362653263323165706e67

my config :
Yosemit 10105
clang 702
make 381

regards!


Reply to this email directly or view it on GitHub
#2.

from libnavajo.

njournet avatar njournet commented on July 17, 2024

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. 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)

[image: libnavajo-error]
https://camo.githubusercontent.com/984bee8dd44cf824902f9cff17814daef517186e/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f31363333373238352f31313837313036362f32613739356461302d613463642d313165352d383665632d396135373362653263323165706e67

my config :
Yosemit 10105
clang 702
make 381

regards!


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.

brucelane avatar brucelane commented on July 17, 2024

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 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. 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)

[image: libnavajo-error]
<
https://camo.githubusercontent.com/984bee8dd44cf824902f9cff17814daef517186e/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f31363333373238352f31313837313036362f32613739356461302d613463642d313165352d383665632d396135373362653263323165706e67

my config :
Yosemit 10105
clang 702
make 381

regards!


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.

titi38 avatar titi38 commented on July 17, 2024

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 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. 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)

[image: libnavajo-error]
<
https://camo.githubusercontent.com/984bee8dd44cf824902f9cff17814daef517186e/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f31363333373238352f31313837313036362f32613739356461302d613463642d313165352d383665632d396135373362653263323165706e67

my config :
Yosemit 10105
clang 702
make 381

regards!


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.

Chempa avatar Chempa commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.