15,909,530 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13376650 (Top 69 by date)
Member 13376650
30-Nov-19 23:57pm
View
Where should I put your code?
Member 13376650
14-May-19 3:08am
View
How should I fix my code?
Member 13376650
13-May-19 1:29am
View
No. I get new data(stock price) by a post request as you can see in my code. What I need is adding this new points to a graph like what all the stock websites, applications do. But I don't know how to plot the results? I also tried the animation and put a link to my code in "What I have tried" part, but didn't work for me!
Member 13376650
13-May-19 1:19am
View
Yes I know. The problem is that, I like to show the last prices every seconds not after finishing my program. Actually I need a figure that will be updated when a new price comes. And this part that I put here is just about getting the new prices. I don't know how to write the updating figure part?
Member 13376650
13-Mar-18 1:48am
View
Deleted
But it works if I delete "fas.traineddata" related codes!
How can I fix the problem?
Member 13376650
12-Mar-18 5:39am
View
Thanks for help. But the image quality is low...how can I get better images?
Member 13376650
9-Mar-18 9:24am
View
How can I see it?
I am trying to get a photo from camera and pass it trough tesseract
Member 13376650
9-Mar-18 6:09am
View
I can not find the properties branch inside Visual Studio
Member 13376650
28-Feb-18 23:29pm
View
I don't know! I think it's a built-in call behind my codes
Member 13376650
30-Nov-17 14:38pm
View
I did edit my question
Member 13376650
30-Nov-17 14:23pm
View
Deleted
mohem2.cpp:27:19: error: too many initializers for ‘const arg_t {aka const arg_s}’
CMDLN_EMPTY_OPTION};
^
mohem2.cpp: In function ‘int main(int, char**)’:
mohem2.cpp:175:66: error: cannot convert ‘const arg_t {aka const arg_s}’ to ‘const arg_t* {aka const arg_s*}’ for argument ‘2’ to ‘cmd_ln_t* cmd_ln_parse_r(cmd_ln_t*, const arg_t*, int32, char**, int32)’
config = cmd_ln_parse_r(NULL, cont_args_def, argc, argv, TRUE);
Member 13376650
23-Nov-17 5:09am
View
I couldn't find any help there!
Member 13376650
23-Nov-17 3:50am
View
Do you mean I must uncomment some of that lines? I did uncomment them and changed the code...but didn't work again(question edited)
Member 13376650
22-Nov-17 5:24am
View
Dear Ricahrd! This is a little part of my robot project! I had many things in Voice and image recognition before and must do many things later! How can I read a full book about Linux too?
Member 13376650
22-Nov-17 4:51am
View
But I don't really know which topic I must study for
Member 13376650
22-Nov-17 3:57am
View
when I search for "a fixed directory in linux" it has not related result
Member 13376650
22-Nov-17 3:55am
View
I use: Linux nanopim1 3.4.113-sun8i #16 SMP PREEMPT Tue Jun 13 14:15:57 CEST 2017 armv7l armv7l armv7l GNU/Linux
Member 13376650
22-Nov-17 3:30am
View
May you help me here: https://www.codeproject.com/Questions/1214776/How-can-I-execute-my-gtk-based-program-after-syste
Member 13376650
22-Nov-17 3:30am
View
I asked because I wanted to be sure what I am doing is the best thing! I did it myself before I ask and it worked.
Member 13376650
22-Nov-17 3:15am
View
Should I add these to line to my /etc/environment file?
LD_LIBRARY_PATH=/usr/local/lib
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
Member 13376650
22-Nov-17 3:07am
View
How can I do it?
Member 13376650
21-Nov-17 14:34pm
View
I did add it to my '/etc/environment` file and now it has this content:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/lib:/usr/local/games"
But it doesn't work yet! even after reboot
Then
Member 13376650
18-Nov-17 5:19am
View
May you help me?
Member 13376650
18-Nov-17 5:18am
View
I think I used it
Member 13376650
18-Nov-17 5:17am
View
Hi Rechard, I edited my question.May you help me
Member 13376650
16-Nov-17 2:04am
View
I did edit my post in `what I have tried` section.
Member 13376650
16-Nov-17 1:58am
View
Hello Richard, sorry if I am too late, I was challenging with other problem. What kind of information should I put? where should I put my program as a fixed location?
Member 13376650
9-Nov-17 14:24pm
View
I tried the Ubuntu custum Xsession till step 8 with with this ~/.xinitrc file:
#!/usr/bin/env bash
/home/m/img &
exec openbox-session
But my LCD didn't work after reboot!
Member 13376650
5-Nov-17 6:23am
View
Yes, my app shows an image by GTK library, also I have added "startx" in my rc.local before.
Member 13376650
5-Nov-17 6:22am
View
Deleted
Yes, my app shows an image by GTK library, also I have added "startx" in my rc.local before.
Member 13376650
5-Nov-17 5:23am
View
Deleted
Yes, my app shows an image by GTK library, also I have added "startx" in my rc.local before.
Member 13376650
5-Nov-17 2:39am
View
OK I will go to read but please give me a simple and specific guide what should I read?
Member 13376650
4-Nov-17 15:23pm
View
I have a question...is this question's data enough to answer to it? I mean can someone who knows the Linux and C compilation answer to my question? Or he must have more information to answer?
Member 13376650
4-Nov-17 15:18pm
View
My problem is I have not much time and also don't know a simple tutorial to learn this!
Member 13376650
4-Nov-17 9:54am
View
When I use "make" command it creates me an executable file that is a chatbot, but I do not want this! I want to use this library in other c++ program, not standalone!
So I must compile it separately but dosn't work :(
Member 13376650
4-Nov-17 9:52am
View
I tried to add these(-lrt -lcurl --verbose $(PGLOAD) )_ to end of my command but it didn't work!
g++ -std=c++11 main.cpp constructCode.cpp csocket.cpp dictionarySystem.cpp english.cpp evserver.cpp factSystem.cpp functionExecute.cpp infer.cpp jsmn.cpp json.cpp markSystem.cpp mongodb.cpp mysql.cpp os.cpp outputSystem.cpp patternSystem.cpp postgres.cpp privatesrc.cpp scriptCompile.cpp spellcheck.cpp systemVariables.cpp tagger.cpp testing.cpp textUtilities.cpp tokenSystem.cpp topicSystem.cpp userCache.cpp userSystem.cpp variableSystem.cpp -o myprogram -lrt -lcurl --verbose $(PGLOAD)
Member 13376650
4-Nov-17 9:49am
View
Why you do not give me the true command that I can learn from it?
Member 13376650
3-Nov-17 14:41pm
View
I have a C code that has an executable named "img" and is a gtk3 code shows an image. I added this line to my "etc/rc.local" : "/home/m/img &" but it didn't work after boot!
Member 13376650
3-Nov-17 14:01pm
View
So I should use which one? Systemd, Shels, Graphical?
Member 13376650
2-Nov-17 16:26pm
View
What is the locale support?
I am not familiar with GTK and found this example on the internet! my problem is that I like to see the image inside my SPI LCD not in my laptop!
Member 13376650
1-Nov-17 12:29pm
View
please give me more specified guide! What document? which part?
Member 13376650
1-Nov-17 11:18am
View
May you say what command I should use to compile and link it successfully?
And introduce a simple tutorial about this?
Member 13376650
1-Nov-17 8:41am
View
I tried this:
g++ -std=c++11 main.cpp constructCode.cpp csocket.cpp dictionarySystem.cpp english.cpp evserver.cpp factSystem.cpp functionExecute.cpp infer.cpp jsmn.cpp json.cpp markSystem.cpp mongodb.cpp mysql.cpp os.cpp outputSystem.cpp patternSystem.cpp postgres.cpp privatesrc.cpp scriptCompile.cpp spellcheck.cpp systemVariables.cpp tagger.cpp testing.cpp textUtilities.cpp tokenSystem.cpp topicSystem.cpp userCache.cpp userSystem.cpp variableSystem.cpp -o myprogram -lrt -lcurl --verbose
But got many "undefined reference to ..." errors again :(
Member 13376650
1-Nov-17 8:16am
View
I have edited my post, may you red "what I tried" part?
Also I have another question, why my LCD works with fb8? can I change it to other?
Member 13376650
1-Nov-17 4:33am
View
How can I find if my Ubuntu version supports device trees or not?
Member 13376650
1-Nov-17 4:01am
View
Should I compile my kernel to have my LCD when system boots?
Member 13376650
31-Oct-17 14:11pm
View
Inside /var/log I had bootstrap.log file that inside it there wasn't anything about fbtft, but, when I boot system, lcd turns on (blank screen) and after booting, I can run "FRAMEBUFFER=/dev/fb8 startx" and it works
Member 13376650
31-Oct-17 11:44am
View
Tutorial says make a " /usr/share/X11/xorg.conf.d/99-fbdev.conf" file with this content, but it doesn't work I thin
Section "Device"
Identifier "myfb"
Driver "fbdev"
Option "fbdev" "/dev/fb8" ///my LCD works by fb8 manually
EndSection
Member 13376650
31-Oct-17 11:43am
View
I forced to re-install my Linux again, then did the things again but I have no display... I think the problem is in running "FRAMEBUFFER=/dev/fb8 startx". when I do it manually my display works but it doesn't work automatically
Member 13376650
31-Oct-17 7:46am
View
Thank you Jochen, but how can I find what is my module name? As I can remember when I wrote "dmesg" my result didn't have this line " fbtft_device: bcm2708_fb id=-1 pdata? no" or some alternative for it! what is that mean?
Member 13376650
31-Oct-17 7:20am
View
I exactly copied it!
I don't know why SSH access fails noW! it's so strange
Member 13376650
31-Oct-17 7:19am
View
I am new to Linux and sorry if I got it too late! But I have new question, how can I find what should I type after "-l " ?
You said I must looking for the options after LDFLAGS inside makefile, but as you can see there are three LDFLAGS with different options!
Member 13376650
31-Oct-17 7:13am
View
OK, may you explain more about " -l " option? I had same problem to compile another code about ChatScript. How can I find what "-l " option should I add to my command?
Member 13376650
31-Oct-17 7:09am
View
I did it and made two "fbtft.conf " files where the tutorial said, but unfortunately after reboot, I have only a white(gray) screen and can not even connect to my board by SSH
Member 13376650
31-Oct-17 5:29am
View
I use armbian 5.30
Member 13376650
31-Oct-17 5:19am
View
I had this problem in compiling a cpp program written to use espeak library too, and a user said use "-l espeak-ng" after "g++ testSpeak -o speak" and it worked! Should I do something like this for this question?
Member 13376650
31-Oct-17 5:16am
View
Thanks CPallini, it compiled without errors but when I execute the "speaks" it has no results! why?
Member 13376650
31-Oct-17 1:35am
View
I have a question! Why when I use mainSystem.cpp file and it's main function(at the end of the file) I can compile it, but when I use a separate main.cpp file with exactly those heder files there are in mainSystem.cpp file, they don't work?
Member 13376650
27-Oct-17 7:16am
View
Please read my edit section I added to my question
Member 13376650
27-Oct-17 7:08am
View
But what does the makefile do? Why it ran successfully?
Member 13376650
27-Oct-17 5:40am
View
I asked the author and he said "only common.h" is sufficient to add above my main! And I saw inside common.h, "mainSystem.h" is included. and inside "mainSystem.h" there is "evserver.h" . and I have all of this header file beside my main!
But I don't know why I get damn "undefined reference ..." errors!
Member 13376650
25-Oct-17 14:35pm
View
About another header files that should be included, may you explain more how can I find them? I am newbie in Linux and couldn't find them !
Member 13376650
25-Oct-17 14:33pm
View
About the InitStandalone() function, I saw it in another tutorial that it said:
To call these routines, your code will need a predeclaration of these
routines. Just copy the routine declarations from ChatScript and put
at the start of your file, e.g.,
unsigned int InitSystem(int argc, char * argv[],char* unchangedPath,char* readonlyPath, char* writablePath);
void InitStandalone();
void PerformChat(char* user, char* usee, char* incoming,char* ip,char* output);
Also it's inside the mainSystem.h too
Member 13376650
25-Oct-17 13:15pm
View
Thanks
Member 13376650
25-Oct-17 4:22am
View
Dear OriginalGriff, i know it works and it's the winner of Leobner prise for chat bots. But I don't know why I can not work with!
I asked from author here : https://github.com/bwilcox-1234/ChatScript/issues/173 But couldn't solve the problem!
But you right...this is the last day I will try for it
Member 13376650
25-Oct-17 3:36am
View
Sorry, I edited the post and added the link of tutorial/project on github!
I asked many times from the author and he couldn't help me!
Member 13376650
27-Aug-17 13:00pm
View
I did it. the latest version is vc14
Member 13376650
25-Aug-17 13:19pm
View
It says the program (CMake) can't start because LIBEAY32.dll is missing from your computer. try reinstalling the program to fix this problem.
Member 13376650
25-Aug-17 13:13pm
View
yes
Show More