15,881,204 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 13927363 (Top 13 by date)
Member 13927363
17-Sep-18 22:50pm
View
i have tried downloading sources from the internet but it gives error 'unresolved external'
Member 13927363
17-Sep-18 4:02am
View
"Then you did not have a library file build for your OS / version or the file has been corrupted."
is there any way to solved the problem?
Member 13927363
17-Sep-18 1:28am
View
found file but i am getting this error libOpenMeshCore.so:-1: error: LNK1107: invalid or corrupt file: cannot read at 0x16.
Member 13927363
15-Sep-18 5:24am
View
i just need to know where i can get the file? do you know?
Member 13927363
31-Aug-18 22:11pm
View
No, I'm not trying to call any function. Just what I have mentioned, what I have only done is changed the
LIBS += \
/usr/local/lib/libOpenMeshCore.so \
/usr/local/lib/libOpenMeshTools.so
LIBS += \
-lglut -lGLU
to
LIBS += \
-lglut32 -lOpenMeshCored -lOpenMeshToolsd
Member 13927363
30-Aug-18 4:34am
View
the only problem here is the line QStringList line = QString::split( " ", ts.readLine().simplifyWhiteSpace() );, this syntax must help to get the 5 floating number to be store to line[] to be able to load a triangle, but I can't figure out how. by the way thank you so much for the effort.
Member 13927363
30-Aug-18 3:44am
View
if you mean the file content:
NUMPOLLIES 36
// Floor 1
-3.0 0.0 -3.0 0.0 6.0
-3.0 0.0 3.0 0.0 0.0
3.0 0.0 3.0 6.0 0.0
-3.0 0.0 -3.0 0.0 6.0
3.0 0.0 -3.0 6.0 6.0
3.0 0.0 3.0 6.0 0.0
// Ceiling 1
-3.0 1.0 -3.0 0.0 6.0
-3.0 1.0 3.0 0.0 0.0
3.0 1.0 3.0 6.0 0.0
-3.0 1.0 -3.0 0.0 6.0
3.0 1.0 -3.0 6.0 6.0
3.0 1.0 3.0 6.0 0.0
// A1
-2.0 1.0 -2.0 0.0 1.0
-2.0 0.0 -2.0 0.0 0.0
-0.5 0.0 -2.0 1.5 0.0
-2.0 1.0 -2.0 0.0 1.0
-0.5 1.0 -2.0 1.5 1.0
-0.5 0.0 -2.0 1.5 0.0
// A2
2.0 1.0 -2.0 2.0 1.0
2.0 0.0 -2.0 2.0 0.0
0.5 0.0 -2.0 0.5 0.0
2.0 1.0 -2.0 2.0 1.0
0.5 1.0 -2.0 0.5 1.0
0.5 0.0 -2.0 0.5 0.0
// B1
-2.0 1.0 2.0 2.0 1.0
-2.0 0.0 2.0 2.0 0.0
-0.5 0.0 2.0 0.5 0.0
-2.0 1.0 2.0 2.0 1.0
-0.5 1.0 2.0 0.5 1.0
-0.5 0.0 2.0 0.5 0.0
// B2
2.0 1.0 2.0 2.0 1.0
2.0 0.0 2.0 2.0 0.0
0.5 0.0 2.0 0.5 0.0
2.0 1.0 2.0 2.0 1.0
0.5 1.0 2.0 0.5 1.0
0.5 0.0 2.0 0.5 0.0
// C1
-2.0 1.0 -2.0 0.0 1.0
-2.0 0.0 -2.0 0.0 0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way - Lw
-3.0 1.0 0.5 1.0 1.0
-3.0 0.0 0.5 1.0 0.0
-2.0 0.0 0.5 0.0 0.0
-3.0 1.0 0.5 1.0 1.0
-2.0 1.0 0.5 0.0 1.0
-2.0 0.0 0.5 0.0 0.0
// Left hallway - Hi
-3.0 1.0 -0.5 1.0 1.0
-3.0 0.0 -0.5 1.0 0.0
-2.0 0.0 -0.5 0.0 0.0
-3.0 1.0 -0.5 1.0 1.0
-2.0 1.0 -0.5 0.0 1.0
-2.0 0.0 -0.5 0.0 0.0
// Right hallway - Lw
3.0 1.0 0.5 1.0 1.0
3.0 0.0 0.5 1.0 0.0
2.0 0.0 0.5 0.0 0.0
3.0 1.0 0.5 1.0 1.0
2.0 1.0 0.5 0.0 1.0
2.0 0.0 0.5 0.0 0.0
// Right hallway - Hi
3.0 1.0 -0.5 1.0 1.0
3.0 0.0 -0.5 1.0 0.0
2.0 0.0 -0.5 0.0 0.0
3.0 1.0 -0.5 1.0 1.0
2.0 1.0 -0.5 0.0 1.0
2.0 0.0 -0.5 0.0 0.0
Member 13927363
30-Aug-18 3:42am
View
Hi, I have updated the codes. Hope you can help me figure out what seemed the problem. Thank you.
Member 13927363
30-Aug-18 3:32am
View
what it outputs is the content of the file using the code you provided.
Member 13927363
30-Aug-18 3:14am
View
it read the line using the qDebug but still the line.count != 5, it should be == 5 to be able to load the file. I'm confused what seemed to be the problem.
Member 13927363
29-Aug-18 20:33pm
View
tried when line.count() != 5 and there the error exist, maybe this line QStringList line = ts.readLine().simplified().split(" "); doesn't work. Would you please help me convert this QStringList line = QString::split( " ", ts.readLine().simplifyWhiteSpace() ); to Qt5 compatibilty format?
Member 13927363
29-Aug-18 4:38am
View
this line gives error --- QMessageBox::information(this, QString("Error", "File %1 does not exist").arg(f.fileName())); --- so I changed to simple QMessageBox syntax, but none of the error exists but still no file was loaded.
Still can't figure out why the file cannot be loaded though I've changed its path.
Member 13927363
3-Aug-18 20:45pm
View
Hi, I have updated again the question. Regarding your question, I am really not sure what part fails, since it's working. The only problem is that the texture didn't loaded which if the image .bmp file.
While regarding the macro redefinition, I clicked the error and from this part '#define CALLBACK __stdcall' gives the warning with the file minwindef.h
Hope you can help. THANK YOU
Show More