Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8896075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:57:07+00:00 2026-06-14T23:57:07+00:00

I have faced with openssl surprises. I have installed openssl libs on my windows

  • 0

I have faced with openssl surprises. I have installed openssl libs on my windows XP and tried to compile simple example on C++:

#include <openssl\rsa.h>
#include <stdio.h>
int main(int argc, char** argv)
{
    RSA* rsa;
    unsigned char* input_string;
    unsigned char* encrypt_string;
    unsigned char* decrypt_string;

    if ( RSA_generate_key_ex( rsa, 1024, NULL, NULL) ) {
        printf( " I'm using RSA lib!\n" ) ;
    } ;

    return 0;
}

Also i configured path to “include” folder, but…

C:\Programming\C++_Projects\main.o:main.cpp|| undefined reference to `RSA_generate_key_ex'|
||=== Build finished: 1 errors, 0 warnings ===|

I’m using Codeblocks and google couldn’t help me. I’m sad so much. Could you help me?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:57:08+00:00Added an answer on June 14, 2026 at 11:57 pm

    You have to tell the compiler to link with the openssl library.

    In CodeBlocks, you certainly have a tab Libraries (or something equivalent) in your project settings where you can add the openssl library.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working at Windows Phone application these days and have faced the problem with
I'm solving simple math task, and I have faced with some problems. I have
I installed openssl through binaries and i have that exact files at that exact
I am making a simple game and I have faced a problem. I have
I have faced the following interview question. Consider this function declaration: void quiz(int i)
I have faced a problem in Qt with error: cannot convert parameter 1 from
I have faced the same problem many times. The Same Problem was With This
I am trying to make a Facebook login in my website, I have faced
I have a problem that I have not faced before: It seems that the
I have recently been faced with a rather odd task, one result being the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.